newbie question about tag structure
Posted: 09 July 2007 10:29 AM   [ Ignore ]  
Summer Student
Total Posts:  4
Joined  07-05-2007

Sorry for the newbie questions, but well I’m a newbie to EE. :o) I’m trying to understand some basic syntactical structure info for EE tags that I’m not finding more than basic info for. Given this…

{exp:weblog:weblog_name}

Where the 3rd section identifies the weblog name in question, consider this…

{exp:weblog:entries} Entry content {/exp:weblog:entries}

Where not the 3rd section denotes a built-in function. Is this typical of EE, where a function can be used in place of a weblog name in the weblog tag? Is this for only built-in functions? How does EE handle this? Like, if I have a weblog named “entries” what will happen… will I get an error?

TIA for any help.

 Signature 

Jeremy

Profile
 
 
Posted: 09 July 2007 10:46 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32910
Joined  05-14-2004

Ah, I think you are misunderstanding.  The third section does not denote a variable - those tags do not change in that area.  You would change such things via parameters.  For instance, {exp:weblog:weblog_name weblog=“default_site”}.  Have a look at the bottom of this page where it explains your first example.

 Signature 
Profile
MSG
 
 
Posted: 09 July 2007 10:54 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  4
Joined  07-05-2007

Ok, that makes more sense. Thanks for the quick reply.

 Signature 

Jeremy

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65026 Total Logged-in Users: 42
Total Topics: 82116 Total Anonymous Users: 16
Total Replies: 441307 Total Guests: 186
Total Posts: 523423    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt