Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 43
  1. #11
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: Model List support

    The other plugin was Corner Site Seal. Sorry about crossposting, but I thought it might be relevant.

  2. #12
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: Model List support

    I'm betting a lot of those errors are caused by the corner seal - the model_list errors start at line 178.

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,092
    Plugin Contributions
    25

    Default Re: Model List support

    The Model List errors are all caused by a snippet of link code I copied without examining deeply. It needs to have its ampersands escaped.
    In /includes/modules/your_template/model_list.php, replace lines 36 and 47:
    PHP Code:
      $content .= '<h3><a href="index.php?main_page=advanced_search_result&search_in_description=1&keyword=' $mfrs_name '" title="' MODEL_LIST_ALT_LINK $mfrs_name '">' /*$mfrs_name*/ title_image_exists($mfrs_name'model_list_mfr' $model_list[$mfr_key]['mfrs_id']) . '</a>' MODEL_LIST_MFR_COMMENT '</h3>' "\n";
    //should be
      
    $content .= '<h3><a href="index.php?main_page=advanced_search_result&amp;search_in_description=1&amp;keyword=' $mfrs_name '" title="' MODEL_LIST_ALT_LINK $mfrs_name '">' /*$mfrs_name*/ title_image_exists($mfrs_name'model_list_mfr' $model_list[$mfr_key]['mfrs_id']) . '</a>' MODEL_LIST_MFR_COMMENT '</h3>' "\n";

          
    $content .= '  <li><a href="index.php?main_page=advanced_search_result&search_in_description=1&keyword=' $current_model '" title="' MODEL_LIST_ALT_LINK $current_model '">' $current_model '</a></li>' "\n";
    //should be
          
    $content .= '  <li><a href="index.php?main_page=advanced_search_result&amp;search_in_description=1&amp;keyword=' $current_model '" title="' MODEL_LIST_ALT_LINK $current_model '">' $current_model '</a></li>' "\n"

  4. #14
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: Model List support

    here's the repaired and modified for sidebox code, with a sidebox built in
    Attached Files Attached Files
    Last edited by thedjphat; 24 Dec 2010 at 05:08 AM.

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,092
    Plugin Contributions
    25

    Default Re: Model List support

    Since I didn't mention it before, Model List is available in Free Addons.
    I will update it with the validation fix, and will consider including a readymade sidebox option.

  6. #16
    Join Date
    Jun 2011
    Location
    Bournemouth UK
    Posts
    42
    Plugin Contributions
    0

    Default Re: Model List support

    Quote Originally Posted by thedjphat View Post
    here's the repaired and modified for sidebox code, with a sidebox built in
    Hi,
    Your site & sidebox looks a lot better than mine.
    Can you tell me what you edited in css etc etc? or can I be cheeky and ask for a copy of your files?

    Thanks
    Mike

  7. #17
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: Model List support

    sure, here ya go.
    Attached Files Attached Files

  8. #18
    Join Date
    Jun 2011
    Location
    Bournemouth UK
    Posts
    42
    Plugin Contributions
    0

    Default Re: Model List support

    Quote Originally Posted by thedjphat View Post
    sure, here ya go.
    You are now officially a legend sir!
    Thanks , saved me soooo much time!

  9. #19
    Join Date
    Jun 2009
    Posts
    618
    Plugin Contributions
    0

    Default Re: Model List support

    I'm a bit confused, does this mod display only in a sidebox or can it be displayed in the center column as well?
    Thank you,
    autoace

  10. #20
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,092
    Plugin Contributions
    25

    Default Re: Model List support

    The official version in Free Addons defaults to displaying the model list in the center column of Define Page 4 (for demo purposes), but you can display it anywhere by putting the "include" statement described in the readme into the appropriate file. The zip attached above in posts 14 and 17 also has files to make a model list sidebox.

 

 
Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. Model List
    By barry g in forum General Questions
    Replies: 2
    Last Post: 10 Apr 2009, 01:38 AM
  2. Model number list in cart?
    By ryanb4614 in forum General Questions
    Replies: 3
    Last Post: 29 Jan 2009, 12:17 AM
  3. Model in search filter list
    By jenzi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Dec 2008, 06:30 AM
  4. Replies: 6
    Last Post: 23 Sep 2008, 06:07 AM
  5. Suppressing duplicate model numbers in the product list?
    By lismith in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 8 Aug 2007, 04:46 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
  •