VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Url Target "Open in This Window/Frame" not working
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Url Target "Open in This Window/Frame" not working

Url Target "Open in This Window/Frame" not working 13 Apr 2015 11:54 #6521

hi
In the Slideshow module command Url Target "Open in This Window / Frame" does not work. clicking on the word opens the linked page in a new page of brouser
I'd like to remain on the same page
Can you give me some help with this problem?
thanks a lot
This image is hidden for guests. Please log in or register to see it.

  • Posts:25
  • hanz
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: Url Target "Open in This Window/Frame" not working 14 Apr 2015 03:54 #6526

Can you please send me the FTP access, Super Admin login via Private Message System?

joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Url Target "Open in This Window/Frame" not working 16 Apr 2015 02:41 #6538

Go to modules/mod_jfslideshow/mod_jfslideshow.xml file, add field from slideoption_target1 to slideoption_target10 like this:

This image is hidden for guests. Please log in or register to see it.

Open modules/mod_jfslideshow/fields/slideoption.php file, modify:
 
$target1 = $moduleParams->get($name .'target'.$i, '_blank');
 

to
 
$target1 = $moduleParams->get($name .'_target'.$i, '_blank');
 

Make sure this file has code:
 
$targetOptions = array(
JHTML::_('select.option', '_blank', JText::_('Open in New Window') ),
JHTML::_('select.option', '_self', JText::_('Open in This Window/Frame') ),
JHTML::_('select.option', '_parent', JText::_('Open in Parent Window/Frame') ),
JHTML::_('select.option', '_top', JText::_('Open in Top Frame') )
);
 

 
<p class="subitem">
<label for="jformparams<?php echo $name;?>_target<?php echo $i;?>" class="jflabel hasTip" title="<?php echo 'Target browser window when the link is clicked';?>">
Url Target
</label>
<?php
echo JHTML::_('select.genericlist', $targetOptions, 'jform[params]['.$name.'_target'.$i.']', null, 'value', 'text', $target1);
?>
</p>
 

Open modules/mod_jfslideshow/tmpl/slideshow.php file, modify:
 
$target = $params->get($name .'target'.$i, '_blank');
 

to
 
$target = $params->get($name .'_target'.$i, '_blank');
 


joomfreak
Last Edit: 16 Apr 2015 02:49 by isupport.
The following user(s) said Thank You: hanz

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Url Target "Open in This Window/Frame" not working 16 Apr 2015 09:23 #6543

Fantastic
works well
Thank you so much for your patience and professionalism

  • Posts:25
  • hanz
  • Junior Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.97 seconds
Thursday 25 April 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.