[opencms-dev] Questions about templates and WYSIWYG editor

Sverker Abrahamsson sverker at abrahamsson.com
Wed Mar 9 13:27:07 CET 2005


Thanks Ronald, I think that is what I was looking for. I still would like to be able to edit (x)html pages directly but that's another story.
/Sverker
  ----- Original Message ----- 
  From: Ronald Lips 
  To: The OpenCms mailing list 
  Sent: Wednesday, March 09, 2005 1:01 PM
  Subject: RE: [opencms-dev] Questions about templates and WYSIWYG editor


  Hi Sverker,

  Take a look at the Alkacon documentation that comes with OpenCms beta 1, section "Template Howto". This should make clear what the relationship between a template and a page based on a template is. In this relationship, the XML page (the page you edit in the WYSIWYG editor) contains the HTML for each 'body' that has been defined in the template. See also the 'default_bodies' folder that is present in the module that contains your template.

  The job of the JSP template is to inject the HTML fragments of each body into an HTML page that is defined by the JSP. You can take a look at these templates by browsing through the modules that are present in a standard OpenCms installation.

  Hope this helps,

  regards
  Ronald

  AtoBe Mobile Solutions 
  Ronald Lips 

  tel:    +31 (0)23 750 21 19 
  fax:    +31 (0)23 750 21 11 
  mob:    +31 (0)651 18 35 70 
  mail:   ronald.lips at atobemobile.com 
  web:    www.atobemobile.com 




------------------------------------------------------------------------------
  From: Sverker Abrahamsson [mailto:sverker at abrahamsson.com] 
  Sent: woensdag 9 maart 2005 12:45
  To: The OpenCms mailing list
  Subject: [opencms-dev] Questions about templates and WYSIWYG editor


  Hi
  I have kind of a newbe question. I'm starting to learn the workplace and begun with creating a page with empty page template and edit it in the wysiwyg editor. However, when I switch over to source code view I see only that fragment of the code. As I understand it this is not a bug but I'm in fact working with a XML page which use a XML template so that is why I only see this fragment.

  As I understand it XML templates is the old way and jsp templates is the new. However, I don't see any way to get wysiwyg editing of plain html files where I can access all part of the page. Also, working with JSP pages is limited to administrators so how can normal users work with the jsp templates?

  Best regards
  Sverker





------------------------------------------------------------------------------




  _______________________________________________
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050309/0dc458d0/attachment.htm>


More information about the opencms-dev mailing list