PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   Remove file list? (http://www.photoplog.com/forum/showthread.php?t=691)

Arkidas 11-06-2006 08:36 PM

Remove file list?
 
How can I remove the file list from the category page?
How can I edit the last upload info so it displays a thumbnail of the last upload image?

Thanks.

Morgan 11-07-2006 03:40 AM

1) Remove the three tables from the photoplog_file_list template that appear after the following variable:
Code:

$photoplog_cat_list
2) Add the following to the photoplog_cat_bit template wherever you want the thumbnails to appear:
Code:

<img src="$photoplog_location/file.php?$session[sessionurl]n=$photoplog_catbit_fileid1&amp;w=s" alt="" border="0" />

Arkidas 11-07-2006 03:57 PM

Thank you. However I just want to remove the file list from the category overview page, not all pages :) Is that possible?

Morgan 11-07-2006 11:43 PM

LOL, oops, revert the photoplog_file_list template and surround the three tables referenced before with this:
Code:

<if condition="!$photoplog_cat_list">

        the three tables go in here

</if>


Arkidas 11-08-2006 10:01 PM

This did it. Thank you very much.

alfisti 03-15-2007 10:45 AM

I want to remove the file list in all the pages of the photoplog except the final sub-category. Is this possible? I failed to do that and I think that I dont understand the first message of Morgan here.

Morgan 03-16-2007 12:46 AM

Untested, but find the following in the photoplog_file_list template:
Code:

$photoplog_cat_list
And surround the three tables following that variable with this:
Code:

<if condition="in_array($photoplog_cat_id, array(1,2,3))">

        the three tables go in here

</if>

Where 1,2,3 are the catids for which you want the list to show.


All times are GMT. The time now is 01:37 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.