Announcement

Collapse
No announcement yet.

Search console strange results?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Taking your idea a little further Lee: Standard Promotional List Entry Edited:

    Click image for larger version  Name:	SPLEeditedDirecti.jpg Views:	0 Size:	70.5 KB ID:	557524

    Code:
    <!-- ItemType == 0 == Product -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%3d%3d%200" >
    <div class="slide-entry">
    <a href="<actinic:variable name="DirectLink" />"><img src="<actinic:variable name="ItemImage" selectable="false" />" title="<actinic:variable name="CarouselCaption" />"/></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22CarouselCaption%22%20%2f%3e%20%21%3d%20%22%22" >
    <div class="carousel-caption">
    <h3><actinic:variable name="CarouselCaption" /></h3>
    </div>
    </actinic:block>
    </div>
    </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%21%3d%202%20AND%20%0d%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%21%3d%200" >
    <div class="slide-entry">
    <a href="<actinic:variable name="ItemLink" selectable="false" />"><img src="<actinic:variable name="ItemImage" selectable="false" />" title="<actinic:variable name="CarouselCaption" />"/></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22CarouselCaption%22%20%2f%3e%20%21%3d%20%22%22" >
    <div class="carousel-caption">
    <h3><actinic:variable name="CarouselCaption" /></h3>
    </div>
    </actinic:block>
    </div>
    </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%3d%3d%202" >
    <div class="slide-entry">
    <a href="<actinic:variable name="ItemLink" selectable="false" />"><img src="<actinic:variable name="ItemImage" selectable="false" />"/></a>
    </div>
    </actinic:block>
    Attached Files
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #47
      graphicz - Nice one!
      Many Thanks
      Lee
      www.mdnsupplies.co.uk
      www.hookandloopfasteners.co.uk

      Comment


        #48
        I am trying to do the direct hard links that Lee has posted in post #28, but am unable to get it to work.

        I note there is mention in the code of a variable DirectLink, but no mention of setting this up in the post.

        Without a DirectLink variable setup I get errors on upload. If I setup a DirectLink variable (not know what parameters to use) Uploads fine, but all links just link to the current page.

        Can anyone advise on what I need to do, presumably with the DirectLink variable.
        Regards

        Jason

        Titan Jewellery (Swift Design)
        Zirconium Rings
        Damascus Steel Rings

        Comment


          #49
          The DirectLink is a layout not a variable, create a new layout called DirectLink and populate with:

          Code:
          <actinic:variable name="CatalogURL" /><actinic:block php="true">
          $dpecmajor = <actinic:variable name="ECMajorVersion" selectable="false" />;
          $dpispreview = <actinic:variable name="IsPreviewMode" selectable="false" />;
          include_once "getsectionfilename.php";
          echo GetProdPageName("<actinic:variable name="ProductID" selectable="false" />");
          </actinic:block>#/<actinic:variable Name="EncodedProductAnchor" />
          Click image for larger version  Name:	Untitled-1.jpg Views:	0 Size:	98.7 KB ID:	557614

          OR*

          Rather than setting up the layout for DirectLink, just use the bare code in the href, so:

          Code:
          <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
          Would look like:

          Code:
          <a href="<actinic:variable name="CatalogURL" /><actinic:block php="true">
          $dpecmajor = <actinic:variable name="ECMajorVersion" selectable="false" />;
          $dpispreview = <actinic:variable name="IsPreviewMode" selectable="false" />;
          include_once "getsectionfilename.php";
          echo GetProdPageName("<actinic:variable name="ProductID" selectable="false" />");
          </actinic:block>#/<actinic:variable Name="EncodedProductAnchor" />">
          So, in a best seller layout, you would go from this:

          Click image for larger version

Name:	before-code.jpg
Views:	14
Size:	143.5 KB
ID:	557615

          To this:

          Click image for larger version

Name:	after-code.jpg
Views:	14
Size:	174.9 KB
ID:	557616
          Many Thanks
          Lee
          www.mdnsupplies.co.uk
          www.hookandloopfasteners.co.uk

          Comment


            #50
            Many thanks Lee, all sorted.

            Silly mistake forgetting the selector and assuming it was a variable.
            Regards

            Jason

            Titan Jewellery (Swift Design)
            Zirconium Rings
            Damascus Steel Rings

            Comment


              #51
              Buzby Perfect! no problem, glad your sorted.
              Many Thanks
              Lee
              www.mdnsupplies.co.uk
              www.hookandloopfasteners.co.uk

              Comment

              Working...
              X