 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
January 21st, 2010, 09:04 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
| Make photo open in new window?
Hello,
Would it be in showgallery.php or showgallery.tmpl where I could put "target=_blank" so images open in a new window? What am I looking for exactly?
|
| |
January 21st, 2010, 09:07 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
the image links would be defined in showgallery.php |
| |
January 21st, 2010, 09:16 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
|
I think I found it on line 714: Code: Content visible to verified customers only.
However if I add the bold I get a syntax error. Whats wrong? Code: Content visible to verified customers only.
|
| |
January 21st, 2010, 09:27 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
That is because your working with php not html
target=\"_blank\"
|
| |
January 21st, 2010, 09:43 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
|
Can't seem to get it to work: Code: Content visible to verified customers only.
|
| |
January 21st, 2010, 10:12 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
that should work fine provided thats exactly what your doing
|
| |
January 24th, 2010, 05:35 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
| Quote:
Originally Posted by Chuck S that should work fine provided thats exactly what your doing | Its exactly what I'm doing but the images don't open in a new window.
|
| |
January 24th, 2010, 08:01 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
because your not opening an image thats a script |
| |
January 24th, 2010, 09:40 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
| Quote:
Originally Posted by Chuck S because your not opening an image thats a script  | I'm sorry I'm not understanding your replies. I was under the impression you gave me the code to add that would make the image open in a new window. Is this not the case?
|
| |
January 25th, 2010, 06:46 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
I never gave you anything really just instructed you on how it would be where you where doing it. You asked where the image links where defined and I told you.
target="_blank" is an HTML IMG TAG element. Therefore its not going to open some new window.
The only way to open a whole new script page from the one your on is to use javascript window.open element I would think.
|
| |
January 25th, 2010, 03:27 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
|
Hi Chuck,
Do you know what the line should look like with the correct code? I'm not familiar.
|
| |
January 25th, 2010, 03:50 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Feel free to discuss mod modifications in the mod corner but sorry I dont participate in such things as product support takes all my time
This is not something I am going to be able to tell you how to do in a minute Using the window.open method |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:38 PM. | |