Quote:
Originally Posted by neilwin
OK, when I hover the mouse over a photo I can see the URL for the next photo as shown above. I can understand that I need to add the extra information for the category.
But WHERE do I make the changes so that the category is included in the URL? Do I have to edit one of the files and if so which one?
|
in image_template.html replace as follows:
original: <a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
replace: <a href="index.php?showimage=<SC_IMAGE_PREVIOUS_ID>&a mp;category=<SC_CAT_ID>">
original: <IMAGE_THUMBNAIL_ROW>
replace: <SC_THUMB_ROW>
original: <IMAGE_PREVIOUS_LINK>
replace: <SC_IMAGE_PREVIOUS_LINK_TXT>
original: <IMAGE_NEXT_LINK>
replace: <SC_IMAGE_NEXT_LINK_TXT>
original: <a href="<SITE_BROWSELINK>">Browse Archive</a>
replace: <a href="<SITE_BROWSELINK>&category=<SC_CAT_ID>" title="Browse <SC_CAT_NAME>">Browse Archive</a>
<SC_BROWSE_CATEGORY> gives you a select menu with all categories which leads to the current image of chosen category.
in browse_template.html replace as follows:
original: <THUMBNAILS>
replace: <SC_THUMBNAILS>
if you want page navigation in archive page (= browse template), use <SC_THUMBNAILS_NAV>
Quote:
|
And how do I get it to show all photos if I am not bothered about the category?
|
if category in URL is empty, all images should be shown
KArin