![]() |
|
#1
|
|||
|
|||
|
In the adv templates, using this line <if condition="$mods['identifier'] == 'news'"> I cannot use the same code to pickup different modules, just the news module..I would love to be able to say if the module is Custom Page Content then do something IE <if condition="$mods['identifier'] == 'Custom Page Content'">
I have tried all variations of Custom Page Content but it just wont pick it up. Does anyone have any suggestions? |
|
#2
|
||||
|
||||
|
'custompage' is the indentifier for the custom page content module.
|
|
#3
|
|||
|
|||
|
ahh man thank you so much!!!!!
that little word right there has solved so many issues for me..i'm so glad you understood what I was asking.. nice one |
|
#4
|
|||
|
|||
|
can i ask one more thing?
when i create a new module, how can i find it's identifier in $mods['identifier'] i would think if i create a module "adverts" then its identifier should be "adverts" but this is not the case.. many thanks
|
|
#5
|
|||
|
|||
|
i have spent more time on this and have found that the $mods[modid] uniquely idenitfies each module..
You can find out the module id as simply as placing $mods[modid] at the top of the adv_portal_module_shell template. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Page Content Module Issue | eljeffe | Troubleshooting & Problems | 2 | 08-22-2005 01:09 PM |
| Custom Page Content Module | CareCureJeff | "How Do I..." Questions | 9 | 06-09-2005 03:34 PM |
| Custom Content Page Module? | apokalupsis | Troubleshooting / "How do I..." Questions | 6 | 01-31-2005 11:39 AM |
| Edit Module - Custom Page Content | TORON | Troubleshooting / "How do I..." Questions | 6 | 10-29-2004 10:26 PM |
| custom page content module | tpr | Troubleshooting / "How do I..." Questions | 8 | 06-21-2004 06:14 AM |