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.

Custom Single Entry Template Switching?

November 26, 2010 1:09pm

Subscribe [0]
  • #1 / Nov 26, 2010 1:09pm

    vacquah

    355 posts

    I am looking to design custom templates for a couple of entries.  The plan is to setup some sort of input field on the publish page itself which allows me to either select or specify a particular html template ( from template group “custom_templates”) and a custom css file (custom_stylesheet template group).

    Can you kind folks think of a painless way to implement this?  Here is what my code looks like now:

    embed="embeds/html_header"  url_title="{segment_3}"  title="Our Photo Stories"}
    {embed="custom_stylesheets/{custom_stylesheet}"}
    </head>
    
        <body id="stories_main" class="page">
            {embed="custom_templates/{custom_template}"}
        </body>
        
    </html>

    Do I need some sort of global early parsing variables?

  • #2 / Nov 28, 2010 12:32pm

    vacquah

    355 posts

    The discussion is happening here: http://ellislab.com/forums/viewthread/169760/

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

ExpressionEngine News!

#eecms, #events, #releases