Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: php troubles
by CS_Swan on 2009/9/25 12:55:14

Thank you again Ghia ,
Re: php troubles
by ghia on 2009/9/25 7:43:52

See Smarty manual at the Smarty site.
For finding the correct available names look in the PHP code or the list in debug Smarty.
For having more data available in the template, it has to be added to the photo array by the PHP code.
Re: php troubles
by CS_Swan on 2009/9/25 2:08:44

Thank you Ghia, I have two more questions in regards to this problem .. first where do I find a list of the available codes ??
second , I would also like to place the username associated with this picture .. <{photo.uid}> and <{photo.uname}> dont' work.

Re: php troubles
by ghia on 2009/9/25 0:02:32

Try:
le="color: #000000"><?php <{$photo.photo_date|date_format:"%A, %B %e, %Y"}>

In PHP you could also assign a formatted string to it, with eg date_format($datetime, 'jS, F Y') .
php troubles
by CS_Swan on 2009/9/24 23:29:58

photo.photo_date produces an 11 digit number ... how do I change it to a standard date. ? I have tried using <{date(photo.photo_date}> in the template and tried a number of combinations in the php files nothing is working please help.

Who's Online

725 user(s) are online (675 user(s) are browsing Support Forums)


Members: 0


Guests: 725


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits