Content plugins in categories (solution found!!!)

More
15 years 11 months ago #3895 by maia
Ok. Thanks !

This code is based on joomla 1.5.15 . Never dealt with SVN but I believe this sections of joomla aren't updated that much. Therefore, working with the latest stable version might suffice.

Cheers,
Maia

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #3897 by bsky92
Thanks a lot for your contribution, I think this will help a lot of people :)

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #3901 by orchid1
Sorry I meant the flexicontent SVN

PS yes thank you this will help people out Im sure

“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.” William A. Foster - USMC

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #3944 by maia
Hi there,

I've been testing this stuff and I came to the conclusion you don't need the "foreach" piece of codding. In fact the extra piece sometimes result in a blank page.

This is the final code to be inserted:
Code:
$category =& $this->get('Category'); $dispatcher =& JDispatcher::getInstance(); JPluginHelper::importPlugin('content'); $category->text = $category->description; $results = $dispatcher->trigger('onPrepareContent',array (& $category, & $category->params, 0)); $category->description = $category->text;

I've also edited the first post reflecting the final code.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #3945 by maia

orchid1 wrote: Sorry I meant the flexicontent SVN

PS yes thank you this will help people out Im sure


Nope. If it's the one on forge i have no permissions. Access denied ...

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #3964 by kenmcd

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #7340 by davidbart76
would this work to get the plugins to work for the items on the category view page.

I have a content plugin i need to get working for the item->introtext

Please Log in or Create an account to join the conversation.

More
15 years 3 months ago #11283 by abrahamsonido
Maia Works!! Thanks a lot!! You are a Genius!! :shock:

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #15288 by swimminginthoughts
Looks like this got broke with the most recent update. Anyone else see theirs broke as well?

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #15294 by micker
can you post this on bug tracker quickly for new version
(with good description)
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save