Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

SIG Pro and Joomla blog layout with fulltext

  • morhinio
  • morhinio's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #49313 by morhinio
Hello,

I use Joomla 2.5.6 and SIG Pro 2.5.7. I want to use the SIG in a blog layout (fulltext).

I have changed the blog_item.php after this instruction:
kiteplans.info/2012/04/18/how-to-joomla-1-7-2-5-full-text-in-category-blog-layout-template-override/

My Problem:
If I insert the gallery in the intotext - it works. But if I insert in the fulltext then I get only {gallery}...{/gallery}.

Has anyone a solution or a tipp for this problem?

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

More
12 years 6 months ago #49314 by Katia
A link to your gallery page would be helpful.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 5 months ago #49315 by kiteplans
Replied by kiteplans on topic Re: SIG Pro and Joomla blog layout with fulltext
Hi Morhinio,

I am really glad you found my Blog and that it helped you with getting the Full text to display in Joomla`s Blog View.

I am not 100% why the gallery would not load but it could potentially be because your are now calling the Fulltext via a custom PHP call statement as per my instructions - you might need to also call the Gallery in a new statement.

Perhaps the developers of the Gallery plugin could shed some more light.

Regards,
David

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

  • morhinio
  • morhinio's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #49316 by morhinio
I cannot provide a link. It is a local installation.

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

  • morhinio
  • morhinio's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #49317 by morhinio
If I use the standard blog layout with the read more link, the gallery works in the fullttext.
But if I use the override from kiteplans, the gallery doesn't work.

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

  • morhinio
  • morhinio's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #49318 by morhinio
If I add the following code to the override from kiteplans - it works.

$itemID =  $this->item->id;
$db =& JFactory::getDBO();
$query = "SELECT `fulltext` FROM `#__content` WHERE `id` = $itemID;";
$db->setQuery($query);
$fulltext = $db->loadResult();
$fulltext = JHtml::_('content.prepare', $fulltext, '', 'com_content.category');

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


Powered by Kunena Forum