getk2 / k2

K2 - the powerful content extension for Joomla
https://getk2.org
GNU General Public License v3.0
135 stars 96 forks source link

Load IntroText (trough SP PageBuilder) in the Category listing view #476

Closed solracsf closed 5 years ago

solracsf commented 5 years ago

I'm using SP PageBuilder to build some contents into K2.

In the item view, a simple line <?php echo $this->item->introtext; ?> loads the PageBuilder content, but in the category (listing) view, i just can't load any content from PageBuilder and only <?php echo $this->item->title; ?> is triggered and <?php echo $this->item->introtext; ?> is ignored.

Is this a correct behavior? Or is there another way to load SP PageBuilder contents in the category view?

fevangelou commented 5 years ago

Make sure plugins are enabled in the category display settings for item listings, assuming SP PageBuilder is attempting to load something via plugins.

BTW, for similar questions in the future, please post in our forum at: https://www.joomlaworks.net/forum

solracsf commented 5 years ago

Yes, K2 plugins are enabled in both Item and Category view, perhaps it only loads content on the Item view. So if i understand well, this might be a plugin issue, not K2, right?

Noted your "BTW".

fevangelou commented 5 years ago

That is correct. Keep in mind that even on the itemlist view we trigger plugins, so if everything is on (on your configuration) then it's possible the SP PageBuilder plugin is triggered only on the item view. In any case, ask the extension's developers.

solracsf commented 5 years ago

Ok thanks.