You need to escape the quotes in stmintz comment. For the mod to be complete I also made several changes to my index.php, in order to display the correct thumbnails (only those in the category), and add the &category= to the elements of the thumbnail.
This is a good idea of a mod but only including the addon file is not enough.
can somebody told me, why it doesn't work by me. i make the changes from "sitarah" and "stmintz". thanks
This is the modification I made to append the category id to the thumbnail links:
in functions_browse.php
replace:
$thumb_output .= "<a href="$showprefix$id"><img src="$thumbnail" alt="$title" title="$title" width="$local_width" height="$local_height" class="thumbnails" /></a>";
with:
if (isset($pp_cat) && !empty($pp_cat)) {
$thumb_output .= "<a href="$showprefix$id&category=$pp_cat"><img src="$thumbnail" alt="$title" title="$title" width="$local_width" height="$local_height" class="thumbnails" /></a>";
} else {
$thumb_output .= "<a href="$showprefix$id"><img src="$thumbnail" alt="$title" title="$title" width="$local_width" height="$local_height" class="thumbnails" /></a>";
}
Can someone expand on sitarah's comment about needing further modifications? I'd really like to get this add-on working, but I'm new to the coding and need specifics on the category= in the url. Thanks!
Can somebody give me some more details about where exactly the 4 tags are supposed to be placed within the image_template.html; where exactly within the page, what should I be looking for when placing the tags?
Thanks a lot,
I have been looking for something like that for quite a while. It would be really great to make it work.
Hi,
Disclaimer: I'm not the author. I fixed the error (or at least, what was causing my error, which may be the same as yours). If you all want to try fixing it yourself, you'll have to do this:
for BOTH occurences. (You will do two replaces.) 3. Save the file.
That said, note the description says you need to already be doing something like image&category=3 in the url. Your thumbnails in "browse", even when browsing by category, do not have category=, so you'll need further modifications to make that possible.
I have the same Problem as "keepcoding", otherwise it would be a great plugin...
Hello, I'm sorry but it gives me back the same SQL error. It's a pity and I hope someone will fix it 'cause this add-on would be simply GREAT!
Would be great if it'd work. There's an error in the script: "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"