Shape 5

Joomla Templates => Hexicon Gamer - Club => : 0mni November 06, 2011, 05:03:20 PM



: mod_s5_image_and_content_fader
: 0mni November 06, 2011, 05:03:20 PM
I am trying to have the ability to make some links open up in a new window instead of the existing window.  I modified the default.php under the tmpl folder in the mod directory.

From:
:
				<div class="imageElement" style="z-index:0;">
<h3><?php echo $title1 ?></h3>
<p style="text-shadow:1px 1px #000000;"><?php echo $picture1text_s5_iacf?></p>
<a href="<?php if ($picture1link_s5_iacf != "") {echo $picture1link_s5_iacf;} else { echo "javascript:;";}?>" title="open image" class="open"></a>
<img src="<?php echo $picture1_s5_iacf ?>" alt="<?php echo $title1 ?>" class="full" />
<img src="<?php echo $picture1_s5_iacf ?>" alt="<?php echo $title1 ?>" class="thumbnail" />

</div>
To:
:
				<div class="imageElement" style="z-index:0;">
<h3><?php echo $title1 ?></h3>
<p style="text-shadow:1px 1px #000000;"><?php echo $picture1text_s5_iacf?></p>
<a href="<?php if ($picture1link_s5_iacf != "") {echo $picture1link_s5_iacf;} else { echo "javascript:;";}?>" target="_blank" title="open image" class="open"></a>
<img src="<?php echo $picture1_s5_iacf ?>" alt="<?php echo $title1 ?>" class="full" />
<img src="<?php echo $picture1_s5_iacf ?>" alt="<?php echo $title1 ?>" class="thumbnail" />

</div>

But that didn't work.


: Re: mod_s5_image_and_content_fader
: mikek November 07, 2011, 09:40:16 AM
Hello,

I am sorry the module does not support this feature and would require a lot of custom programming to do so.