Talk:Defining OpenCMS structured XML content

(Difference between revisions)
Jump to: navigation, search
(Labeling does not work)
(Defining OpenCMS structured XML content - addendum)
Line 28: Line 28:
 
As far as I can remember the <code>page</code> directive has been missing. Thus the new structured content appeared within the root pane of the "New" dialog.  
 
As far as I can remember the <code>page</code> directive has been missing. Thus the new structured content appeared within the root pane of the "New" dialog.  
  
<code><newresource '''page="structurecontent"''' uri="newresource_xmlcontent.jsp?......." </code>
+
<code lang="xml"><newresource '''page="structurecontent"''' uri="newresource_xmlcontent.jsp?......." </code>
  
  
Line 35: Line 35:
  
 
Fabian Huschka
 
Fabian Huschka
 
  
 
== Labeling does not work ==
 
== Labeling does not work ==

Revision as of 04:49, 23 August 2008

Hi!

You mentioned that you had an issue with the steps outlined in the video not quite working correctly; do you remember what the problem was, and how you resolved it? I'd be happy to update the movie-

Tim Howland

Contents

Defining OpenCMS structured XML content - movie problems

Hi Tim,


Thanks for contacting me and congratulations for the movie presentation - it was the only resource I've found to help me set the things up.

The tutorial was done some months ago, so I did not remember the details about what exactly was not working. However, I remember that was related to the last steps (maybe making the item to show up in the list of new content types?). I will try to review the movie and remember what wasn't working for me.

I assumed that my setup/version might be different and that's why I don't get all the expected results, because I've seen many messages/comments on the opencms-dev list saying that your movie procedure worked well (and also that's why I did not contacted you to notify the problem).

As soon as I ahve something clear I'll get back to you.


Best,

Octavian Tanase


Defining OpenCMS structured XML content - addendum

As far as I can remember the

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, eiffel, fortran, freebasic, gml, groovy, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, perl, php, php-brief, plsql, python, qbasic, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, z80

directive has been missing. Thus the new structured content appeared within the root pane of the "New" dialog.
<newresource '''page="structurecontent"''' uri="newresource_xmlcontent.jsp?......."


Sincerely,


Fabian Huschka

Labeling does not work

In this [1] section.. the first line "fileicon.DemoType" works... however the second line doesnot, where could i see the resulting label for that??

By the way, THANKS FOR THIS TUTORIAL!!!

Donato


Labeling problems

I had a similar problem to Donato where the filetype just showed up as "!!! fileicon.DemoType !!!" but solved this by moving the workspace.properties file into system/modules/ro.grapefruit.demotype/classes/ (ie not /system/modules/ro.grapefruit.demotype/classes/ro/grapefruit/demotype/).

--Am2605 03:45, 26 February 2007 (CET)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox