DataLife Engine English Support Site » DatalifeEngine Help » Tags - part 1
Welcome,. Enter Username, or register.
Login: password:  



ApadanaGroup's Hosting Services available now with Unbelievable LOW PRICES,
Unlimited SPACE AND Unlimited Transfer ....Check it out !!!
http://unlimitpackage.net/

Tags - part 1

Author Tak, Category DatalifeEngine Help25 July 2006.
The basic design of your page is located in the file called main.tpl, and from it are connected all other components of the cms. Let's look at the basic tags from it. {AJAX}, {info}, {content}, {custom} - these tags are required for the correct functions of the system.

The tag {AJAX} controls javascript, necessary for normal operation of the cms as a whole, and the AJAX features in particular. One should place that tag in the very end of a template before the tag:
</body>
The tag {info} displays information and errors about the produced actions (for example "forbidden topic", "incorrect password" or "necessary to fill all fields") it must be placed right next to, but before, the tag {content}
The tag {content},displays the article content (short news & full news).
The tag {custom},allows for custom display of articles, has the following parameters:

{custom category=" 2,7" template=" custom" aviable=" global" from=" 0" limit=" 10" cache=" yes"}

Where,

category - ID of the categories, from which we produce the news, divided by comma without gaps.

template - the template which will be used with the display of news, in this case this will be custom.tpl, if you you use on the site several templates then this file must be present in each template. In this template we used the tags used for the short news.

aviable - section in which will be it is derived the inquired news, it can take the following values:

global - in all divisions

main - on the main page

date - with the survey of news for the specific dates

cat - with the survey of the category

showfull - with the survey of the complete news

search - with the survey of the results of the search

userinfo - with the survey of the profile

register - with the registration

stats - with the survey of the statistics

pm - with the survey of the personal communications

feedback - with the survey of the feedback

favorites - with the survey of the layings

newposts - with the survey of the new communications

addnews - during the addition of the news

lastcomments - with the survey of the last commentaries

You can combine sections with the aid of ” |”, for example aviable="userinfo|register|main" will display your news on the mainpage, with the registration and with the info of the profile of a user.

from -the number of news which will begin from.

limit - how many news articles will be brought out

cache - takes the values of yes or no- It should be enabled for a reduction in server load.

Attention it isnecessary to indicate all parameters, they are required, and also necessary to observe their order.
Rememberthat each use of this tag will create an extra load on the database, but as you know, dle prides itself on being fast, and using low resources.

The tag [aviable=??????]text[/aviable], derives text concluded in the tags if it is examined the division of the site indicated:
Tag assumes [paremtry] analogous to the parameter of aviable of the tag {custom}.

For the example
[aviable=userinfo|register|main] Text [/aviable]

the prisoner in the tags, on the main thing, with the registration and with the survey of the profile of user will derive text.
 
Your are currently a guest on this site. Please click here to register
  • views: 966
  •  Print
    • 68
     (Votes #: 1)
  
  • DataLife Engine V.7.0 Final
  • DataLife Engine V.6.3 Press Release
  • About DataLife Engine
  • Datalife Engine 4.2 - 4.3 English Released
  • Category Index Full English



  • #2 Tak


    User Group: Editor
    Second part? i still hardly understand the first! tongue


    --------------------
    On Holidays for over a year ;) Joined: 3.06.2006 | ICQ: --


    User Group: Member
    very nice article....whn you post second part?
    Joined: 16.07.2006 | ICQ: --

    Information

    Members of Guest cannot leave comments.


    Your Ad Here

    Vote

    Datalife Engine is
    Excellent
    Good
    Fair
    Poor
    Bad

    Get Chitika eMiniMalls

    The information

    Online Now:
    Users: 0
    Not Online.

    Robots: 4
    GooglebotWebAlta Crawler
    YahooAlexa

    Guests: 10
    Total: 14

    Last Online Users:
    Users: 20
    abdouaniba admin7
    alnoah bethuy
    bitto dato_var4
    funning17 g-mic
    javad kyoko
    MaCeLMp4 Magid
    Motor name_less
    pakio sanalreis
    sma_eslami topsoftware
    whosthis.ee zigmuntt

    Tgs Cloud

    4support, Added, After, Appointmentmodule, BBcode, CHMOD, Cache, Clear, Cropping, Datalifeengine, Description, Dle, EMail, ENGINE_DIRincparseclassphp, Length, Uberat, access, according, adding, additional, administrator, attention, categories, certain, changes, closing, comments, corrected, creation, directly, domain SUPPORT, editing, enginecachesystemStart, errors, everything, files, folder, forum, friends, indispensable, install, installation, installphp, issue, itsinstructions, language, large, listof, moved, myFAQ, notice, opening, opublikovanye, patterns, player, possible, published, question, received, record, referring, registration, removal, responses, roach, script, server, submit, support, system, titla, upgrade, useful, users, using, version, versions, visitors, which, worry

    To show all tags