Menu and News heirarchies
Posted: Mon May 08, 2006 6:11 pm
Both the menu and news modules internally maintain heirarchies. From what I could work out this information isn't available to the template, is there a reason for that?
I would like access to that information for styling purposes.
- All news articles that belong to a category that is a member of a particular category have a similar style.
- Similarly the main content pages have a title that is retrieved from the page's parent menu item.
I have knocked together a parent plugin and hacked the news module to provide the parent category.
Is there are better way to get this information?
I presume the parent plugin will withstand CMS MS upgrades, but I guess the changes to the news module will need to be redone. Its only something like 3 lines in one file and 2 in another.
- Is it worth me submitting the changes for possible inclusion in CMS MS?
- Is there a recommended method for making code changes to CMS MS that is easy to redo after upgrading? I am not particularly familiar with SVN although I have used other version control software.
I would like access to that information for styling purposes.
- All news articles that belong to a category that is a member of a particular category have a similar style.
- Similarly the main content pages have a title that is retrieved from the page's parent menu item.
I have knocked together a parent plugin and hacked the news module to provide the parent category.
Is there are better way to get this information?
I presume the parent plugin will withstand CMS MS upgrades, but I guess the changes to the news module will need to be redone. Its only something like 3 lines in one file and 2 in another.
- Is it worth me submitting the changes for possible inclusion in CMS MS?
- Is there a recommended method for making code changes to CMS MS that is easy to redo after upgrading? I am not particularly familiar with SVN although I have used other version control software.