This shows you the differences between two versions of the page.
|
glfusion:theme [2010/02/02 02:12] 127.0.0.1 external edit |
glfusion:theme [2010/05/06 23:50] (current) Geiss added story_title_link documentation |
||
|---|---|---|---|
| Line 80: | Line 80: | ||
| |story_id |20080707224104910 |The ID of a story (can be used to build URLs, i.e. for a "link to this story" link). || | |story_id |20080707224104910 |The ID of a story (can be used to build URLs, i.e. for a "link to this story" link). || | ||
| |story_title |glFusion v1.0.1 Released |The title of the story. || | |story_title |glFusion v1.0.1 Released |The title of the story. || | ||
| + | |story_title_link |glFusion v1.0.1 Released |The title of the story, as a hyperlink to the full story. || | ||
| |story_introtext |The glFusion Community is pleased to announce... |When displayed on the index page, this variable contains The "intro text" part of a story. However, when displayed as an article on a single page, it contains both the intro text and the body text of the story. || | |story_introtext |The glFusion Community is pleased to announce... |When displayed on the index page, this variable contains The "intro text" part of a story. However, when displayed as an article on a single page, it contains both the intro text and the body text of the story. || | ||
| |lang_todays_featured_article |Today's Featured Article |The words "Today's Featured Article" in the user's preferred language. Only available when the story is the featured story. || | |lang_todays_featured_article |Today's Featured Article |The words "Today's Featured Article" in the user's preferred language. Only available when the story is the featured story. || | ||
| Line 101: | Line 102: | ||
| ^ Variable ^ Resolves To ^ Description ^^ | ^ Variable ^ Resolves To ^ Description ^^ | ||
| - | |author_photo |%%<img src="http://yoursite.com/images/userphotos/default.jpg" />%% FIXME - need 2 double check |This displays the comment author's profile photo (if any). || | + | |author_photo |%%<img class="userphoto" alt="" src="http://yoursite.com/images/userphotos/default.jpg" />%% |This displays the comment author's profile photo (if any). || |
| |comments_url |%%http://www.example.com/article.php?story=20080707224104910#comments%% |URL of the comments section (when a story is displayed on a separate page). || | |comments_url |%%http://www.example.com/article.php?story=20080707224104910#comments%% |URL of the comments section (when a story is displayed on a separate page). || | ||
| |comments_text |2 comments |The number of comments, followed by the word "comments" in the user's preferred language. || | |comments_text |2 comments |The number of comments, followed by the word "comments" in the user's preferred language. || | ||
| Line 118: | Line 119: | ||
| |end_contributedby_anchortag |%%</a>%% |Closing tag for a link to the story author's profile (empty for anonymous authors). || | |end_contributedby_anchortag |%%</a>%% |Closing tag for a link to the story author's profile (empty for anonymous authors). || | ||
| |contributedby_url |%%http://www.example.com/users.php?mode=profile&uid=7%% |Link to the story author's profile (empty for anonymous authors). || | |contributedby_url |%%http://www.example.com/users.php?mode=profile&uid=7%% |Link to the story author's profile (empty for anonymous authors). || | ||
| - | |contributedby_photo |%%<img src=".../images/userphotos/Mark.gif" alt="Mark">%% |User photo of the story author, if provided (always empty for anonymous authors). || | + | |contributedby_photo |%%<img class="userphoto" alt="" src=".../images/userphotos/Mark.gif" alt="Mark">%% |User photo of the story author, if provided (always empty for anonymous authors). || |
| |camera_icon |(icon) |Displays the camera icon (the same as in the Who's Online block) and links to the author's user profile if they have uploaded a user photo (never displayed for anonymous authors). || | |camera_icon |(icon) |Displays the camera icon (the same as in the Who's Online block) and links to the author's user profile if they have uploaded a user photo (never displayed for anonymous authors). || | ||