View Full Version : Getting Pixelpost to return an image's category
mberkow
12-07-2008, 06:52 PM
Is it possible to have a heading when I am on the browse screen showing which category is currently being browsed.
Thanks
jaywilliams
12-08-2008, 04:52 AM
Yes the tag you want is: <CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE>
You could wrap that inside a a header tag if you wish.
mberkow
12-08-2008, 03:00 PM
This seems like the right tag, but I can't seem to get it to work correctly. When I use the code listed below, all I get is the TEST word, not the category. This is on a browse page.
Any suggestions would be appreciated.
Thanks
MB
<body>
<div class="title"><CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE>TEST</div>
jaywilliams
12-08-2008, 03:11 PM
Do you have the paged archive addon enabled?
mberkow
12-08-2008, 06:29 PM
I didn't have it activated. Now that it is active, the heading works but when I view an image page, my server returns an error message.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by pixelpost_pixelpost.datetime desc limit 0,1' at line 1
I'm betting that I have something wrong with my image template, but am not sure where to begin to troubleshoot this.
Thanks
MB
willfoster
12-20-2008, 07:54 AM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by pixelpost_pixelpost.datetime desc limit 0,1' at line 1
I had an addon named: Advanced Next (advanced_next - version 1.0)
Once i turned that off, i stopped getting the error message.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.