ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

newbie question about tag structure

July 09, 2007 1:29pm

Subscribe [1]
  • #1 / Jul 09, 2007 1:29pm

    Jeremy F.

    1 posts

    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.

  • #2 / Jul 09, 2007 1:46pm

    Lisa Wess

    20502 posts

    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.

  • #3 / Jul 09, 2007 1:54pm

    Jeremy F.

    1 posts

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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases