Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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.
 



 
alexioSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Highest Pics 
 
ok,
it works!
 
maybe I forgot some files to upload...
 
 



 
alexioSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Highest Pics 
 
Could be. That often happens to me  
Great you have it working now.
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron