[Hypercontent-users] Re: probleemas ar CMS 1.3
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2004-07-06 17:35:02
|
Hello, I have embedded responses inline, and copied the mailing list on the reply. I encourage you to follow up on the mailing list, as others may be interested in this information. On Jul 5, 2004, at 1:30 PM, Egons Jurgevics wrote: > Hello! > > We are trying to build our university portal public pages by using > Hypercontent. Here > are some problems, which i have come to. > > 1. > the xsl code: > > <xsl:output method="html" > indent="yes" > doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" > > doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1- > transitional.dtd" /> > > generates the html code > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > which is not valid in http://validator.w3.org/ > > The valid code ir with html lowercased: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> If you are outputting XHTML, try setting the output method to "xml". The "html" output method is not intended for XHTML. > > 2. Download Zip does not work in the projects Are there any errors on screen or in the logs? Have you tried clicking the link that appears when the process is complete, to download the file? Right clicking may not work in IE, but just clicking the link should work. > > 3. When uploading an image file, it is opened in Picture Editor by > default. It is very slow, i would prefer to edit it only when i click > Edit link. You can control the editing environment at a global level with the Content Types configuration file, or just within the resource-directory configuration for your project. You can set up the default screen to be the upload editor, with the image editor as a secondary option. See the manual chapters http://localhost/cucms/preview/docs/manual/develop/mime.html http://localhost/cucms/preview/docs/manual/develop/editors.html > > 4. It is not possible to upload several files at a time. You can submit this as a feature request using the SourceForge "Request Feature / Enhancement" tracker at http://sourceforge.net/tracker/?group_id=101745&atid=630318 > > 5.1. It is not possible to Browse for the pictures in the currect > folder > in HTML editor. Say, i have resource directory with index.xml and > test.jpg *.jpg files When i edit index.xml and add html area, it would > be cool to browse for the pictures in the same dir. Maybe even in other > directories as well. This is a planned feature for a 2.x release of HyperContent. It may not be available until early 2005, as the architectural overhaul for v2.0 is top priority right now. > > 5.2 When writing an image url "test.jpg", it is generated as > "/uPortal/test.jpg", but it should be just "test.jpg" Relative paths to images are not currently supported in the WYSIWYG editor. You need to put the full repository path, e.g. "/images/test.jpg". > > 5.3. It is not possible to preview the images inserted in the html area > as well, because the url is wrong. See above (it will work when you use the absolute path, and have previously previewed that image). > > 6. It would be cool to define some kind of template for the new > filenames. For example, when i create a new file, i would like it to > have a date_time filename or a generated ID filename. See note above about requesting features. > > 7. In dynamic part we use php. What do You think about idea to put > php script into xsl? We have not done this, but it should work. I would encourage you to add PHP to your Content Types configuration, and manage most of your php code in straight PHP files which you could upload into the system, and use XSL to produce php import tags and object references. > > Cheers, > Egons > University of Latvia > |