From: John C. <joh...@ua...> - 2005-01-20 16:54:48
|
Reini, I think this is an easy one :-) I looked into adding this myself, but couldn't figure out how $limit works deep down. Anyway, I'd like the listsubpages plugin to have a maximum depth argument, to prevent all of the subpages from being listed. For example, some of my pages that I convert into DocBook format are listed like this: Help/appname/chapter00/part01 Help/appname/chapert01/part01 Help/appname/chapter01/part02 Help/appname2/chapter00/part01 Etc... I'd like to put a listsubpages plugin on the 'Help' page just to list the apps that have help so the list would be Appname Appname2 Looking at some other plugins it seems that IncludeSiteMap plugin uses 'reclimit' to do this and it appears that the functions being called by ListSubPages has a $limit argument, I just couldn't get it to work like I expected :-) Thanks, John ------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. |