[opencms-dev] [6b2]Can't see my page - help in troubleshooting

Frans Postma fpostma at xs4all.nl
Fri Apr 22 22:16:18 CEST 2005


Sounds familiar to my first template experience :-)

What you need to know is that you enter using the editor is place in a 'container' which has a name. For templateOne it's called
'text1' for the first element (as those containers of text are called in the editor).

You have created a template and defined some elements for it? Did you set at least one of those elements as required in the
template properties? I've never followed the example that was included in b1, since I started using alpha2.. bit more figuring
things out myself in the good old days :)

It reads like you made a html page initially for templateOne and changed the template to your test one later on. That's perfectly
fine as long as you realize that template fetch the text they need to display from NAMED elements. So if you made a template with
elements named "*teste1 teste2 teste3" it won't have anything to display since you entered the content into an element called
'text1' :)

Does that help in understanding the possible cause/problem ??

You can select which element to view in the Editor itself btw. You can copy/past the content from one element to another that way
as well. (yes, Edit Control Code allows you to rename the element directly.. but that's a bit more advanced)

Frans

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of T Reaves
> Sent: vrijdag 22 april 2005 21:34
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] [6b2]Can't see my page - help in 
> troubleshooting
> 
>      I'm trying to get up and running.  I've followed the 
> templateone  
> example, and created teh templates and pages I want to use for my  
> site.  I then created an index.html page in my main site folder.  I  
> put a simple line of text in it.  Now, when I click on index.html in  
> the console, all I get is an empty page ( 
> <html><body></body></html> ).
> 
>      If I change the template to the templateone template I can then  
> see the page, along with the other things template one defines.  It  
> is just when I use my own template that I get nothing.
> 
>      I've tried looking through the logs, and nothing is 
> there (other  
> than where I log in).  So I do not know what is wrong, nor even how  
> to troubleshoot it.
> 
>      Any ideas where to start?
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 




More information about the opencms-dev mailing list