Store Community Support Documentation
Sorry for the dumb question folks, my head is fried today.

How do I reference a module in php? I would rather include this in a php block file rather than editing template files.

{module name='modulename'}

I have done this in the past but the solution totally eludes me today lol

Thanks
Be the first person to like this.
Donna(data66)
#1
{module name='event.featured'} as one example :)
Be the first person to like this.
#2
Nope that doesn't work.
Be the first person to like this.
Donna(data66)
#3
That is how I get my modules for my copied blocks such as making the featured events in another block.
Last update on February 24, 9:23 pm by Donna(data66).
Be the first person to like this.
#4
maybe it's just centellas mod then.
Be the first person to like this.
Donna(data66)
#5
{module name='centellarss.index'} as an example from his rss instructions. maybe this will help?
Last update on February 24, 9:27 pm by Donna(data66).
Be the first person to like this.
#6
Tried it the only way it shows if its included directly in template file.
Be the first person to like this.