We would like to be able to shuffle through the news articles, so we would have it show 3/5 news items at one time. When the page is refreshed it would randomly display another 3 articles, etc.
How could that be accomplished using the php array randomize function?
http://www.php.net/manual/en ...
Search found 4 matches
- Wed Jan 11, 2012 11:37 pm
- Forum: General discussions
- Topic: Shuffle through news articles
- Replies: 1
- Views: 2219
- Mon Dec 05, 2011 7:55 pm
- Forum: General discussions
- Topic: adding php rss reader?
- Replies: 5
- Views: 7439
Re: adding php rss reader?
I was able to figure it out. Here is what I did:
I copied the php library file phplib.rss to /inc/libs
Added this to index.php:
require_once("inc/libs/rsslib.php"); $url = PATH TO RSS FEED"; $rssfeed = RSS_Links($url, 3, false, true);
Then add the variable to the $main_template_vars array, like ...
I copied the php library file phplib.rss to /inc/libs
Added this to index.php:
require_once("inc/libs/rsslib.php"); $url = PATH TO RSS FEED"; $rssfeed = RSS_Links($url, 3, false, true);
Then add the variable to the $main_template_vars array, like ...
- Tue Nov 01, 2011 3:00 pm
- Forum: General discussions
- Topic: adding php rss reader?
- Replies: 5
- Views: 7439
adding php rss reader?
I know this seems odd, but I generated a php script which works as an rss reader. I want to place the last 3 items from the rss feed above the top articles, and then change the number of top articles from ten to five to make space.
It would seem that for obvious security reasons, I cannot just ...
It would seem that for obvious security reasons, I cannot just ...
- Wed Jun 15, 2011 6:12 pm
- Forum: General discussions
- Topic: Newbie Questions - comments/faq feedback/RSS feeds/exporting
- Replies: 1
- Views: 2617
Newbie Questions - comments/faq feedback/RSS feeds/exporting
I'm sorry to put all this items under the same posting. We are new to phpMyFAQ and are testing out the product to be used as a HelpDesk Knowledgebase.
A few items have come up in our usage testing.
1) Is there a mechanism that would allow an unauthenticated user to submit a broken link report or ...
A few items have come up in our usage testing.
1) Is there a mechanism that would allow an unauthenticated user to submit a broken link report or ...