Hey there,
New to Joomla (just a few days), but so far I've been having a blast customizing it. Coming from a few other CMS' before, I was excited to see all the cool options Joomla has to offer.
After tinkering for a bit, I ran across my first question that I'd imagine there's a "best" or proper way to accomplish.
My goal is to add a module into a particular com_content's default.php override file on this custom template I'm working on. I recognize that the templates->my_custom_template->index.php makes use of JDOC's to call down and display modules and whatnot, but when I attempt to use a JDOC in my_custom_template->html->com_contact->contact->default.php (for example), it doesn't display.
I suspect this has to do with the way JDOC's are parsed and cached. So my question is:
is there a more efficient or proper way to load a module on any of the html overrides?A simple example:
Say I made a custom menu module containing a handful of external links and I *only* want it to display on the com_contact->contact->default.php page under the address, etc, but above the form. I also plan on using this module/menu of links on other pages down the road (hence the reason I made it a reusable module).
Now in the templates->my_custom_template->index.php file, I realize I could quite simply call it by doing the following:
Code:
<jdoc:include type="modules" name="contactsmenu" />
Is there a trick to getting jdoc's to work in the html default.php overrides, or is there another way to do this?
Appreciate the help, I feel Joomla has so much to offer, and tricks like this could come in handy!