Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Open Link In New Window?

closed
UserPost

8:27 pm
May 19, 2010


JamieD

Guest

1

Post edited 3:55 am – May 20, 2010 by JamieD


WP 2.9.2 – When linking an image to an external URL is it possible to make it open in a new window?  I have tried putting html like this for example: <a href="http//www.myexternallink.com" target=_blank"</a> in the External Link field, but it won't save this info.

 

Also, in the Slide Pane Description does anyone know how to put the copyright symbol?

 

Thanks!

7:54 am
May 20, 2010


Ade

Admin

posts 2384

2

Jamie,

No, it's not possible to enter xhtml like that in the External link field. However, I think this would be a nice feature to add to the next version.

For the copyright symbol, use &copy; in your description.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

4:42 pm
May 20, 2010


JamieD

Guest

3

Thanks Ade,

 

U Da Man!

 

Jamie

12:23 am
May 21, 2010


Ade

Admin

posts 2384

4

Cool! Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

4:58 pm
June 1, 2010


-JFK-

Guest

5

JamieD said:

WP 2.9.2 – When linking an image to an external URL is it possible to make it open in a new window?  I have tried putting html like this for example: <a href="http//www.myexternallink.com" target=_blank"</a> in the External Link field, but it won't save this info.

 

Also, in the Slide Pane Description does anyone know how to put the copyright symbol?

 

Thanks!


 

Hello.

I too would like to have a new window open everytime a visitor clicks on my Dynamic Content Gallery.

Someone must have figured out how to hack the code to perform this action?

I have tried several times and come up empty handed. I was able to get the code to generate:

target="_blank" in the code… but I feel there is some MooTools or JS that is attaching itself to the onclick action of the Gallery… thus directing browsers location.

Perhaps change something in:

dfcg-gallery-constructors-jq.php

or

dfcg-gallery-constructors.php

 

If I could determine what JS is directing the visitors click to the setup URL… I could then edit code to open in new window. This is the only thing preventing me from being able to use this WordPress Plugin. Frown

 

Thank you,

-=JFK=-

 

Any help/suggestions????

5:10 pm
June 1, 2010


Ade

Admin

posts 2384

6

Hi,

If you come up with a javascript fix for this, let me know. As you've discovered, the javascript strips out any attributes contained in the <a> tag, so hacking dfcg-gallery-constructors.php has no effect.

So, for the moment – unless someone drops by with a solution – the answer is that it can't be done.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?