Pages not editable in 'own layout'

Questions about how to use the online - editors and suggestions how to improve them
AbsoRude
Posts: 5
Joined: Sat Jun 14, 2008 6:01 am

Pages not editable in 'own layout'

Post by AbsoRude » Sat Jun 14, 2008 6:06 am

Hi.

With designs that I make myself, the little IFRAME is not editable. You only can select the text.. Also in HTML mode in the editor.

If I want to edit my page I have to change the template back to eg. 'default'.

Can I change this? I tried other DOCTYPE's as well.. Didn't work..


Peter.

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Pages not editable in 'own layout'

Post by Connie » Sat Jun 14, 2008 8:21 am

maybe you did not upload the template correctly?
maybe the rights on the template are not set correctly?

check the file permissions!
|---
Connie Müller-Gödecke, http://www.webdeerns.de

AbsoRude
Posts: 5
Joined: Sat Jun 14, 2008 6:01 am

Re: Pages not editable in 'own layout'

Post by AbsoRude » Sat Jun 14, 2008 2:09 pm

Thanks for the reply.

I set the whole site writable, still doesn't work.. Even with chmod 777. It's not that the site can't write the data away I think. But you can't actually type in that IFRAME with own templates. You can with default subsilverlike or dotcomdesign templates. I can't determine the difference in de template.htm files.

P.

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Pages not editable in 'own layout'

Post by Connie » Sat Jun 14, 2008 9:58 pm

which editor?

which template?

which URL?
|---
Connie Müller-Gödecke, http://www.webdeerns.de

AbsoRude
Posts: 5
Joined: Sat Jun 14, 2008 6:01 am

Re: Pages not editable in 'own layout'

Post by AbsoRude » Sun Jun 15, 2008 5:45 am

Standard editor, my own template, created in Notepad.
http://wemmenhoeve.nl/pizza

P.

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Pages not editable in 'own layout'

Post by Connie » Sun Jun 15, 2008 10:43 am

Peter,

there is one thing, which is not the reason, but which should be changed for better results:

change all tags to lower case ;=)

but what do I see here?
<?echo editmenu().content().submenu();?>
you are a funny guy! You invent your own tags ;=)

please! That cannot work! Try this:

Code: Select all

  <?php echo editmenu();?><?php echo content();?><?php echo submenu();?>
I add the complete template below:

cheers! Connie

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><?echo head();?>
<style>
body,html   {background:black;width:100%;margin:0;}
.headerDiv  {width:900px;height:157px;background:url(<?echo $pth['folder']['templateimages'];?>New-Site-Black_01.jpg);margin:auto;}
.mainDiv    {width:900px;background:url(<?echo $pth['folder']['templateimages'];?>New-Site-Black_02.jpg);display:table;margin:auto;}
.tocDiv     {width:165px;padding-left:55px;padding:right:10px;float:left;}
.contentDiv {width:595px;padding-left:30px;padding-right:45px;float:left;}
.footerDiv  {width:900px;height:74px;background:url(<?echo $pth['folder']['templateimages'];?>New-Site-Black_03.jpg);margin:auto;}
.footer     {width:900px;margin:auto;text-align:center;}
</style>
</head>
<body><?echo onload();?>
<div class="headerDiv"></div>
<div class="mainDiv">
<div class="tocDiv">
<p><?echo toc();?></p>
<p><?echo loginlink();?></p>
<p><?echo languagemenu();?></p>
</div>
<div class="contentDiv">
<?php echo editmenu();?><?php echo content();?><?php echo submenu();?>
</div>
</div>
<div class="footerDiv"></div>
<div class="footer"><p> </p>
<a href="http://www.cmsimple.dk/" class="copyright">Powered by CMSimple</a>
</div></body>
</html>
|---
Connie Müller-Gödecke, http://www.webdeerns.de

AbsoRude
Posts: 5
Joined: Sat Jun 14, 2008 6:01 am

Re: Pages not editable in 'own layout'

Post by AbsoRude » Sun Jun 15, 2008 2:11 pm

Yeah, that's is some creative coding.. I admit. But after changing the whole thing... no difference... Even with lo-case tags and the php function calls in separate tags.

Every time I want to change the website's content.. I have to change it back to a CMSimple template to be able to edit the text / images..

P.

ZiPs
Posts: 633
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark
Contact:

Re: Pages not editable in 'own layout'

Post by ZiPs » Sun Jun 15, 2008 4:45 pm

Hi

This is the fault

Code: Select all

<body><?echo onload();?>
it must be like this

Code: Select all

<body<?echo onload();?>>
Onload must be in the body.
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Pages not editable in 'own layout'

Post by Connie » Sun Jun 15, 2008 5:47 pm

Ahh... I just looked at the edit-area

that's a lot of creative writing ;=)

Peter, so please tell us if it is working now, ok?
|---
Connie Müller-Gödecke, http://www.webdeerns.de

AbsoRude
Posts: 5
Joined: Sat Jun 14, 2008 6:01 am

Re: Pages not editable in 'own layout'

Post by AbsoRude » Sun Jun 15, 2008 6:24 pm

Well that did the job!! Thanks.

If I look at the html source now I see: onload="init()". When that '>' sign was still on the wrong side I saw onload="init()" standing in the upper left corner of the site.. I didn't think of that! But hey, it works.

Thank you guys!

Peter.

Post Reply