New Template Variables

The latest happenings on Smack Jeeves
Forum rules
Please stay on-topic when responding to news posts.

New Template Variables

Postby Admin » February 21st, 2013, 1:18 pm

A few new template variables have been added.


Code: Select all
{BEGIN_LATEST_CHAPTER_URL} - URL of the first comic in the latest chapter
{USER_ID} - The user ID of the person visiting the site (0 is logged out)

All comments loops:

Code: Select all
{loop_name.USER_ID} - The user ID of the commenter

These variables were specifically asked for, and most authors on the site won't need to make any use of them. {BEGIN_LATEST_CHAPTER_URL} is the one that is most practical, and some authors may choose to incorporate this one into their layouts. Enjoy!
User avatar
Site Admin
Posts: 1390
Joined: August 17th, 2005, 11:10 pm

Re: New Template Variables

Postby eishiya » February 21st, 2013, 1:38 pm

Thank you, thank you, thank you! I am going to make use of both of these in the future, definitely.
User avatar
Posts: 9805
Joined: December 5th, 2009, 11:17 am

Re: New Template Variables

Postby Alexis_Royce » February 21st, 2013, 2:18 pm

Thank you so much; setting straight to work with these.
User avatar
Posts: 400
Joined: October 25th, 2008, 9:12 am
Location: Lineage Haven

Re: New Template Variables

Postby Pedes » February 27th, 2013, 8:07 am

Ooh, the last chapter variable looks like something that might be really useful for some :D
User avatar
Posts: 16
Joined: July 31st, 2006, 10:48 am

Re: New Template Variables

Postby Manga-Ka » March 2nd, 2013, 2:36 am

Last chapter thingie sounds really good :'>
User avatar
Posts: 14
Joined: June 18th, 2007, 11:27 am

Return to News

Who is online

Users browsing this forum: No registered users and 8 guests