What are they for and how do they work?
What are they for and how do they work?
You may display random jokes, quotes or something like that on your site by setting up some in your admin panel and place the following in your templates files where you wanna show them
PHP Code:__daily_quotes__
It's just another one of those leftover ideas from a previous version I'd guess, but there must be a way to implement it as it's been left in the admin panel for the past few version updates. If not, maybe in the next clean version those things with no further use will be elliminated from the code.
If at first you don't succeed, go to a forum and ask like hell. (Using Joomla 1.5.18, JomSocial 1.6.12, Fully Customized)
I'd like to use the quote in an internal page but can't get it to work.
It seems that quotes only work on the index page.
Ideas anyone?
Last edited by Dun; 10-01-2007 at 08:11 AM.
Fix:
Add
andPHP Code:require_once( "{$dir['inc']}quotes.inc.php" );
to the php page you want then add __daily_quotes__ to the template page where you want the quotes to show.PHP Code:$_page_cont[$_ni]['daily_quotes'] = quote_get();
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks