not able to edit page

Permalink
hi

I have converted a bootstrap html template to C5 template.

when i added below code to the default.php

<code>
<div class="<?php echo $c->getPageWrapperClass()?>">
</code>

getting below error
[23-Jun-2015 20:13:20 Europe/Berlin] PHP Fatal error: Call to undefined method Page::getPageWrapperClass() in C:\xampp\htdocs\concrete5\themes\zlearn\default.php on line 98

i have attached here with default.php renamed as default.txt

Please help.

Thanks,

1 Attachment

 
WebcentricLtd replied on at Permalink Reply
what version of Concrete5 are you using?
WebcentricLtd replied on at Permalink Reply
what version of Concrete5 are you using?
zustlearn replied on at Permalink Reply
Hi AndyJ,

Thanks for the reply, i have installed Version 5.6.3.3, currently i'm working offline


Regards,
goodnightfirefly replied on at Permalink Best Answer Reply
goodnightfirefly
getPageWrapperClass() is a 5.7 thing (Concrete5 version 7).

A guide for 5.6 (Concrete5 version 6) can be found here: http://www.concrete5.org/documentation/how-tos/designers/make-a-the...

Make sure to reference the 5.6 documentation and not the 5.7 ;) http://www.concrete5.org/documentation/developers/5.6/...
zustlearn replied on at Permalink Reply
Hi goodnightfirefly,

Thank you so much for guiding me, now with "new Area" i'm able to edit the page.

Thanks a lot again....
I will explore concrete5 features now.


Regards,