Hello,
Do anyone knows how to put latest pictures of phpbb gallery to the index of the board?
I tried to do it, but can't....
in the threat on phpbb*com someone said that:
Yes, you would need to change the event name memberlist_view_content_append.html for one event at index or just create a copy of that event and rename the copy to an index event. And it will show at the index.
but i don't really know what to put on...
help needed
-
- mChat developer
- Posts: 1115
- Joined: 06 Oct 2016, 09:56
- Location: Germany
Re: help needed
Hi tryo,
locate the file
locate the file
memberlist_view_content_append.html
in the phpBB Gallery extension folder, make a copy of it in the same folder and rename it to index_body_birthday_block_before.html
(index_body_birthday_block_before
is the event name in this example). Now refresh your board cache. You should see the changes on your board index. If you want it in a different location, see here for a list of possible event names. Pick one that starts with index_body_
: https://wiki.phpbb.com/Event_List#index ... ock_before-
- Posts: 8
- Joined: 02 Apr 2019, 14:00
Re: help needed
thanks, i tried this, but still not working.
I tried to rename it too : index_body_block_stats_append.html
but not working...
cleaned my cache on forum, on firefox too.
any idea?
thx
I tried to rename it too : index_body_block_stats_append.html
but not working...
cleaned my cache on forum, on firefox too.
any idea?
thx
-
- mChat developer
- Posts: 1115
- Joined: 06 Oct 2016, 09:56
- Location: Germany
Re: help needed
If it still doesn't display anything, the extension doesn't execute its code in a PHP event that's triggered when accessing the index page. You will need to ask the author how to make it run on the index page.
The process of displaying data basically has two parts: gathering the data you want to display (PHP code) and rendering it (Twig, HTML code). You've done the second part, but the first part is missing, so there's no data to display in the first place.
The process of displaying data basically has two parts: gathering the data you want to display (PHP code) and rendering it (Twig, HTML code). You've done the second part, but the first part is missing, so there's no data to display in the first place.
-
- Posts: 8
- Joined: 02 Apr 2019, 14:00
Re: help needed
the link for the extension is: https://www.phpbb.com/customise/db/exte ... b_gallery/
the author seems to not support there.
thx for your help
the author seems to not support there.
thx for your help
Who is online
Users browsing this forum: CCBot [Bot] and 8 guests