Page 1 of 1

Unable to edit pages

Posted: Wed Oct 31, 2012 11:04 am
by Decorsign
Hi guys,

Today i faced a strange problem regarding the standard page-edit ability in CMSMS 1.11.2.

The website is showing fine (frontend). In the backoffice /admin, i can show all pages, but when i click one content page to edit, the page stops loading just after: <div id="sidebar" class="hascontent">

So the page just stops loading...

See attachment.

This is what i have tried:
- Re-uploaded the full cms with version 1.11.2
- Re-ran the upgrade wizzard from install directory
- Changed all modules to 777

Any ideas?

Geert

Re: Unable to edit pages

Posted: Wed Oct 31, 2012 11:12 am
by Decorsign
I've just now checked creating a new page. This allso does not work with the same symptoms...

Re: Unable to edit pages

Posted: Wed Oct 31, 2012 11:30 am
by Decorsign
FIXED it!

I used the $content_obj->GetPropertyValue('extra1') object in the template.

Code: Select all

{capture name=extra1}{$content_obj->GetPropertyValue('extra1')}{/capture}
{if $content_obj->GetPropertyValue('extra1') <> ""}
...
{/if}
I've replaced it with:

Code: Select all

{capture name=extra1}{page_attr key="extra1"}{/capture}
{if $smarty.capture.extra1 <> ""}
...
{/if}
Now it works.

Re: Unable to edit pages

Posted: Mon Jan 28, 2013 5:33 pm
by Dr.CSS