Forums / Developer / XHTML 1.0 validation / Comment39442
Marco Zinn
Tuesday 23 December 2003 2:14:26 pm
Hi Dominik, I'm german, too, but let's stay english. Is your site public yet? From your code snippets, i think: The first two errors seem to be from the HTML head. You have an & in your site name (defined in the site.ini.append, right?). Probably, Exponential does not wash these strings, but you cannot do anything about this, it's in the PHP code. Try changing the name in the .ini to something like "bla und bla", instead of "bla & bla" (just for testing). The other really seems to be XML. If you used or re-used the original article class, then your intro IS XML and you should use attribute_view_gui do display it. This will generate (washed) XHTML from the "raw" XML data in the intro field. If you don't want to use attribute_view_gui, you could use something like $node.data_map.intro.output.output_text to get HTML. See http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/template_variables_set_by_ezpublish (middle of page) for some info on that datamapstuff.BTW: For the "more"-stuff: You can use the is_empty operator to check, if the body contains data and, if so, print the "mehr" line.
Marco http://www.hyperroad-design.com