Re: 155f - Show Categories on Main Page issue - Breaks Page
Quote:
Originally Posted by
mc12345678
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
Re: 155f - Show Categories on Main Page issue - Breaks Page
Quote:
Originally Posted by
shags38
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
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
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
Re: 155f - Show Categories on Main Page issue - Breaks Page
Quote:
Originally Posted by
Design75
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 :lookaroun
cheers,
Mike
Re: 155f - Show Categories on Main Page issue - Breaks Page
Quote:
Originally Posted by
Design75
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 :lookaroun
cheers,
Mike
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
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