|
|
|
|
|
|
|
![]() |
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
![]() |
#1 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
When you Add TGP Page, if you assign it a category, the name of that category will be inserted anytime it sees:
{$page_category.name|htmlspecialchars} I just tried it on the Porn Luv Amateur category page & it works. So this: <title>{$page_category.name|htmlspecialchars} Porn Luv</title> Becomes this: <title>Amateur Porn Luv</title> This: <meta name="description" content="Porn Luv provides you with daily NSFW {$page_category.name|htmlspecialchars} picture and movie galleries."> Becomes this: <meta name="description" content="Porn Luv provides you with daily NSFW Amateur picture and movie galleries."> ...and so on. I didn't try this: category={$page_category.name|htmlspecialchars} Because I actually knew that: category=MIXED Would be ok since I assigned the page a category & TGPX automatically changes it to that category. Of course, I just ![]() I'm too embarrassed to tell anyone how I realized my mistake. |
![]() |
![]() |
![]() |
#2 |
Asleep at the switch? I wasn't asleep, I was drunk
Join Date: Apr 2005
Posts: 214
|
Don't waste time being embarrassed dammit.
You got it figured out, so you learned something. +1 for Greenguy today, ya know? I have spent countless hours searching code for an issue only to find it being one misplaced parentheses or some other programming 101 error and I have been doing this shit for over 30 years. You have figured out a whole mess of stuff this week. Kudos to you ![]() |
![]() |
![]() |
![]() |
#3 | |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
|
|