dlecms中文站 » 帮助中心 » 模板制作 » fullstory.tpl-完整新闻文章模块
尚睿云云服务器150元/年起-iis.sryun.net

七月 07 2022

fullstory.tpl-完整新闻文章模块


完整新闻或fullnews是显示完整文章和完整描述的主要模块,此完整新闻将使用主题文件fullstory.tpl,inside category如果您指定了不同的主题文件,那么它们将使用与fullstory中相同的标记。


Tag Name Description
{title} - Display the article title
{title limit="x"} - Display article title with limited characters, a specified number of characters in the X tag. This will cut out the long original title to reduce title so it will help break the words in the middle and help in theme designs if there is limited space for article title.
{news-id} - ID number of the news, this number is the news numbers that stored in a database
{full-story} - Display complete or full news in full article page
{short-story} - Display a short news and news description
{full-story limit="x"} - Display text only full news without HTML formats, with the text of the full article (full-story) is reduced or cut out to X number of characters.
{author} - The author who submit the news
{date} - Date of submit, the date format can be configured in the system settings
{pages} - Page Navigation News
[ pages ] text [ /pages ] - Outputs the specified text in the tags if the news is broken down into several pages with the tag { PAGEBREAK } and removes the text in it, if the news consists of one page.
{rating} - Display news rating
[ rating ] text [ /rating ] - Display the enclosed text only if the ratings for article enabled and disabled the contents, if it was disabled by adding news.
{vote-num} - Display the number of users who rated this news
{comments-num} - Display the number of comments posted in the news
{category} - Category that article added to (without link)
{category-url} - Display the full URL to the category which the article belongs to. This tag displays only the URL in single and direct link URL form, without any formats or direct URL and can't be modified.
{category-icon} - Link on the category icon, it shows only the icon link and it use regular image formats, to add the icon in your theme you must use the correct html code such as <img src="{category-icon}" />
{link-category} - Link to all categories which the news is posted in
{views} - Number of views the News
{favorites} - Link to add or remove favorite news or bookmarks
[ edit ] Edit [ /edit ] - Link to edit news
[ print-link ] and [ /print-link ] - Direct link to print page
[ full-link ] and [ /full-link ] - Link to the full news, for example [ full-link ]Read more… [ /full-link ]
{full-link} - Display the full link URL to the full page details
[ com-link ] and [ /com-link ] - Link to comments on the article, this will only show if you allow the comments to be added
[ xfvalue_x ] - The value of an additional field "X", where "X" is the extra field name
[ xfgiven_x ] [ xfvalue_x ] [ /xfgiven_x ] - Display an additional field "X", if the field is not empty or blank, if the field is not input or leave blank then nothing will show, this useful if you add extra styles or text within the tag
[ xfnotgiven_X ] [ /xfnotgiven_X ] - Display the text specified inside the tag if the additional field has been set for publication of news, where "X" is the name of an additional field
[ group=X ]text [ /group ] - Text output to a specific group of users. Where X is the group ID list, separated user group by commas.
[ tags ] text [ /tags ] - Display tag text if news contains the keywords added to the tag cloud
{tags} - Display keywords of news base on tag cloud
[ edit-date ] text [ /edit-date ] - Display the edit info if the news has been edited
{edit-date} - Display the date what news had been edited
{editor} - Show the user who had edited the news (username)
[ edit-reason ] text [ /edit-reason ] - Display the info about the reason to edit the news, if the author give the reason
{edit-reason} - Display the text of reason to edit the news
{poll} - Display poll or vote for news if a poll was added to the news.
{date=date format} - Display the date specified in the tag format. You can display not only the date but the whole format and its individual parts. The date format can only specified and used base on the standard format in PHP. For example the tag {date=d} displays the day of the month of news or comment, and the tag {date=F} displays the name of the month, and tag {date=d-m-Y H:i} display the full date (day-month-year) and time
[ fixed ] text [ /fixed ] - Display the text in the tags if the news is fixed
[ not-fixed ] text [ /not-fixed ] - Display the text in the tags if the news was not fixed
[ day-news ] text [ /day-news ] - Provide a link to all the news published on the same day. This tag can be used for example in conjunction with the tag {date}
[ catlist=1,2.... ] text [ /catlist ] - Display the text in the tag, if the news belongs to these categories then the text will show
[ not-catlist=1,2.... ] text [ /not-catlist ] - Display the text in the tag, if the news does not belong to these categories then the text will show
{login} - Display the author (username) without the link to the profile or popup windows, just simple username in paint text
[ poll ] text [ /poll ] - Text output in the data tags, if there is poll added to the news for vote or survey.
[ not-poll ] text [ /not-poll ] - Display text output in the poll, if there is no poll added to the news for vote or survey.
[ profile ] text [ /profile ] - Used for a direct link to the author's profile from fullstory, without using pop-up windows.
[ complaint ] text [ /complaint ] - Display text for the link to write or report a complaint to the news.
[ comments ] text [ /comments ] - Display the text enclosed inside the tag if there is comment added in this article.
[ not-comments ] text [ /not-comments ] - Display the text enclosed inside the tag if there is "no" comment added in this article.
{image-x} - Display the images URL which is added in the "short news", where "x" is the number of "image number" in the news, for example {image-1} Image URL will display the first image from a "short news"
[ image-x ] text [ /image-x ] - Display the text specified within tag if the picture number "X" is existing in the news
[ declination=X ] text [ /declination ] - Display declension words about numbers. As the parameters instead of the tag is transmitted by X, but instead the "text" transmitted to the root word ends. Word endings are listed with the symbol "|". This tag is useful with other tags that display such as news or views number of comments. For example [ declination={comments-num} ]comment|th|l|s [ /declination ] depending on the number of comments will display: "1 comment," "2 comments", "10 comments"
{related-news} - Display the list of related news or similar articles
[ related-news ] text [ /related-news ] - Display the related news block or text inside the tags, if there is related news, otherwise it will remove the whole block
{comments} - Display the comments written by the news or comment block area. This tag will be useful for those who need to place comments such as the overall design of the full news. This tag is not required, if this tag is not specified then comments will automatically be placed below the full news
{addcomments} - Display the form to add comments to the site, together with a new tag {comments}, you can post a form to add comments, both above and below the comments themselves. This tag is not required, if this tag is not specified then comments will automatically be placed below the full news
{navigation} - Display the navigation on the comments if the comments are located on several pages, together with a new tag {comments} you can have navigation on the comments, both above and below the comments themselves. This tag is not required, if this tag is not specified then comments will automatically be placed below the full news
{custom} - for more details please see "Basic Main tag and page displays"
{fullimage-x} - Display the URL of the image that is in the text full of news, where "x" is the number of images in the news
[ fullimage-x ] text [ /fullimage-x ] - Display the specified text within tags, but if the picture with the number "x" is present in the full news.
[ news=1,2,3 ] text [ /news ] - Display the enclosed text, if a user/visitor looks at the full news you specified in the tag news where 1,2,3 is the ID of news.
[ not-news=1,2,3 ] text [ /not-news ] - Display text on any other pages except the view specified on the tag news.

评论:

  1. Amy (普通用户)

    02 十二月 2025 17:16 0 评论

    I have read so many articles on the topic of the blogger
    lovers except this piece of writing is in fact a nice article, keep
    it up.

    Look into my web-site xem ngay phim
    sex mới

  1. Shelia (普通用户)

    03 十二月 2025 13:28 0 评论

    Spot on with this write-up, I really believe this site needs much more attention. I'll probably be back again to see more,
    thanks for the information!

    Feel free to surf to my website sex học sinh

  1. Kali (普通用户)

    03 十二月 2025 13:58 0 评论

    Fantastic goods from you, man. I've understand your stuff previous to and you're just too magnificent.
    I actually like what you've acquired here, really like what you are saying and the way in which you
    say it. You make it entertaining and you still care for
    to keep it sensible. I cant wait to read far more from you.
    This is really a wonderful website.

    Feel free to surf to my site - xem ngay sex không giới hạn miễn phí

  1. Torsten (普通用户)

    03 十二月 2025 15:12 0 评论

    Your style is so unique compared to other folks I've read stuff from.
    Thank you for posting when you've got the opportunity, Guess I'll
    just book mark this page.

    My page; gái xinh sex miễn phí

  1. Neal (普通用户)

    03 十二月 2025 15:27 0 评论

    First of all I want to say superb blog! I had a quick question that I'd
    like to ask if you do not mind. I was interested to
    know how you center yourself and clear your head before writing.
    I have had a difficult time clearing my mind in getting my
    thoughts out there. I do enjoy writing however it just seems like the first 10 to 15 minutes
    are generally wasted simply just trying to figure
    out how to begin. Any recommendations or hints? Appreciate it!


    my web site: xem ngay
    phim cấp 3 cực hay

  1. Charlie (普通用户)

    03 十二月 2025 15:38 0 评论

    We are a bunch of volunteers and starting a brand new scheme in our community.
    Your website offered us with valuable info to work on. You've performed a formidable job and our entire community might be grateful to you.


    my page video sex không giới hạn full hd

  1. Malinda (普通用户)

    03 十二月 2025 18:54 0 评论

    Ahaa, its good dialogue regarding this post here at this web site, I have read all that, so at
    this time me also commenting at this place.

    My web blog; thưởng thức gái
    xinh sex không che

  1. Ludie (普通用户)

    03 十二月 2025 19:00 0 评论

    My family all the time say that I am wasting my time here at net, except I know
    I am getting familiarity every day by reading thes fastidious content.



    Here is my homepage :: đọc sex việt nam không che

  1. Kina (普通用户)

    05 十二月 2025 13:05 0 评论

    It's going to be ending of mine day, except before ending I am reading this enormous article
    to improve my know-how.

    Feel free to visit my page ... thưởng thức sex không
    che 2025

文章信息:

相关文章

11 七月 2022
模板制作
shortstory.tpl-短篇描述模板,描述模

短新闻或短新闻是在主页、内部类别、目录、日期、收藏夹、newposts、lastnews和allnews页面中显示短文章和快速描述的主要模块,此短新闻将使用主题文件shortstory。 tpl,inside

En savoir plus
07 七月 2022
模板制作
main.tpl-主引擎文件(主体内容模板)

主引擎使用文件main. tpl在主页面(也称为母版页)中显示结果和查询,本节包含设置模板的基本页面和母版页,其中显示引擎的其他组件。

En savoir plus
07 七月 2022
模板制作
feedback.tpl

在您的Datalife引擎中,联系人或反馈来自用于向管理员发送电子邮件,或者任何成员正在使用来自文件中的反馈。 第三方物流。 在本节中,提供了用于派生发送电子邮件的表单的可自定义模板。

En savoir plus
11 七月 2022
模板制作
static.tpl

创建静态页面时,它使用文件static. tpl或您在管理CP中创建静态页面时分配的任何文件。静态页面可以根据您的不同使用不同类型的主题名称,它将为您提供非常广泛的信息范围或扩展您的网站内容。

En savoir plus
11 七月 2022
模板制作
topnews.tpl

热门新闻或Topnews模块正在使用主题文件Topnews. tpl将显示热门新闻列表。

En savoir plus

添加评论

  • 人物和笑脸表情
    动物与自然情感
    食物和饮料表情符号
    活动表情
    旅游与地方情感
    对象表情
    符号表情符号
    标志表情符号

搜索

导航

联系

工作时间

在联系支持团队之前,请务必阅读常见问题:部分,因为那里可能已经回答了您的问题。

日历

«    十二月 2025    »
周一周二周三周四周五周六周日
1234567
891011121314
15161718192021
22232425262728
293031 

广告

调查

您更喜欢网站哪个栏目?
 

tags

热门

最新动态