Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-14-2005, 09:34 AM   #1
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Autogallery template question, php

The <?echo $category;?> is working everywhere in the template except for here. Is there another way to write it in autogallery?

<%GALLERIES
TYPE Thumb
CATEGORY <?echo $category;?>
AMOUNT 30
SORT Display_Date DESC, Display_Stamp DESC
HTML Thumb

INSERT
{
LOCATION +6
HTML </tr><tr>
}
%>
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 11:49 AM   #2
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
bumpity bump
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 12:19 PM   #3
Gothbox
Confirmed User
 
Join Date: May 2003
Posts: 140
you don't need to put $echo category there. you put the name of the category you want displayed there. example: if you have a category named milf and that is what you wanted displayed then you would put milf there instead of $echo category. All that variable does is tell the script which category to pull galleries from and display it.

Hope that helps

Last edited by Gothbox; 08-14-2005 at 12:21 PM..
Gothbox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 12:33 PM   #4
Gothbox
Confirmed User
 
Join Date: May 2003
Posts: 140
If you are looking to display the category name alongside the gallery link or thumbnail you will need to add ##Category## in the link template that you set above your html code. Using ##Category## on any part of your template should make the current category name be displayed after being built, except in the directive like you have above.
Gothbox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 12:34 PM   #5
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Thanks Gothbox but I have over 50 categories and am trying to make things easier to mass edit so each category template has to be identical.
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 12:49 PM   #6
Gothbox
Confirmed User
 
Join Date: May 2003
Posts: 140
I see what you are saying, however there probably is not going to be an easier way. Just use the same template for all of your categories and go in and change the name of the category on the directive to suit your needs. It is only 50 categories, it would probably take about 3 minutes to type the different categories into each template. You could also use search and replace and would not have to type out each one.

Good luck
Gothbox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2005, 12:54 PM   #7
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
I see what your saying but I set the template up in a way that all of them are identical except for this little part. It displays the correct title, correct archive links, meta tags, etc. I guess I could manually edit them as a temporary solution but if anyone knows how to add the php tag, that would make things easier.
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.