 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
December 29th, 2005, 07:04 PM
|
#1 (permalink)
| | Member
Join Date: Aug 2003
Posts: 236
| showing banner for only categories
Is there some sorta if statement or anything i can add ? where i can show ads only on regular categories ? and not in member galleries ? or personal albums ?
|
| |
December 29th, 2005, 07:06 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Ads?
Did you mean to post in classifieds?
If your talking a photo block in Photopost the inc_features.php script does exactly this.
|
| |
December 29th, 2005, 07:17 PM
|
#3 (permalink)
| | Member
Join Date: Aug 2003
Posts: 236
|
i have banner ads that i only want to show in regular categories and not in member galleries.
|
| |
December 29th, 2005, 08:09 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Well maybe something like this using a custompal
if ( $cat != 500 ) {
echo<<<PPPRINT
SOME HTML CODE HERE
PPPRINT;
}
|
| |
December 29th, 2005, 09:43 PM
|
#5 (permalink)
| | Member
Join Date: Aug 2003
Posts: 236
|
can i put that only in the showphoto template ?
i tried putting it in and i got this error
Parse error: parse error, unexpected $ in /home/xxxp/public_html/gallery/templates/vb3enhanced/showphoto.tmpl on line 444
|
| |
December 30th, 2005, 07:24 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Take note whatever you place it you need to follow the exact way to do it. Nothing in what I have posted is going to cause a parse error so you probally tried to smack it in the middle of some html area without closing and opening the html with the echo statements.
|
| |
January 17th, 2006, 10:33 AM
|
#7 (permalink)
| | Member
Join Date: Aug 2003
Posts: 236
|
where would i put this code if i would like it right above the image ?
|
| |
January 17th, 2006, 12:42 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
showphoto.tmpl Code: Content visible to verified customers only.
Last edited by Chuck S; January 17th, 2006 at 03:56 PM.
|
| |
January 17th, 2006, 02:40 PM
|
#9 (permalink)
| | Member
Join Date: Aug 2003
Posts: 236
|
i am getting
Parse error: parse error, unexpected '/' in /home/wwxxxx/public_html/gallery/templates/vb3enhanced/showphoto.tmpl on line 88
|
| |
January 17th, 2006, 03:57 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
redo the edit look above minor change
|
| | |
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 08:40 PM. | |