Jump to content

sethhoffman

Circle Member
  • Posts

    54
  • Joined

  • Last visited

Posts posted by sethhoffman

  1. Hi @creedon,

    Thanks for sending me this link. Unfortunately I spent a couple hours yesterday trying to adjust your code to hide the "Orders" section or even just the text because it is confusing to our site visitors because they place "orders" using a Jotform and it doesn't update the account dashboard. I am very new with Jquery and I'm sure I'm doing it wrong, but What I added above your accountFrameCallback comment is the following:
      
      <x-twc-capc-style style="display : none;">
      
        [optional, enter css here replacing square brackets]
        
        </x-twc-capc-style>
        
      <script>
      
        if ( window.twc == undefined ) window.twc = { };
        
        twc.capc = {
        
          title : '[Welcome to the fette]',
          
          /*
          
            accountFrameCallback is a custom function ...

    Can you help me at all or is this beyond the scope of a forum?

    Thanks,
    Seth

  2. Hey there,

    I'm working on a website for a new company that offers used vehicle inspections. They want people to be able to purchase their inspection, and then have access to a "dashboard" of sorts where the company can upload a pdf of their inspection notes. Ideal if it could also show where they are in the inspection process, ie: Request Received, Inspection Scheduled, Inspection Completed.

    It doesn't seem like the Members area of Squarespace enables you to have direct communication with members (like upload a PDF that is only available for a specific user account). But please correct me if I'm wrong! If you know of another solution that would work with this, let me know.

    Thanks in advance!
    Seth

  3. So I've done some more looking and there appears to be a folder I can't find...I found the attached code in the header injection on the shop page, called "collections". Shop in the navigation is actually just a link menu item.

    it's called /archhhive and it seems to have directories for each product. I have a feeling this is what I need. If I don't see it as a folder within squarespace, and it's not in the developer directory, where else could this be? Thanks for any help!

    Screen Shot 2021-05-13 at 9.27.41 AM.png

  4. Site URL: https://www.shhhowercap.com/shop/the-fetti

    Hey there,

    I've been developing with 7.1 for a while now and a client has just asked me to edit their 7.0 site, which was built in developer mode.

    I have SFTPd and cloned the site but have searched all the files and can't find any of the content I'm looking to change.

    Can someone help me identify where the "Proudly Made in the USA" section of content would be found?

    Thanks in advance

    Seth

    Screen Shot 2021-05-12 at 6.43.41 PM.png

  5. On 4/5/2021 at 1:38 PM, creedon said:

    This solution requires the business plan or above.

    Add the following to Settings > Advanced > Code Injection > HEADER.

    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

    Add the following to Blog Settings > Advanced > Page Header Code Injection for the blog page.

    
    <script>
    
      $( ( ) => {
      
        /*
        
          change blog listing item image URL to Source URL
          
          SS Version : 7.0
          
          Templates  : Brine ( Aria, Blend, Cacao, Clay, Fairfield, Feed, Foster,
                       Greenwich, Hatch, Heights, Hunter, Hyde, Impact, Jaunt, Juke,
                       Keene, Kin, Lincoln, Maple, Margot, Marta, Mentor, Mercer,
                       Miller, Mojave, Moksha, Motto, Nueva, Pedro, Pursuit, Rally,
                       Rover, Royce, Sofia, Sonora, Stella, Thorne, Vow, Wav, West )
                       
          */
          
        let targetAtttributeValue = ''; /* use _self | _blank | _parent | _top |
                                           framename see
                                           < https://mzl.la/2Q0JROF > */
        
        // do not change anything below, there be the borg here
        
        if ( ! $( '.BlogList' ).length ) return; // bail if not blog listing page
        
        $( '.BlogList-item-title' )
        
          .filter ( function ( ) {
          
            return $( this ).attr ( 'target' ) !== undefined;
            
            } )
            
          .each ( function ( ) {
          
            const $this = $( this );
            
            const url = $this.attr ( 'href' );
            
            let $imageLink = $this
            
              .prev ( '.BlogList-item-image' )
              
              .find ( '.BlogList-item-image-link' )
              
                .attr ( 'href', url );
                
            if ( ! targetAtttributeValue ) {
            
              const v = $this.attr ( 'target' );
              
              if ( v !== undefined ) targetAtttributeValue = v;
              
              }
              
            if ( targetAtttributeValue )
            
              $imageLink.attr ( 'target', targetAtttributeValue );
              
            } );
            
        } );
        
      </script>

    This is for v7.0 using the Brine template family.

    Let us know how it goes.

    Hey @creedon - Thanks for all this guidance. How would you accomplish this in 7.1 instead of 7.0? Thanks in advance for your help! 🙂

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.