Mini Calendar Embed Code 
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Mini Calendar Embed Code
by webmediafx » Tue Dec 11, 2012 3:23 pm
Creating a component and want to embed the mini-calendar in my php code? Anyone know the code for this?
- webmediafx
- Posts: 3
- Joined: Tue Dec 11, 2012 3:12 pm
Re: Mini Calendar Embed Code
by Tonyp » Tue Dec 11, 2012 4:43 pm
Hello,
Just use the built in Joomla! mechanism to load a custom module position.
Then place the module in your custom module position.
Regards
Tony
Just use the built in Joomla! mechanism to load a custom module position.
Then place the module in your custom module position.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8715
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Mini Calendar Embed Code 
by webmediafx » Tue Dec 11, 2012 5:04 pm
Got it. Thanks.
- Code: Select all
$modName = 'mod_jevents_cal';
$modTitle = 'JEvents Calendar';
$mod = JModuleHelper::getModule($modName, $modTitle);
$content = JModuleHelper::renderModule($mod);
echo $content;
- webmediafx
- Posts: 3
- Joined: Tue Dec 11, 2012 3:12 pm
4 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Google [Bot]

