Re: [Hypercontent-users] HyperContent 2 RC Questions]
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-11-16 14:48:26
|
Hi Carl, The navigation problem is occurring because you haven't = specified the=20 full URL of the navigation DTD in your project definition. It should=20 look like this: <xml-doc=20 definition=3D"http://hypercontent.sourceforge.net/dtd/navigation.dtd"=20 path=3D"/sitemap.xml" root=3D"nav-template"> The system recognizes that specific DTD location and treats the file=20 accordingly; under 1.4 you were able to use a different DTD location=20 because you had specified the "filter" tag, but the filtering is now=20 automatic and based on that URL. The URL is mapped to a local copy of=20= the DTD by the system, so this won't introduce any network=20 dependencies. This change is also backwards compatible with 1.4. In terms of the static links, I was thinking of something like this: in the left nav, replace /cass/about_us/why_study_at_hull.html with {$baseurl}/about_us/why_study_at_hull.html -Alex On Nov 16, 2005, at 6:18 AM, Carl Barrow wrote: > Hi Alex > > Sorry I didn=92t get back sooner. > > The links that I have on the template need to be absolute, I can=92t=20= > think of a > way of doing it without. I have included links to the site definition=20= > and > repository for a site that shows an example of both problems. The top=20= > menu > items and the breadcrumb are generated from sitemap.xml, but don=92t=20= > show up when > editing in the H/C2 WYSIWYG, the menu items on the left are hard=20 > coded in the > xsl template. > > > Cheers > Carl > > >> -------- Original Message -------- >> Subject: Re: [Hypercontent-users] HyperContent 2 RC Questions >> Date: Mon, Alex Vigdor <av...@co...> >> From: =09 >> To: 'Hypercontent-users' users <hypercontent-users@l14 Nov 2005=20 >> 10:44:25 > -0500ists.sourceforge.net> >> References: <113...@we...> >> >> >> >> Hi Carl, >> I'm glad you've had a chance to look at RC1. I think you have = found=20 >> a >> bug in the FTP client - we only use SFTP here, so that wasn't as >> rigorously tested. I've attached an updated version of the >> FTPUnixFileSystemImpl - drop it into the source tree, and when you = run >> the ant script it will recompile and deploy the changes. This should >> solve that error, which was caused by a failure to check if a value = is >> null. Let me know how it works; I'll wait to check it into CVS until >> then. >> HC2 selectively rewrites the links on your page in the inline = frame; >> it only changes relative links (links starting with "."). If you = have >> any sort of absolute link (including links starting with "/") HC2 >> leaves it alone, so even if it points to another page managed by HC2=20= >> it >> won't be recognized. Try setting it up as a relative link and it >> should work. >> For the navigation problem, I'd have an easier time debugging it = if I >> could see it in context. If you could zip up the repository of a >> project with the problem, I'll install it locally and have a look. >> >> Cheers, >> Alex >> >> >> >> >> --=20 >> ************************************ >> >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> ************************************ >> >> > > > ************************************ > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ |