J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 1:08 pm

SOLVED - Tabs and Slides with JEvents Description

JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

SOLVED - Tabs and Slides with JEvents Description

Postby markmess » Wed Feb 08, 2012 5:22 pm

I've been trying to find an answer in the forums, and I'm afraid I can't find one.

We've installed a content plugin for Tabs, but it is not working inside of the JEvents descriptions.

Can you tell me how I can make these plugins work inside of JEvents?

The plugin does use the "onPrepareContent"...

Any help would be greatly appreciated.

JEvents is just displaying the tabs like this:

Code: Select all
{ tabs type=tabs }
{ tab title=Tab 1 Title }Tab 1 Content{ /tab}
{ tab title=Tab 2 Title }Tab 3 Content{ /tab}
{ /tabs }
markmess
Gold Members
Posts: 5
Joined: Thu May 27, 2010 3:03 am

Re: Tabs and Slides with JEvents Description

Postby Tonyp » Wed Feb 08, 2012 5:57 pm

Hello,

It sounds like it might not be loading at the correct stage? can you make sure the plugin loads before JEvents.

Failing that.. you might want to contact the developer to make sure it also works inside other components, i.e. JEvents.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Tabs and Slides with JEvents Description

Postby markmess » Wed Feb 08, 2012 6:04 pm

How would I test to see if it's loading at the correct stage?

If the plugin runs in com_content, can we easily adapt it to run in JEvents?

Thanks again
markmess
Gold Members
Posts: 5
Joined: Thu May 27, 2010 3:03 am

Re: Tabs and Slides with JEvents Description

Postby Tonyp » Wed Feb 08, 2012 6:17 pm

Hello,

You would go into the plugin and make it the first selection.

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
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Tabs and Slides with JEvents Description

Postby markmess » Wed Feb 08, 2012 7:31 pm

Thanks again, Tony, but it is already the first plugin (but it's a content plugin).

How can I make this plugin run when JEvents displays event descriptions?

Or do I need to massively edit the code to create a JEvents plugin?

Thanks for your patience.
markmess
Gold Members
Posts: 5
Joined: Thu May 27, 2010 3:03 am

Re: Tabs and Slides with JEvents Description

Postby carcam » Thu Feb 09, 2012 7:03 am

Not sure if this works in Joomla! 2.5 but in Joomla! 1.5 you should create a template overrides of the detail_body.php (or detail_body16.php) file in the icalevent folder and use something like this:

Replacing:
Code: Select all
<td colspan="4"><?php echo $row->content(); ?></td>


with (Not sure if content.prepare is the correct name in Joomla! 2.5):
Code: Select all
<?php
$text= JHTML::_('content.prepare',$row->content());
?>
<td colspan="4"><?php echo $text; ?></td>


Not sure if it will work but I think this is the way of having it
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba

Re: Tabs and Slides with JEvents Description

Postby markmess » Thu Feb 09, 2012 4:15 pm

Thank you, this worked perfectly.

I appreciate it.

We are using Joomla 1.5.25 and JEvents 1.5.4.
markmess
Gold Members
Posts: 5
Joined: Thu May 27, 2010 3:03 am


Return to JEvents 1.5 (No longer actively supported)

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there are 2 users online :: 2 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], Yahoo [Bot]

Login Form