Featured Content Gallery | WordPress Plugin | iePlexus

Make FCG items pop up in "_parent" or "_blank" window

General WordPress and FCG plugin discussion

Make FCG items pop up in "_parent" or "_blank" window

PostBy jason10000 on Sun Sep 04, 2011 2:21 am

Can anyone suggest a way around this? I've tried adding this manually to gallery.php with no luck.

Thanks
jason10000
 
Posts: 9
Joined: Sun Aug 15, 2010 12:09 pm

Re: Make FCG items pop up in "_parent" or "_blank" window

Thank you for using the Featured Content Gallery Forum
 

Re: Make FCG items pop up in "_parent" or "_blank" window

PostBy admin on Tue Sep 06, 2011 8:55 am

open file scripts/d.gallery.js.php
and find this piece of code
Code: Select all
this.currentLink = new Element('a').addClass('open').setProperties({
            href: '#',
            title: ''
         }).injectInside(element);


change it to this
Code: Select all
this.currentLink = new Element('a').addClass('open').setProperties({
            href: '#',
            title: '',
            target: '_blank'
         }).injectInside(element);
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron