Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Posts
    43
    Plugin Contributions
    0

    Default Template Monster Problem

    OK - It seems I have been a bit of a dummy and have purchased a template from Template monster.

    We had a great guy take an existing shop and update it to the latest Zencart - and apply our purchased template from Template monster.

    All seems to work - EXCEPT for the Search feature.

    I have tried to make an account on Templatemonsters website to raise a support ticket - but the validation email has yet to arrive - been 30 minutes now.

    A test installation of this site can be found here http://www.potentzen.com/duckw

    I am not sure if any of you have used this template - it all seems to be sweet except for the search not working.

    What could be wrong??

    Cheers for now

    Livesol

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Template Monster Problem

    The search is buggy with their templates. Look in your includes/templates/custom/common/tpl_header.php file.

    You should see something like
    Code:
    echo zen_draw_form('quick_find', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false)  ....<snipped>
    Try to paste a copy of that part of the code here. Look for the <?php before it, and the closing tag ?> (try to keep it so that you have the complete slice of the code)

    Don't past the entire file contents.

  3. #3
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Template Monster Problem

    livesol,

    Try replacing the following line:
    Code:
    echo zen_draw_form('quick_find', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get').zen_draw_hidden_field('main_page',FILENAME_ ADVANCED_SEARCH_RESULT);
    with:
    Code:
    echo zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT) . zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
    This will also allow for searching in descriptions which was omitted in TM's code.

  4. #4
    Join Date
    May 2006
    Posts
    43
    Plugin Contributions
    0

    Default Re: Template Monster Problem

    Thank you very much lib99

    Worked a treat :)

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Template Monster Problem

    Unfortunately, it does not work the way it should.

    I have determined where the problem is though, through testing the Search function. The following is edited for brevity.

    Original Template
    index.php?main_page=advanced_search_result&keyword=word&x=0&y=0

    Testing Template
    index.php/main_page/advanced_search_result?main_page=advanced_search_result&search_in_description=1&keyword=word&x=0&y=0

    You can see that for some reason, the second example has extra coding. From where I'm not sure yet but once I track it down and eliminate it, the Search function should then work correctly.

    BTW, the Testing Template is using the code change suggested above, by lib99.

  6. #6
    Join Date
    May 2006
    Posts
    43
    Plugin Contributions
    0

    Default Re: Template Monster Problem

    Found it...

    The old installation had the SEFU mod installed.

    http://breakmyzencart.com/sefu

    I disabled this in the admin area and it all works now...

    so far :)

  7. #7
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Template Monster Problem

    Was a 2 part issue. The search code from TM had some issues, which seems to be the same used in most of their ZC templates. Then the SEFU didn't play nice.

    Glad it's all sorted out for you now. Good luck!!

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Template Monster Problem

    Yeah, it was the SEFU that was causing the problem. All is well once again.

    Although disabling it within the Admin section was the easy fix, it brings to mind about using Mods that don't allow for uninstalling. Something I'll have to remember when considering using a Mod in the future.

 

 

Similar Threads

  1. theme277 from template monster and replacing with new template
    By DarkAngel in forum General Questions
    Replies: 0
    Last Post: 8 Nov 2012, 07:17 AM
  2. Flash problem in Template Monster
    By rutra in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Sep 2010, 07:22 PM
  3. Template Monster Template Installation Problem
    By Fredrick in forum Addon Templates
    Replies: 21
    Last Post: 23 Sep 2009, 08:15 AM
  4. open_basedir restriction in effect - trying to use tm001 template monster template
    By prantiC in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Aug 2007, 10:02 AM
  5. Template Monster Problem with Middle Column
    By ctrujillo in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Jun 2007, 04:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR