1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

xen:raw inside templates

Discussion in 'Styling and Customization Questions' started by lasertits, Oct 18, 2011.

  1. lasertits

    lasertits Active Member

    I'm trying to customize the report view a bit for the style I'm creating for my site and I've noticed the following line:

    Code:
    {xen:raw $report.extraContentTemplate}
    If I wanted to edit the code that xen:raw is pulling, where would I go about doing so? Also, can anyone point me in a direction to learn about xen:raw and/or other xen conditionals?

    Thanks.
     
  2. Fuhrmann

    Fuhrmann Well-Known Member

    You can view about xen conditionals in here.

    And about the $report.extraContentTemplate

    I think you can edit the template report_profile_post_content to change the contents.
     
    lasertits likes this.
  3. lasertits

    lasertits Active Member

    Great, thanks! I'll give it a go.
     
    Fuhrmann likes this.
  4. swatme

    swatme Well-Known Member

    what difference does it make if i use the raw tag
    {xen:raw $forum.description}
    versus
    {$forum.description}

    both displays the contents . whats their difference?
     
  5. cclaerhout

    cclaerhout Well-Known Member

    Try to put html code inside the variable and you will the difference. One will be parsed (raw), the other one will display html code as text (normal behaviour).
     
    Earl, otto, Mirovinger and 2 others like this.

Share This Page