Jevents 2.x (Free Access)

Mini Calendar Embed Code  Topic is solved

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby 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

Postby webmediafx » Tue Dec 11, 2012 3:25 pm

jOOMLA 2.5.8
jEvents 2.2.8
webmediafx
 
Posts: 3
Joined: Tue Dec 11, 2012 3:12 pm

Postby 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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23749
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby 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


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Bing [Bot]