![]() |
Adding Articles to a Widget
I would like to create a widget as a navigation menu on my page but cannot find info on the php required to add desired articles to a widget. If someone could point me in the right direction it would be much appreciated.
Cheers. |
If you just want to list some articles, then just make an html widget and list the that way:
<a href="content.php?r=xxx">Article 1</a> <a href="content.php?r=yyy">Article 2</a> <a href="content.php?r=zzz">Article 3</a> |
Quote:
Thanks again. |
A PHP widget could be written if you need to query the database for what articles to show, but if you know what articles you want to show, why waste resources doing a query? Just write it out as html instead! :)
|
All times are GMT. The time now is 04:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|