Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Template

 
Reply to topic    Forum Index » General feedback View previous topic
View next topic
Template
Author Message
tamilsuriyan



Joined: 08 Apr 2006
Posts: 14
Location: Germany

Post Template Reply with quote
This shortcuts for template are not working! [full-link]...[/full-link] this not working! it's important for me







[catheader]...[/catheader] - Link to the category (only if there is any)

[comheader] ... [/comheader] - Only displayed if there is a comment.

c - Link to the full story (only if there is any)

[if-logged]...[/if-logged] - Only displayed if the viewer is logged in

[not-logged]...[/not-logged] - Only displayed if the viewer is not logged in

[xfgiven_X] and [/xfgiven_X] - Shows XField with the name "X" only if it has a value

[xfvalue_X] - XField with the same name as provided in the tag as "X"

{alternating} - Alternates the classes (Create 2 classes in your CSS: .cn_news_odd and .cn_news_even)

{author} - Author of the article

{avatar} - Show avatar image

{category-icon} - Shows the icon of the category

{category} - Name of the category

{comments} - Number of comments

{cutepath} - Path to the script

{date} - Shows the date

{full-story-length} - Length of the full story

{full-story} - Show the full story

{id} - ID of the article

{imagepath} - Path to image directory

{link=x/y} - For example: RSS of this article {link=rss/post}

{php-self} - $PHP_SELF

{short-story-length} - Length of the short story

{short-story} - Show the short story

{title} - Title of the article

{views} - Number of views
Sat Apr 08, 2006 6:18 pm View user's profile Send private message
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2668
Location: Germany

Post Reply with quote
Some template tags have changed compared to the original Cutenews.



Please check out the example page and its templates to find out how the tags are working.
Mon Apr 10, 2006 11:05 am View user's profile Send private message
tamilsuriyan



Joined: 08 Apr 2006
Posts: 14
Location: Germany

Post Reply with quote
http://tamilan.ta.funpic.de/test1/example/index.php try this! Click on READ MORE! It's the orginal example from cutenews.ru! I tried the links [full-link]{title}[/full-link] like the orginal cutenews, but it's not working too.



it's the link for read more. http://tamilan.ta.funpic.de/test1/example/index.php/2006/04/10/test-cutenews-ru.html - [2006/04/10/test-cutenews-ru.html] I can't find this files on my server!
Mon Apr 10, 2006 9:13 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2668
Location: Germany

Post Reply with quote
Quote:
I can't find this files on my server


Of course, you can't - it's not existing. But the script can work with it. It's called mod_rewrite.



I think funpic.de doesn't support mod_rewrite.



Solution: http://english.cutenews.ru/forum/viewtopic.php?p=2319#2319
Tue Apr 11, 2006 6:57 pm View user's profile Send private message
tamilsuriyan



Joined: 08 Apr 2006
Posts: 14
Location: Germany

Post Reply with quote
Where can i find the mod_rewrite? i searched it in \inc\mod the ?
Tue Apr 11, 2006 8:40 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2668
Location: Germany

Post Reply with quote
You can't find mod_rewrite in the script. It's part of the server you have your page on.



And as I said above funpic.de doesn't support mod_rewrite.
Tue Apr 11, 2006 9:19 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » General feedback All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.