Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    Quote Originally Posted by mc12345678 View Post
    While I didn't go through and "count" each line some of the code is familiar and has been updated in the 1.5.6 distribution as well as published but not released 1.5.5
    For example, would suggest changing or adding to the following
    Code:
        function buildBranch($parent_id, $level = 0, $submenu=true, $parent_link='')
        {
    To be like:
    Code:
        function buildBranch($parent_id, $level = 0, $submenu=true, $parent_link='')
        {
       $level = (int)$level;
    And for the second file changing $list_box_contents from being defined as a string to a proper array by changing:
    Code:
    $list_box_contents = '';
    to:
    Code:
    $list_box_contents = array();
    THANKS very much MC - that did the trick - I'm grateful.

    I now need to find out how to move the categories to the very top of the page before anything controlled by includes/languages/english/html_includes/westminster_new/define_main_page.php ....

    any ideas on that?

    I have a few general layout questions (whitespace issues) which I will post in the Westminster forum.

    Again thank you so much for your help.

    cheers,
    Mike

  2. #12
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    Quote Originally Posted by shags38 View Post
    I now need to find out how to move the categories to the very top of the page before anything controlled by includes/languages/english/html_includes/westminster_new/define_main_page.php ....
    I figured that one out ..... Q - is it possible to modify which categories show, i.e. can you select which specific categories to show on the main page? .. if so what file would I need to modify?

    Again thank you so much for your help.

    cheers,
    Mike

  3. #13
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    I think you can start looking here: includes\modules\pages\index\main_template_vars.php
    Quote Originally Posted by shags38 View Post
    I figured that one out ..... Q - is it possible to modify which categories show, i.e. can you select which specific categories to show on the main page? .. if so what file would I need to modify?

    Again thank you so much for your help.

    cheers,
    Mike

  4. #14
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    Quote Originally Posted by Design75 View Post
    I think you can start looking here: includes\modules\pages\index\main_template_vars.php
    Hi Design75 - many thanks for the tip ... unfortunately it appears a little too complicated for me ... I think I may need to be guided as to which of the sections needs to be modified and how it needs to be modified

    cheers,
    Mike

  5. #15
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    Quote Originally Posted by Design75 View Post
    I think you can start looking here: includes\modules\pages\index\main_template_vars.php
    Hi Design75 - many thanks for the tip ... unfortunately it appears a little too complicated for me ... I think I may need to be guided as to which of the sections needs to be modified and how it needs to be modified

    cheers,
    Mike

  6. #16
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    without 'double posting' I think I will start a new thread asking for help with the modifying of categories to show on main page.

    I appreciate you have other queries to attend to mc12345678 and I do very much appreciate your suggestion Design75 however I find it far too daunting to tackle so I need someone with the time to set me on the right path with some example code that I can then develop.

    thanks again
    cheers,
    Mike

  7. #17
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: 155f - Show Categories on Main Page issue - Breaks Page

    without 'double posting' I think I will start a new thread asking for help with the specific subject of modifying of categories to show on main page - it is somewhat off topic to this thread even if associated.

    I appreciate you have other queries to attend to mc12345678 and I do very much appreciate your suggestion Design75 however I find it far too daunting to tackle so I need someone with the time to set me on the right path with some example code that I can then develop.

    thanks again
    cheers,
    Mike

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 show sub categories in categories menu on main page
    By shags38 in forum General Questions
    Replies: 2
    Last Post: 17 May 2017, 06:12 AM
  2. categories wont show on main page
    By samanthar in forum General Questions
    Replies: 5
    Last Post: 8 Feb 2010, 10:41 PM
  3. Show sub categories for one main category on main page
    By relspeedwagon in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Oct 2008, 11:29 PM
  4. Select categories to show on main page?
    By thesuper in forum Customization from the Admin
    Replies: 0
    Last Post: 5 Feb 2008, 09:18 PM
  5. Hyperlink to Show categories in main page
    By mycomputerbuddy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Nov 2007, 09:45 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