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.

PHP controlled template not outputting any content

November 08, 2007 6:16pm

Subscribe [3]
  • #16 / Nov 09, 2007 3:46am

    Luke Stevens

    80 posts

    I am curious, though, why you are using the above setup instead of using ExpressionEngine templates in a normal manner to manage and display your content.  I’m going to go ahead and move this thread to the How To forum, though, since the issue of the PHP error being caused by ExpressionEngine is resolved.

    I’ll fess up here as the (non-)developer behind the template system 😊 I built it originally a couple of years ago before the MSM and before 1st party embed variables and the like. It offered a number of advantages - reduced redundancy (the normal EE way encourages duplicating your structure, which is avoided here), variable inheritance, uncoupling templates from url structure, easily run multiple sites from the one installation, etc. There were a few drawbacks which were relatively minor, but for a quite a large site turning the templates inside out in a sense (in this simplistic form) worked quite well. Anyway, just thought that background might be of interest, fwiw! 😊

  • #17 / Nov 09, 2007 9:14am

    Derek Jones

    7561 posts

    I had a feeling that something like that was the case, Luke.  Now you see why we were eager to create a multiple-site management system that would result in something that our TSS’s could reasonably support. 😉

    Robert, do you know enough PHP to follow what that template is doing?  You have the templates all in that one template group, but you can create template groups named “god”, “you”, “feature”, “blog”, etc. and copy the templates listed in the switch($segment_3) sections to the appropriate template group.  The common content can be handled with embeds.

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

ExpressionEngine News!

#eecms, #events, #releases