Site Menu
 PHP Scripts
 Smartphone
 Miscellaneous














 
 FAQ

Question:
Does your script have an archiving feature / I've downloaded your script and can't find the archive feature does it have one, or are you a big liar?

Answer:
Yes it does, simply use index.php?action=news_archive and you can view all the news ever posted!


Question:
The Date and Time Settings I want aren't allowed in the System Setup - how do I add a new one?

Answer:
To add a new date or time format, you'll first need to know the PHP standard date & time formatting options, there is a list of them all on the php site (http://web.archive.org/web/20060209000307/http://www.php.net/manual/en/function.date.php).

What you then need to do, is open /admin/setup.php and goto the $date_formats array (line 437) or $time_formats (line 490). And add a new format on the end in a similar style, be sure to put a , on the end of each line (apart from the last).

An Example, if I wanted to add a new date format to match this "03 Nov, 03" the format would be d M, y so therefore i would add 'd M, y'
below, making sure to add a , on the previous element

.....
'n/j/Y',
'Y-m-d', ## Note the added ,
'd M, y'
 

And thats it!! - Easy!



Got a Question you really want answered? Email it to help@p3mbo.com.



Rate This Page

Rating: 4 (7 Vote(s))


 

[ Home | Top ]