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.

Show "Page" Content Fields

September 08, 2011 9:49am

Subscribe [1]
  • #1 / Sep 08, 2011 9:49am

    aight8

    8 posts

    I created a Page with the Page Module and select a Template. In this template i have a header and a footer include. In the middle i want to display some Fields of the Page-Entry.

    Again: I have a Page-Entry, now i want to change the content dynamic trougth a wysiwyg editor who is on the Page-Entry.

    The “content” field is an custom channel field on the “page” who loads the template. Is it possible to query the content?

    {embed="{template_header}"}
    
    <body id="page0">
    <div class="body1">
        <div class="main">
    
    <head>
        {embed="{template_navi}"}
    </header>
    
    
    {content}
    
    
    {embed="{template_footer}"}

    The manual solution is like..

    {exp:channel:entries entry_id="5"}
    {content}
    {/exp:channel:entries}

    The number 5 is the ID from the Page-Entry. But this is hard-coded. Im not like hard-coded things 😊

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

ExpressionEngine News!

#eecms, #events, #releases