Announcement

Collapse
No announcement yet.

Linking Search Results to Extended Info Pages

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

    Linking Search Results to Extended Info Pages

    I'm wanting to link search results to extended info pages which are my product detail pages.

    In the Actinic Knowledge database I found this:
    The following relies on Actinic generating the extended info page names (ie info_productreference.html) and also will not work with customer accounts as it no longer uses the search script to determine if a customer is logged in or not:

    •go to the 'Design' menu and select 'Library'
    •on the 'Layouts' tab, expand the 'Search Results' group (click the '+')
    •double-click on the 'Standard Search Results' layout to edit it
    •look for the 'SearchResultLink' variable (around line 9 on a default layout)
    •replace that variable with:

    <a href="<actinic:variable name="CatalogURL" />info_<Actinic:S_REFNUM/>.html">


    •click 'Apply'.
    You also need to make a script change:

    •browse to your site folder and locate the 'SearchScript.pl' file (take a backup)
    •open the file in a text editor such as notepad
    •search for:

    $ACTINIC::B2B->SetXML('ImageLine', $sImage);


    •directly below this line add:

    $ACTINIC::B2B->SetXML('S_REFNUM', $$rarrResults[$nCount]);


    •save and close

    My problem is that I have renamed all my extended info pages to more SEO friendly and meaningful page names. So I dont need the _<Actinic:S_REFNUM/>. refnum to appear in my links

    Although I can change the info_ to whatever I want, I'm not sure how I can make the link take the entire extended info page name.

    As currently Actinic is doing this:

    http://www.luminoxuk.com/luminox-wat...-1!LU1544.html

    When I want it to use the full extended page name,such as

    http://www.luminoxuk.com/luminox-wat...ch-LU7055.html

    Is there anyway I can make it reference the value of ExtendedInfoPageEncoded variable?

    I'm speaking to Actinic technical support directly, but just wondered if anyone had experienced a similiar issue to me? and maybe found a work around. I know the easy option would be to revert back to Actinic named extended info pages, but the site has been indexed by Google with good rankings

    Any ideas?

    #2
    hi

    did you ever get a solution to this? it's exactly what i'm trying to do (with the same setup for extended info pages for seo etc).

    many thanks

    jc

    Comment


      #3
      I've got several different ways of doing this. The best one writes a helper file containing a list of product ID's and their Extended Info page names. A tiny bit of JavaScript then diverts the search result links to the Extended Info page if it exists.

      There are limitations. It's not suitable for Business sites that use customer logins. Helper file might become big if thousands of products. Can't use highlighted results.

      This isn't a trivial tweak so it's not free. Contact me for details.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        norman,

        many thanks for your response. i will get back to you if the client decides it's an absolute must

        jc

        Comment

        Working...
        X