PageType Defaults Problem

Permalink
Hi

I'm a new comer to Concrete5 (and am completely hooked) but am experiencing my first sticking point when developing sites.

I would like to set the page-type defaults (eg. add a stack for a sidebar menu), but every time I try to do this, it's killing my server. Apache/PHP/MySQL are all maxed at 99% cpu and fighting for processing time. The templates in question only have 2 or 3 content areas (plus global areas in the header+footer templates).

Is this just because I am running it on a low-spec server (EC2 Micro)? Does having content in the site (e.g. lots of pages of that type created already) impact the set defaults process?

Any help / guidance / tips gratefully received. Just trying to do the most I can to simplify the process to to stop clients from breaking their shiny new sites :)

Geekcubed
 
A3020 replied on at Permalink Reply
A3020
Hm, that's weird. I don't have a clue why it'd require so much processing time.

What you can do, however, is adding those stacks programmatically in your page_type. Here's an example:

<?php
$s = Stack::getByName('Sidebar Stack');
$s->display($c);