Widget: Recent topics of a specific sub-forum
2 posters
Page 1 of 1
Widget: Recent topics of a specific sub-forum
Widget: Recent topics of a specific sub-forum |
This tutorial will allow you to create a widget that will display recent topics of a specific sub-forum. Here is an example that will be more meaningful I want to make a widget which displays all of the recent topics in my sub forum "The health of your cat" 1 - Create a Widget and add the following content Administration Panel > Modules > Portal & Widgets > Forum widgets management > Create a widget
Example : Save your widget and put it in your column. 2 - Create a new Javascript and add the following code depending on the version of your forum Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management > create a new script PhpBB2 :
PhpBB3 :
PunnBB & Invision :
Example : Remember to place your Javascript "in all the pages". It will also be good to check that the areas highlighted in the example correspond to your forum. "newsreal1" must appear in your widget. Replace "f1-the-health-of-your-cat" with what is in the url of your sub forum. If you wish to change the amount of recent topics that display, just change the 11 in your Javascript. When finished save your Javascript. 3 - Add the following CSS code which corresponds to the version of your forum Administration panel > Display > Pictures and colors > Colors > CSS stylesheet PhpBB2 :
PhpBB3 :
PunBB & Invision :
Example : Then just save your CSS and you're done ! |
This tutorial is based on the one by Dana Domirani and Zen. It has been translated to English by Ange Tuteur. No possible reproduction without our agreement, pursuant to article L122-1 of the intellectual property code. |
TonnyKamper likes this post
Re: Widget: Recent topics of a specific sub-forum
This code was updated to fit in with the new HTTPS address
updated 11.02.2020 by skouliki
updated 11.02.2020 by skouliki
TonnyKamper likes this post
Similar topics
» More instances ->> Widget: Recent topics of a specific sub-forum
» Recent Topics Widget of specific forum with local storage management
» Recent Topics of a specific forum
» Latest Topics minus a specific sub-forum
» "Recent topics of a specific sub-forum" issue.
» Recent Topics Widget of specific forum with local storage management
» Recent Topics of a specific forum
» Latest Topics minus a specific sub-forum
» "Recent topics of a specific sub-forum" issue.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum