Jump to content

Stupid question


guywalder

Recommended Posts

Hi guys,

 

I know my question is stupid and I know the answer is even stupider but my lack of knowledge in PHP got me to a dead end.

I've got a Joomla site with a slider module which I need to modify. As for now, the main slider shows tabs to the left and main image+text to the right. The only way to get to the article itself is by clicking the text title at the bottom of the image which is small and stupid. I would like to add an href to the activated item to link to the article page. The h3 title in the tab is linked to the proper image so I can't do nothing with that. 

 

To simplify things, I wish the first click to show the image and the text and a second click on the active tab will link to the article page.

 

This is my site's URL: http://gmys.guywalderonline.com/

This is the left side tab code:

<?php foreach($slides as $item) { ?><li class="nav_item" style="<?php echo $css_item_heigth; ?>"> 
<div class="nav_slideitem_wrap"> 
<div class="nav_slideitem">
  <?php if($item->thumbs !=''){ ?>       
 <img border="0" alt="thumbnail" src ="<?php echo JURI::base().$item->thumbs; ?>" />
  <?php } ?>
  <?php if($params->get('lago_enable_link_artslidebar')) { ?>
  <a class="slidetitle" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a>  
  <?php } else { ?>
<h3 class="slidetitle" href="<?php echo $item->link;?>"><?php echo $item->title; ?></h3>
  <?php } ?>   


  <p class="slidedes"><?php echo $item->introtext; ?></p> 


</div>
</div>
</li>   
<?php } ?>
Will appreciate any help here.
 
Thanks in advance,
 
Guy. 
Edited by Zane
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.