FAP CUSTOMIZATION - Highest Pics »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Highest Pics



alexio [ Tue 27 Mar, 2007 22:41 ]
Post subject: FAP CUSTOMIZATION - Highest Pics
Hi,
I am trying to show the highest picture block in the album_cat.php page.

I saw that the page use:
include($phpbb_root_path . 'common.' . $phpEx);
it is needed for calling album_hierarchy_sql.php where it defines function album_build_highest_rated_pics($cats)

then I added to album_cat.php
// Highest Rated Pics
album_build_highest_rated_pics($allowed_cat);

where it calls the other kind of blocks.

Finally, I added the html code
<!-- BEGIN highest_pics_block -->
...
<!-- END highest_pics_block -->

copied from album_index_body.tpl to album_cat_body.tpl

Inspite of my modification I cannot see the block populated but just the block title.
It looks like the result was empty.

How can I do?

Thanks in advance,
Alessio.


Artie [ Tue 27 Mar, 2007 23:48 ]
Post subject: Re: Highest Pics
What you have done looks correct, but I think you will not see the block populated if there are no pics rated for the category you are viewing.


alexio [ Wed 28 Mar, 2007 15:14 ]
Post subject: Re: Highest Pics
ok,
it works!

maybe I forgot some files to upload...


Artie [ Sun 01 Apr, 2007 23:11 ]
Post subject: Re: Highest Pics
Could be. That often happens to me
Great you have it working now.




Powered by Icy Phoenix