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.