Announcement

Collapse
No announcement yet.

Formatting search related pages

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

    Formatting search related pages

    Advice regarding formatting the following search related matters would be gratefully received...

    1) When a search fails, the message "No matching products were found" is displayed. I can see where to edit the message however it is not so clear where to format the style of the message - any ideas?

    2) On the search.html page I need to format the layout by applying 'class=""actxxsmall'' tags to the various page elements. I have done this successfully for everything except NETQUOTEVAR:PRICERANGECONTROL and NETQUOTEVAR:SECTIONCONTROL - looking at the Advanced Users Guide it suggests these are NOT templated. What can I do to format these?

    3) I wish to edit ACT_RESULTSTEMPLATE.HTML to display the product image instead of the product thumbnail. I can see in this template the placeholder for NETQUOTEVAR:THUMBNAIL - what do I need to replace this with to display the product image instead?

    Thanks
    Ed

    #2
    1) When a search fails, the message "No matching products were found" is displayed. I can see where to edit the message however it is not so clear where to format the style of the message - any ideas?
    You can enter your own HTML tags directly into the fields in 'Design | Text'. Otherwise the formatting of that message comes from 'Design | Text' Phase: -1 ID: 1962 before it and ID: 1970 after it.
    2) On the search.html page I need to format the layout by applying 'class=""actxxsmall'' tags to the various page elements. I have done this successfully for everything except NETQUOTEVAR:PRICERANGECONTROL and NETQUOTEVAR:SECTIONCONTROL - looking at the Advanced Users Guide it suggests these are NOT templated. What can I do to format these?
    These are all in 'Design | Text'. Check out p122 of the latest v7 Advanced User Guide.
    3) I wish to edit ACT_RESULTSTEMPLATE.HTML to display the product image instead of the product thumbnail. I can see in this template the placeholder for NETQUOTEVAR:THUMBNAIL - what do I need to replace this with to display the product image instead?
    If you don't use a thumbnail image field for a product, Actinic will automatically use the main product image.

    Comment


      #3
      Hi Chris

      Your answers to questions 1 + 2 are spot on thanks.

      Regarding 3 - I'd like to use thumbnails in the cart therefore I need to define a thumbnail. Therefore leaving the thumbnail field blank is not an option for me.

      Any other ideas?

      Ed

      Comment


        #4
        I'm afraid the Actinic solution for the search image is only ever the thumbnail (when specified).

        Norman Rouxel has a patch for displaying the basic product image in the search results.

        http://www.drillpine.biz/actinicstuff/index.html

        Comment


          #5
          Lost thumbnails

          Hi there,

          I've got a related but slightly different problem. I decided to omit images from search results at an early stage in the development of a site, but I have since changed my plan and I now want to use thumbnails.

          Having added in paths to the thumbnail images in Actinic 7, I found that thumbnails were still not appearing in the search results. I'm wondering if I might have deleted some vital code from Act_ResultsTemplate.html. All I've got currently is:

          <Actinic:XMLTEMPLATE NAME="ImageLine">
          <IMG SRC="NETQUOTEVAR:THUMBNAIL" NETQUOTEVAR:THUMBNAILSIZE>
          </Actinic:XMLTEMPLATE>

          Maybe there is something essential missing from page header to make this work? Currently it does nothing. Can anyone assist?

          Jon

          Comment


            #6
            Can I see a URL which demonstrates the problem?

            As a suggestion, back up your current Act_ResultsTemplate.html and then copy in a new one from 'Formats\Themes\BusinessCSS'. Do the images appear? If not, check your settings in 'View | Search Settings | Results'.

            Comment


              #7
              Thanks, Chris

              I had already tried going back to a generic version of the file and ruled that out before posting yesterday. But you were spot on with your second (and seemingly obvious) suggestion - I had switched images off in the search results settings! D'oh!
              Jon

              Comment

              Working...
              X