SIG in article with formatting from template.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Sep 28, 2013 8:02 am
Reply with quote
Report this post
Can I make a (other as K2) image gallery (SIG 3.0.1) in body of article, but with the same formatting as K2 image gallery from template?

in item.php is:
Code: Select all
<div class="itemImageGallery" id="itemImageGalleryAnchor">
<h3><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h3>
<?php echo $this->item->gallery; ?>
</div>


Can I use un text of article:

<div class="itemImageGallery" id="itemImageGalleryAnchor">
but what is here?
</div>

http://www.lomyatezba.cz/2013/2013-2/it ... enna-halit
User avatar
Junior Boarder

teitbite
Sat Sep 28, 2013 6:21 pm
Reply with quote
Report this post
Hi

I'm not sure if this will work, but lets try it. How are You adding this gallery. With {} ?? If yes than You need to put layer:

Code: Select all
<div class="itemImageGallery" id="itemImageGalleryAnchor">
</div>


in editor while in HTML mode. If it's applied as a plugin than in /html/com_k2/default/item.php You will find many loads for plugins. Example:

Code: Select all
<?php echo $this->item->event->K2AfterDisplayContent; ?>


find out which one is dysplaying Your plugin and put layer around it.
User avatar
Moderator

GK User
Sun Sep 29, 2013 9:12 am
Reply with quote
Report this post
In HTML code:

1) with {}

Code: Select all
<div id="itemImageGalleryAnchor" class="itemImageGallery">
{gallery}cislo/2013-2/obrazky/sul/velicka{/gallery}
</div>


2) without {}

Code: Select all
<div id="itemImageGalleryAnchor" class="itemImageGallery">
cislo/2013-2/obrazky/sul/velicka
</div>


:( Without effect...
http://www.lomyatezba.cz/2013/2013-2/it ... enna-halit
User avatar
Junior Boarder

teitbite
Tue Oct 01, 2013 1:14 pm
Reply with quote
Report this post
Hi

That's what I was afraid of. Our template doesn't have a style for SIG, so it's using a plugin default look. You will need to create one since html construction is a lot different here. I'm afraid we do not support such customisations :(
User avatar
Moderator


cron