Accessing variables from within modules
Posted: Fri Mar 12, 2010 11:42 pm
Hello everyone.
I have three modules News, CGBlog, and CGCalendar that my client users to post News, Events and Blog items.
The client does not want the side bar titles News, Blog, or Events to appear if there are none.
The below link explains how to user a User Defined Tag for News, but $itemcount seems to be used for multiple mods, so I am not sure how to get it.
Is there not a way i can access the object of a module directly and the array?
http://wiki.cmsmadesimple.org/index.php ... fined_Tags
I have three modules News, CGBlog, and CGCalendar that my client users to post News, Events and Blog items.
The client does not want the side bar titles News, Blog, or Events to appear if there are none.
The below link explains how to user a User Defined Tag for News, but $itemcount seems to be used for multiple mods, so I am not sure how to get it.
Is there not a way i can access the object of a module directly and the array?
http://wiki.cmsmadesimple.org/index.php ... fined_Tags