hypercontent-users Mailing List for HyperContent (Page 31)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carl B. <C.P...@hu...> - 2005-01-28 12:35:31
|
Hi Alex I'm getting an error when I click the preview button when editing, even the demo HyperContent one: Something is wrong - see log for details: Error performing previewNode: The filesystem could not mounted due to faulty arguments - please check your configuration (edu.columbia.filesystem.FileSystemException) It doesn't seem to be putting anything out to the log. Do you have any idea what might be causing it? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-26 14:46:54
|
Hi Carl, Your main problem is that you're jumping out of context in the = title =20 template: this should fix it: <!--orange box title--> <xsl:template name=3D"rightcolumntitle"/> <xsl:apply-templates select=3D"@title mode=3D"right-box-title"/> </xsl:template> =09 Since each right-box is now wrapped in a "rightcolumn" element, I don't =20= think the modes are necessary any longer: you can apply the box styling =20= at the level of the rightcolumn element rather than the html element, =20= and wind up with simpler XSL: <!-- Main page template--> <xsl:template match=3D"/"> <xsl:choose> <xsl:when test=3D"string-length($rightboxlen)!=3D0"> <xsl:apply-templates select=3D"/cms:wrapper/cms:source/page/rightcolumn"/>= </xsl:when> <xsl:otherwise> <xsl:text> </xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template> <!--orange box text--> <xsl:template match=3D"rightcolumn"> <div class=3D"right-box"> <div class=3D"right-box-title"> <xsl:value-of select=3D"@title"/>=09 </div> <div class=3D"right-box-body"> <xsl:apply-templates select=3D"html"/> </div> </div> </xsl:template> -Alex On Jan 26, 2005, at 4:37 AM, Carl Barrow wrote: > Yeah sure, here=92s the basics from the template. If you want my full =20= > template sending over then I can do that. > > <!-- Main page template--> > <xsl:template match=3D"/"> > <xsl:choose> > <xsl:when test=3D"string-length($rightboxlen)!=3D0"> > <xsl:call-template name=3D"rightcolumn"/> > </xsl:when> > <xsl:otherwise> > <xsl:text> </xsl:text> > </xsl:otherwise> > </xsl:choose> > </xsl:template> > > <!--orange box text--> > <xsl:template name=3D"rightcolumn"> > <xsl:apply-templates =20 > select=3D"/cms:wrapper/cms:source/page/rightcolumn/html =20 > mode=3D"right-box"/> > </xsl:template> > > <!--orange box title--> > <xsl:call-template name=3D"rightcolumntitle"/> > <xsl:apply-templates =20 > select=3D"/cms:wrapper/cms:source/page/rightcolumn/@title =20 > mode=3D"right-box-title"/> > </xsl:template> > > <!--orange box mode--> > <xsl:template match=3D"html" mode=3D"right-box"> > <xsl:call-template name=3D"rightcolumntitle"/> > <xsl:apply-templates select=3D"."/> > </xsl:template> > > <!--orange box title mode--> > <xsl:template match=3D"html" mode=3D"right-box-title"> > <xsl:apply-templates select=3D"."/> > </xsl:template> > > Thanks > Carl > > > > Alex Vigdor wrote: > >> Carl, >> Could you send along the XSL you're applying to this XML? That will =20= >> make it easier to understand what might be going wrong. >> >> Alex >> >> On Jan 25, 2005, at 6:02 AM, Carl Barrow wrote: >> >>> Thanks very much for that, all working fine. I have changed things a = =20 >>> little and set a title on a repeating rightcoloumn element : >>> >>> <!ELEMENT page (rightcolumn*,bodytext,leftcolumn?)> >>> <!ELEMENT rightcolumn (html)> >>> <!ELEMENT bodytext (html)> >>> <!ELEMENT leftcolumn (html)> >>> <!ATTLIST rightcolumn title CDATA #REQUIRED> >>> >>> I have tried to get the titles into each box but have been having =20= >>> trouble. It ether displayed the last one in all the boxes or it =20 >>> displayed all the tiles above the boxes. Any Pointers on this? >>> >>> Thanks >>> Carl >>> >>> Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> The trick here is that your right boxes are stored in html =20 >>>> elements, which are also used in different contexts in the =20 >>>> document. XSL provides the notion of "modes" on templates to allow =20= >>>> you to different things with the same elements in different =20 >>>> contexts. I.e. >>>> >>>> <xsl:template name=3D"rightcolumn"> >>>> <xsl:apply-templates =20 >>>> select=3D"/cms:wrapper/cms:source/page/rightcolumn/html" =20 >>>> mode=3D"right-box"/> >>>> </xsl:template> >>>> >>>> <xsl:template match=3D"html" mode=3D"right-box"> >>>> <!-- do whatever creates the visual box --> >>>> <div class=3D"right-box-style"> >>>> <!-- this will pass through to the original, non-moded html =20 >>>> template to generate the box contents --> >>>> <xsl:apply-templates select=3D"."/> >>>> </div> >>>> </xsl:template> >>>> >>>> Alex >>>> >>>> On Jan 21, 2005, at 6:19 AM, Carl Barrow wrote: >>>> >>>>> Alex/Adam >>>>> >>>>> Thanks very much. I have a repeating element for the right boxs in = =20 >>>>> there and it allows the users to add as many as they want at the =20= >>>>> moment, I haven't decided weather I'am going to restrict them, =20 >>>>> although I think it might be wise. >>>>> >>>>> My DTD for the full page content is : >>>>> <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> >>>>> <!ELEMENT rightboxes (html*)> >>>>> <!ELEMENT bodytext (html)> >>>>> <!ELEMENT leftcolumn (html)> >>>>> <!ATTLIST bodytext CDATA #REQUIRED> >>>>> >>>>> In my template I have a variable that contains the content of =20 >>>>> rightbox/html : >>>>> <xsl:variable name=3D"rightboxlen" =20 >>>>> select=3D"/cms:wrapper/cms:source/page/rightbox/html" /> >>>>> >>>>> I then check if that is not 0 and put the box in there : >>>>> <xsl:choose> >>>>> <xsl:when test=3D"string-length($rightboxlen)=3D!0"> >>>>> <xsl:call-template name=3D"rightcolumn"/> >>>>> </xsl:when> >>>>> <xsl:otherwise> >>>>> <xsl:text> </xsl:text> >>>>> </xsl:otherwise> >>>>> </xsl:choose> >>>>> >>>>> The rightcolum template being (taking out html): >>>>> <xsl:template name=3D"rightcolumn"> >>>>> <xsl:apply-templates =20 >>>>> select=3D"/cms:wrapper/cms:source/page/rightcolumn/html"/> >>>>> <xsl:if test=3D"$filedate"> >>>>> >>>>> All works fine....apart from the fact that it puts all the html =20= >>>>> elements for rightbox is the same box on the page. I can see why =20= >>>>> it's doing that but I can't figure out how to get them in separate = =20 >>>>> boxes. >>>>> >>>>> Can you help with that at all? >>>>> >>>>> Thanks for all you help >>>>> Carl >>>>> >>>>> >>>>> At the moment, I'm checking if the >>>>> >>>>> Alex Vigdor wrote: >>>>> >>>>>> Well, you could limit it to 3 by explicitly declaring each as a =20= >>>>>> separate element: >>>>>> >>>>>> <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> >>>>>> >>>>>> It makes for a less appealing DTD, but allows you to keep users =20= >>>>>> from trying to add a hundred boxes to a page . . . >>>>>> >>>>>> Alex >>>>>> >>>>>> On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: >>>>>> >>>>>>> Carl, >>>>>>> >>>>>>> There is no way using the current interface to do the following: >>>>>>> >>>>>>> " So for example, for the right hand orange boxes the user might = =20 >>>>>>> be presented with an option to add 0-3 boxes, then on selection =20= >>>>>>> have the editable text appear for each box." >>>>>>> >>>>>>> The standard interface is not that flexible. >>>>>>> >>>>>>> You could give them the option to add one or more right hand =20 >>>>>>> boxes by setting up a dtd. Alex had a good example. >>>>>>> >>>>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>>>> <!ELEMENT right-box(html)> >>>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> You could also set it up like this: >>>>>>> >>>>>>>>> <!ELEMENT page (html,right-boxes)> >>>>>>>>> <!ELEMENT right-boxes(html*)> >>>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> This way every html area in the right-boxes element was its own =20= >>>>>>> Information html section. Ahh but the problem here would be =20 >>>>>>> having a title for each. >>>>>>> >>>>>>> >>>>>>> Adam >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >>>>>>> >>>>>>>> Hi Adam >>>>>>>> >>>>>>>> If you have any further pointers on this that would be great. =20= >>>>>>>> It would really finish of what I've been getting setup here. >>>>>>>> >>>>>>>> Thanks >>>>>>>> Carl >>>>>>>> >>>>>>>> Alex Vigdor wrote: >>>>>>>> >>>>>>>>> Hi Carl, >>>>>>>>> We do something almost identical to what you are describing on = =20 >>>>>>>>> one of our latest sites >>>>>>>>> >>>>>>>>> http://www.columbia.edu/hr/index.html >>>>>>>>> >>>>>>>>> If you navigate across the top-level pages you'll notice that =20= >>>>>>>>> each of them has a slightly different box arrangement. Adam =20= >>>>>>>>> should be able to describe the implementation in more detail, =20= >>>>>>>>> but I believe in XML you could just have a repeating element =20= >>>>>>>>> "right-box" with a single child "html" and an attribute for =20= >>>>>>>>> its title, and in XSL and/or CSS you could set up the actual =20= >>>>>>>>> on-screen positioning. E.g. >>>>>>>>> >>>>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>>>> <!ELEMENT right-box(html)> >>>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>>>> >>>>>>>>> and call different templates with "/page/html" vs. =20 >>>>>>>>> "/page/right-box/html". >>>>>>>>> >>>>>>>>> Alex >>>>>>>>> >>>>>>>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>>>>>>> >>>>>>>>>> Hi Alex >>>>>>>>>> >>>>>>>>>> Thanks for the info on downloads. I'll leave things as they =20= >>>>>>>>>> are and have a look at getting updated to v2 when it's =20 >>>>>>>>>> released. >>>>>>>>>> >>>>>>>>>> I have a question which might not be possible. If you take a =20= >>>>>>>>>> look at the sample page =20 >>>>>>>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will =20= >>>>>>>>>> notice that I have info boxes down the right hand side of the = =20 >>>>>>>>>> page and under the menu items on the left. At the moment I am = =20 >>>>>>>>>> dropping these boxes into editable areas in html form which =20= >>>>>>>>>> works great for me but might not for some of the users on =20 >>>>>>>>>> campus. Is there any way ether now or in future releases of =20= >>>>>>>>>> HyperContent that a user could add as many boxes as the =20 >>>>>>>>>> wanted but not have to worry about any html? So for example, =20= >>>>>>>>>> for the right hand orange boxes the user might be presented =20= >>>>>>>>>> with an option to add 0-3 boxes, then on selection have the =20= >>>>>>>>>> editable text appear for each box. >>>>>>>>>> >>>>>>>>>> Just something that I thought about..... >>>>>>>>>> >>>>>>>>>> Many thanks >>>>>>>>>> Carl >>>>>>>>>> >>>>>>>>>> -- =20 >>>>>>>>>> ************************************ >>>>>>>>>> >>>>>>>>>> Carl Barrow >>>>>>>>>> Web Developer >>>>>>>>>> e-Services >>>>>>>>>> The University of Hull >>>>>>>>>> Cottingham Road >>>>>>>>>> Hull >>>>>>>>>> HU6 7RX >>>>>>>>>> Ext. 6838 >>>>>>>>>> ************************************ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------- >>>>>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>>>>> Get a FREE limited edition SourceForge.net t-shirt from =20 >>>>>>>>>> ThinkGeek. >>>>>>>>>> It's fun and FREE -- well, =20 >>>>>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>>>>> _______________________________________________ >>>>>>>>>> Hypercontent-users mailing list >>>>>>>>>> Hyp...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-=20 >>>>>>>>>> users >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------- >>>>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>>>> Get a FREE limited edition SourceForge.net t-shirt from =20 >>>>>>>>> ThinkGeek. >>>>>>>>> It's fun and FREE -- well, =20 >>>>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>>>> _______________________________________________ >>>>>>>>> Hypercontent-users mailing list >>>>>>>>> Hyp...@li... >>>>>>>>> = https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> --=20 >>>>>>>> ************************************ >>>>>>>> >>>>>>>> Carl Barrow >>>>>>>> Web Developer >>>>>>>> e-Services >>>>>>>> The University of Hull >>>>>>>> Cottingham Road >>>>>>>> Hull >>>>>>>> HU6 7RX >>>>>>>> Ext. 6838 >>>>>>>> ************************************ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20= >>>>>>>> Reporting >>>>>>>> Tool for open source databases. Create drag-&-drop reports. =20 >>>>>>>> Save time >>>>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, =20= >>>>>>>> RTF, etc. >>>>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>>>> _______________________________________________ >>>>>>>> Hypercontent-users mailing list >>>>>>>> Hyp...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>>> >>>>>>> Adam Carl >>>>>>> AIS Web Services >>>>>>> (212) 854-0131 >>>>>>> ac...@co... >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20= >>>>>>> Reporting >>>>>>> Tool for open source databases. Create drag-&-drop reports. Save = =20 >>>>>>> time >>>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, =20 >>>>>>> RTF, etc. >>>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>>> _______________________________________________ >>>>>>> Hypercontent-users mailing list >>>>>>> Hyp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20 >>>>>> Reporting >>>>>> Tool for open source databases. Create drag-&-drop reports. Save =20= >>>>>> time >>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, = =20 >>>>>> etc. >>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>>> >>>>> >>>>> >>>>> --=20 >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20 >>>>> Reporting >>>>> Tool for open source databases. Create drag-&-drop reports. Save =20= >>>>> time >>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, =20= >>>>> etc. >>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20 >>>> Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save =20= >>>> time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, =20= >>>> etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> --=20 >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20 >>> Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save = time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, =20= >>> etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive =20 >> Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, = etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > --=20 > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive = Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-01-26 09:34:25
|
Yeah sure, here’s the basics from the template. If you want my full template sending over then I can do that. <!-- Main page template--> <xsl:template match="/"> <xsl:choose> <xsl:when test="string-length($rightboxlen)!=0"> <xsl:call-template name="rightcolumn"/> </xsl:when> <xsl:otherwise> <xsl:text> </xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template> <!--orange box text--> <xsl:template name="rightcolumn"> <xsl:apply-templates select="/cms:wrapper/cms:source/page/rightcolumn/html mode="right-box"/> </xsl:template> <!--orange box title--> <xsl:call-template name="rightcolumntitle"/> <xsl:apply-templates select="/cms:wrapper/cms:source/page/rightcolumn/@title mode="right-box-title"/> </xsl:template> <!--orange box mode--> <xsl:template match="html" mode="right-box"> <xsl:call-template name="rightcolumntitle"/> <xsl:apply-templates select="."/> </xsl:template> <!--orange box title mode--> <xsl:template match="html" mode="right-box-title"> <xsl:apply-templates select="."/> </xsl:template> Thanks Carl Alex Vigdor wrote: > Carl, > Could you send along the XSL you're applying to this XML? That will > make it easier to understand what might be going wrong. > > Alex > > On Jan 25, 2005, at 6:02 AM, Carl Barrow wrote: > >> Thanks very much for that, all working fine. I have changed things a >> little and set a title on a repeating rightcoloumn element : >> >> <!ELEMENT page (rightcolumn*,bodytext,leftcolumn?)> >> <!ELEMENT rightcolumn (html)> >> <!ELEMENT bodytext (html)> >> <!ELEMENT leftcolumn (html)> >> <!ATTLIST rightcolumn title CDATA #REQUIRED> >> >> I have tried to get the titles into each box but have been having >> trouble. It ether displayed the last one in all the boxes or it >> displayed all the tiles above the boxes. Any Pointers on this? >> >> Thanks >> Carl >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> The trick here is that your right boxes are stored in html elements, >>> which are also used in different contexts in the document. XSL >>> provides the notion of "modes" on templates to allow you to >>> different things with the same elements in different contexts. I.e. >>> >>> <xsl:template name="rightcolumn"> >>> <xsl:apply-templates >>> select="/cms:wrapper/cms:source/page/rightcolumn/html" >>> mode="right-box"/> >>> </xsl:template> >>> >>> <xsl:template match="html" mode="right-box"> >>> <!-- do whatever creates the visual box --> >>> <div class="right-box-style"> >>> <!-- this will pass through to the original, non-moded html template >>> to generate the box contents --> >>> <xsl:apply-templates select="."/> >>> </div> >>> </xsl:template> >>> >>> Alex >>> >>> On Jan 21, 2005, at 6:19 AM, Carl Barrow wrote: >>> >>>> Alex/Adam >>>> >>>> Thanks very much. I have a repeating element for the right boxs in >>>> there and it allows the users to add as many as they want at the >>>> moment, I haven't decided weather I'am going to restrict them, >>>> although I think it might be wise. >>>> >>>> My DTD for the full page content is : >>>> <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> >>>> <!ELEMENT rightboxes (html*)> >>>> <!ELEMENT bodytext (html)> >>>> <!ELEMENT leftcolumn (html)> >>>> <!ATTLIST bodytext CDATA #REQUIRED> >>>> >>>> In my template I have a variable that contains the content of >>>> rightbox/html : >>>> <xsl:variable name="rightboxlen" >>>> select="/cms:wrapper/cms:source/page/rightbox/html" /> >>>> >>>> I then check if that is not 0 and put the box in there : >>>> <xsl:choose> >>>> <xsl:when test="string-length($rightboxlen)=!0"> >>>> <xsl:call-template name="rightcolumn"/> >>>> </xsl:when> >>>> <xsl:otherwise> >>>> <xsl:text> </xsl:text> >>>> </xsl:otherwise> >>>> </xsl:choose> >>>> >>>> The rightcolum template being (taking out html): >>>> <xsl:template name="rightcolumn"> >>>> <xsl:apply-templates >>>> select="/cms:wrapper/cms:source/page/rightcolumn/html"/> >>>> <xsl:if test="$filedate"> >>>> >>>> All works fine....apart from the fact that it puts all the html >>>> elements for rightbox is the same box on the page. I can see why >>>> it's doing that but I can't figure out how to get them in separate >>>> boxes. >>>> >>>> Can you help with that at all? >>>> >>>> Thanks for all you help >>>> Carl >>>> >>>> >>>> At the moment, I'm checking if the >>>> >>>> Alex Vigdor wrote: >>>> >>>>> Well, you could limit it to 3 by explicitly declaring each as a >>>>> separate element: >>>>> >>>>> <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> >>>>> >>>>> It makes for a less appealing DTD, but allows you to keep users >>>>> from trying to add a hundred boxes to a page . . . >>>>> >>>>> Alex >>>>> >>>>> On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: >>>>> >>>>>> Carl, >>>>>> >>>>>> There is no way using the current interface to do the following: >>>>>> >>>>>> " So for example, for the right hand orange boxes the user might >>>>>> be presented with an option to add 0-3 boxes, then on selection >>>>>> have the editable text appear for each box." >>>>>> >>>>>> The standard interface is not that flexible. >>>>>> >>>>>> You could give them the option to add one or more right hand >>>>>> boxes by setting up a dtd. Alex had a good example. >>>>>> >>>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>>> <!ELEMENT right-box(html)> >>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> You could also set it up like this: >>>>>> >>>>>>>> <!ELEMENT page (html,right-boxes)> >>>>>>>> <!ELEMENT right-boxes(html*)> >>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> This way every html area in the right-boxes element was its own >>>>>> Information html section. Ahh but the problem here would be >>>>>> having a title for each. >>>>>> >>>>>> >>>>>> Adam >>>>>> >>>>>> >>>>>> >>>>>> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >>>>>> >>>>>>> Hi Adam >>>>>>> >>>>>>> If you have any further pointers on this that would be great. It >>>>>>> would really finish of what I've been getting setup here. >>>>>>> >>>>>>> Thanks >>>>>>> Carl >>>>>>> >>>>>>> Alex Vigdor wrote: >>>>>>> >>>>>>>> Hi Carl, >>>>>>>> We do something almost identical to what you are describing on >>>>>>>> one of our latest sites >>>>>>>> >>>>>>>> http://www.columbia.edu/hr/index.html >>>>>>>> >>>>>>>> If you navigate across the top-level pages you'll notice that >>>>>>>> each of them has a slightly different box arrangement. Adam >>>>>>>> should be able to describe the implementation in more detail, >>>>>>>> but I believe in XML you could just have a repeating element >>>>>>>> "right-box" with a single child "html" and an attribute for its >>>>>>>> title, and in XSL and/or CSS you could set up the actual >>>>>>>> on-screen positioning. E.g. >>>>>>>> >>>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>>> <!ELEMENT right-box(html)> >>>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>>> >>>>>>>> and call different templates with "/page/html" vs. >>>>>>>> "/page/right-box/html". >>>>>>>> >>>>>>>> Alex >>>>>>>> >>>>>>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>>>>>> >>>>>>>>> Hi Alex >>>>>>>>> >>>>>>>>> Thanks for the info on downloads. I'll leave things as they >>>>>>>>> are and have a look at getting updated to v2 when it's released. >>>>>>>>> >>>>>>>>> I have a question which might not be possible. If you take a >>>>>>>>> look at the sample page >>>>>>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will >>>>>>>>> notice that I have info boxes down the right hand side of the >>>>>>>>> page and under the menu items on the left. At the moment I am >>>>>>>>> dropping these boxes into editable areas in html form which >>>>>>>>> works great for me but might not for some of the users on >>>>>>>>> campus. Is there any way ether now or in future releases of >>>>>>>>> HyperContent that a user could add as many boxes as the wanted >>>>>>>>> but not have to worry about any html? So for example, for the >>>>>>>>> right hand orange boxes the user might be presented with an >>>>>>>>> option to add 0-3 boxes, then on selection have the editable >>>>>>>>> text appear for each box. >>>>>>>>> >>>>>>>>> Just something that I thought about..... >>>>>>>>> >>>>>>>>> Many thanks >>>>>>>>> Carl >>>>>>>>> >>>>>>>>> -- >>>>>>>>> ************************************ >>>>>>>>> >>>>>>>>> Carl Barrow >>>>>>>>> Web Developer >>>>>>>>> e-Services >>>>>>>>> The University of Hull >>>>>>>>> Cottingham Road >>>>>>>>> Hull >>>>>>>>> HU6 7RX >>>>>>>>> Ext. 6838 >>>>>>>>> ************************************ >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------- >>>>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>>>> Get a FREE limited edition SourceForge.net t-shirt from >>>>>>>>> ThinkGeek. >>>>>>>>> It's fun and FREE -- well, >>>>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>>>> _______________________________________________ >>>>>>>>> Hypercontent-users mailing list >>>>>>>>> Hyp...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>>>>> It's fun and FREE -- well, >>>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>>> _______________________________________________ >>>>>>>> Hypercontent-users mailing list >>>>>>>> Hyp...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ************************************ >>>>>>> >>>>>>> Carl Barrow >>>>>>> Web Developer >>>>>>> e-Services >>>>>>> The University of Hull >>>>>>> Cottingham Road >>>>>>> Hull >>>>>>> HU6 7RX >>>>>>> Ext. 6838 >>>>>>> ************************************ >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>>>> Reporting >>>>>>> Tool for open source databases. Create drag-&-drop reports. Save >>>>>>> time >>>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, >>>>>>> RTF, etc. >>>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>>> _______________________________________________ >>>>>>> Hypercontent-users mailing list >>>>>>> Hyp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>> >>>>>> Adam Carl >>>>>> AIS Web Services >>>>>> (212) 854-0131 >>>>>> ac...@co... >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>>> Reporting >>>>>> Tool for open source databases. Create drag-&-drop reports. Save >>>>>> time >>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>>>> etc. >>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>> Reporting >>>>> Tool for open source databases. Create drag-&-drop reports. Save time >>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>>> etc. >>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>> Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-25 19:08:32
|
You should check the sample project definition in the "HyperContent =20 Project Definitions project": the relative paths that point to the =20 build and preview directories were configured for uPortal 2.3.x, so you =20= may have to change the name of the tomcat directory to reflect the =20 newer version that ships with uPortal 2.4.x. Alex On Jan 25, 2005, at 10:25 AM, Bharat Ramachandra - Lynn University =20 wrote: > Thanks Alex. I got it running. I can now see the sample project. But =20= > when I build it, it gives me > > =A0 > > edu.columbia.filesystem.FileSystemException: The filesystem could not =20= > mounted due to faulty arguments - please check your configuration > > edu.columbia.filesystem.FileSystemException: The filesystem could not =20= > mounted due to faulty arguments - please check your configuration > > at =20 > = edu.columbia.filesystem.impl.LocalNonEditioningFileSystemImpl.mount(Loc=20= > alNonEditioningFileSystemImpl.java:73) > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at =20 > = edu.columbia.filesystem.FileSystemFactory.mountFileSystemManager(FileSy=20= > stemFactory.java:13 > > =A0 > > I looked at some help on the forum, but I could not get a concrete =20 > answer. I have the 2 directories build and preview in uportal =20 > deployment. > > =A0 > > Thanks > > Bharath Ramachandra > > =A0 > > > From: Alex Vigdor [mailto:av...@co...] > Sent: Monday, January 24, 2005 4:43 PM > To: Bharat Ramachandra - Lynn University > Cc: hyp...@li... > Subject: Re: [Hypercontent-users] Uportal &Hypercontent > > =A0 > > Hi, > > This has come up before - see > > =A0 > > http://sourceforge.net/mailarchive/forum.php?=20 > thread_id=3D5976347&forum_id=3D38700 > > =A0 > > Basically you just need to do a manual publish of the channel - the =20= > rest of the installation process went fine. > > =A0 > > Alex > > =A0 > > On Jan 24, 2005, at 4:32 PM, Bharat Ramachandra - Lynn University =20 > wrote: > > =A0 > > Hi, > > =A0 > > =A0=A0=A0=A0=A0I=92 trying to integrate uportal Quick start with = Hypercontent. =20 > When I run the ant script I get the following error. > > =A0 > > =A0=A0Has anybody come across this error. > > =A0 > > =A0 > > =A0 > > Buildfile: build.xml > > =A0 > > prepare: > > =A0 > > compile: > > =A0 > > copy-stylesheets: > > =A0 > > jar: > > =A0 > > deploy: > > =A0 > > publish: > > =A0 > > =A0=A0=A0=A0 [echo] Attemping to publish Content Manager channel > > =A0 > > =A0=A0=A0=A0 [java] java.lang.NoClassDefFoundError: =20 > org/apache/pluto/om/common/PreferenceSet > > =A0 > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at java.lang.Class.forName0(Native = Method) > > =A0 > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at = java.lang.Class.forName(Class.java:141) > > =A0 > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at =20 > = org.jasig.portal.ChannelRegistryStoreFactory.<clinit>(ChannelRegistrySt=20= > oreFactory.java:62) > > =A0 > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at =20 > edu.columbia.hypercontent.util.AutoPublish.main(AutoPublish.java:53) > > =A0 > > =A0=A0=A0=A0 [java] Exception in thread "main" > > =A0 > > =A0=A0=A0=A0 [java] Java Result: 1 > > =A0 > > =A0 > > =A0 > > copyzips: > > =A0 > > =A0=A0=A0=A0 [echo] Attempting to copy project definitions into = repository > > =A0 > > =A0=A0=A0=A0 [java] Installed 0 files to =20 > ..//hypercontent-repositories/project-definitions/ > > =A0 > > =A0=A0=A0=A0 [echo] Attempting to copy sample project data into = repository > > =A0 > > =A0=A0=A0=A0 [echo] please be patient > > =A0 > > =A0=A0=A0=A0 [java] Installed 0 files to =20 > ..//hypercontent-repositories/hypercontent-site/ > > =A0 > > =A0 > > =A0 > > install: > > =A0 > > =A0=A0=A0=A0 [echo] Installed HyperContent v1.4 > > =A0 > > =A0 > > =A0 > > BUILD SUCCESSFUL > > =A0 > > Total time: 20 seconds > > =A0 > > =A0 > > =A0 > > Thanks > > =A0 > > B > > =A0 > > =A0 |
From: Alex V. <av...@co...> - 2005-01-25 19:05:56
|
Carl, Could you send along the XSL you're applying to this XML? That will make it easier to understand what might be going wrong. Alex On Jan 25, 2005, at 6:02 AM, Carl Barrow wrote: > Thanks very much for that, all working fine. I have changed things a > little and set a title on a repeating rightcoloumn element : > > <!ELEMENT page (rightcolumn*,bodytext,leftcolumn?)> > <!ELEMENT rightcolumn (html)> > <!ELEMENT bodytext (html)> > <!ELEMENT leftcolumn (html)> > <!ATTLIST rightcolumn title CDATA #REQUIRED> > > I have tried to get the titles into each box but have been having > trouble. It ether displayed the last one in all the boxes or it > displayed all the tiles above the boxes. Any Pointers on this? > > Thanks > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> The trick here is that your right boxes are stored in html >> elements, which are also used in different contexts in the document. >> XSL provides the notion of "modes" on templates to allow you to >> different things with the same elements in different contexts. I.e. >> >> <xsl:template name="rightcolumn"> >> <xsl:apply-templates >> select="/cms:wrapper/cms:source/page/rightcolumn/html" >> mode="right-box"/> >> </xsl:template> >> >> <xsl:template match="html" mode="right-box"> >> <!-- do whatever creates the visual box --> >> <div class="right-box-style"> >> <!-- this will pass through to the original, non-moded html >> template to generate the box contents --> >> <xsl:apply-templates select="."/> >> </div> >> </xsl:template> >> >> Alex >> >> On Jan 21, 2005, at 6:19 AM, Carl Barrow wrote: >> >>> Alex/Adam >>> >>> Thanks very much. I have a repeating element for the right boxs in >>> there and it allows the users to add as many as they want at the >>> moment, I haven't decided weather I'am going to restrict them, >>> although I think it might be wise. >>> >>> My DTD for the full page content is : >>> <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> >>> <!ELEMENT rightboxes (html*)> >>> <!ELEMENT bodytext (html)> >>> <!ELEMENT leftcolumn (html)> >>> <!ATTLIST bodytext CDATA #REQUIRED> >>> >>> In my template I have a variable that contains the content of >>> rightbox/html : >>> <xsl:variable name="rightboxlen" >>> select="/cms:wrapper/cms:source/page/rightbox/html" /> >>> >>> I then check if that is not 0 and put the box in there : >>> <xsl:choose> >>> <xsl:when test="string-length($rightboxlen)=!0"> >>> <xsl:call-template name="rightcolumn"/> >>> </xsl:when> >>> <xsl:otherwise> >>> <xsl:text> </xsl:text> >>> </xsl:otherwise> >>> </xsl:choose> >>> >>> The rightcolum template being (taking out html): >>> <xsl:template name="rightcolumn"> >>> <xsl:apply-templates >>> select="/cms:wrapper/cms:source/page/rightcolumn/html"/> >>> <xsl:if test="$filedate"> >>> >>> All works fine....apart from the fact that it puts all the html >>> elements for rightbox is the same box on the page. I can see why >>> it's doing that but I can't figure out how to get them in separate >>> boxes. >>> >>> Can you help with that at all? >>> >>> Thanks for all you help >>> Carl >>> >>> >>> At the moment, I'm checking if the >>> >>> Alex Vigdor wrote: >>> >>>> Well, you could limit it to 3 by explicitly declaring each as a >>>> separate element: >>>> >>>> <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> >>>> >>>> It makes for a less appealing DTD, but allows you to keep users >>>> from trying to add a hundred boxes to a page . . . >>>> >>>> Alex >>>> >>>> On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: >>>> >>>>> Carl, >>>>> >>>>> There is no way using the current interface to do the following: >>>>> >>>>> " So for example, for the right hand orange boxes the user might >>>>> be presented with an option to add 0-3 boxes, then on selection >>>>> have the editable text appear for each box." >>>>> >>>>> The standard interface is not that flexible. >>>>> >>>>> You could give them the option to add one or more right hand boxes >>>>> by setting up a dtd. Alex had a good example. >>>>> >>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>> <!ELEMENT right-box(html)> >>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>> >>>>>> >>>>> >>>>> You could also set it up like this: >>>>> >>>>>>> <!ELEMENT page (html,right-boxes)> >>>>>>> <!ELEMENT right-boxes(html*)> >>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>> >>>>>> >>>>> >>>>> This way every html area in the right-boxes element was its own >>>>> Information html section. Ahh but the problem here would be having >>>>> a title for each. >>>>> >>>>> >>>>> Adam >>>>> >>>>> >>>>> >>>>> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >>>>> >>>>>> Hi Adam >>>>>> >>>>>> If you have any further pointers on this that would be great. It >>>>>> would really finish of what I've been getting setup here. >>>>>> >>>>>> Thanks >>>>>> Carl >>>>>> >>>>>> Alex Vigdor wrote: >>>>>> >>>>>>> Hi Carl, >>>>>>> We do something almost identical to what you are describing >>>>>>> on one of our latest sites >>>>>>> >>>>>>> http://www.columbia.edu/hr/index.html >>>>>>> >>>>>>> If you navigate across the top-level pages you'll notice that >>>>>>> each of them has a slightly different box arrangement. Adam >>>>>>> should be able to describe the implementation in more detail, >>>>>>> but I believe in XML you could just have a repeating element >>>>>>> "right-box" with a single child "html" and an attribute for its >>>>>>> title, and in XSL and/or CSS you could set up the actual >>>>>>> on-screen positioning. E.g. >>>>>>> >>>>>>> <!ELEMENT page (html,right-box*)> >>>>>>> <!ELEMENT right-box(html)> >>>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>>> >>>>>>> and call different templates with "/page/html" vs. >>>>>>> "/page/right-box/html". >>>>>>> >>>>>>> Alex >>>>>>> >>>>>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>>>>> >>>>>>>> Hi Alex >>>>>>>> >>>>>>>> Thanks for the info on downloads. I'll leave things as they >>>>>>>> are and have a look at getting updated to v2 when it's >>>>>>>> released. >>>>>>>> >>>>>>>> I have a question which might not be possible. If you take a >>>>>>>> look at the sample page >>>>>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will >>>>>>>> notice that I have info boxes down the right hand side of the >>>>>>>> page and under the menu items on the left. At the moment I am >>>>>>>> dropping these boxes into editable areas in html form which >>>>>>>> works great for me but might not for some of the users on >>>>>>>> campus. Is there any way ether now or in future releases of >>>>>>>> HyperContent that a user could add as many boxes as the wanted >>>>>>>> but not have to worry about any html? So for example, for the >>>>>>>> right hand orange boxes the user might be presented with an >>>>>>>> option to add 0-3 boxes, then on selection have the editable >>>>>>>> text appear for each box. >>>>>>>> >>>>>>>> Just something that I thought about..... >>>>>>>> >>>>>>>> Many thanks >>>>>>>> Carl >>>>>>>> >>>>>>>> -- >>>>>>>> ************************************ >>>>>>>> >>>>>>>> Carl Barrow >>>>>>>> Web Developer >>>>>>>> e-Services >>>>>>>> The University of Hull >>>>>>>> Cottingham Road >>>>>>>> Hull >>>>>>>> HU6 7RX >>>>>>>> Ext. 6838 >>>>>>>> ************************************ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>>> Get a FREE limited edition SourceForge.net t-shirt from >>>>>>>> ThinkGeek. >>>>>>>> It's fun and FREE -- well, >>>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>>> _______________________________________________ >>>>>>>> Hypercontent-users mailing list >>>>>>>> Hyp...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>> Get a FREE limited edition SourceForge.net t-shirt from >>>>>>> ThinkGeek. >>>>>>> It's fun and FREE -- well, >>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>> _______________________________________________ >>>>>>> Hypercontent-users mailing list >>>>>>> Hyp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ************************************ >>>>>> >>>>>> Carl Barrow >>>>>> Web Developer >>>>>> e-Services >>>>>> The University of Hull >>>>>> Cottingham Road >>>>>> Hull >>>>>> HU6 7RX >>>>>> Ext. 6838 >>>>>> ************************************ >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>>> Reporting >>>>>> Tool for open source databases. Create drag-&-drop reports. Save >>>>>> time >>>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>>>> etc. >>>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>> >>>>> Adam Carl >>>>> AIS Web Services >>>>> (212) 854-0131 >>>>> ac...@co... >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>> Reporting >>>>> Tool for open source databases. Create drag-&-drop reports. Save >>>>> time >>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>>> etc. >>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>> Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save >>>> time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>> etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>> Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>> etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >> Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2005-01-25 10:59:20
|
Thanks very much for that, all working fine. I have changed things a little and set a title on a repeating rightcoloumn element : <!ELEMENT page (rightcolumn*,bodytext,leftcolumn?)> <!ELEMENT rightcolumn (html)> <!ELEMENT bodytext (html)> <!ELEMENT leftcolumn (html)> <!ATTLIST rightcolumn title CDATA #REQUIRED> I have tried to get the titles into each box but have been having trouble. It ether displayed the last one in all the boxes or it displayed all the tiles above the boxes. Any Pointers on this? Thanks Carl Alex Vigdor wrote: > Hi Carl, > The trick here is that your right boxes are stored in html > elements, which are also used in different contexts in the document. > XSL provides the notion of "modes" on templates to allow you to > different things with the same elements in different contexts. I.e. > > <xsl:template name="rightcolumn"> > <xsl:apply-templates > select="/cms:wrapper/cms:source/page/rightcolumn/html" mode="right-box"/> > </xsl:template> > > <xsl:template match="html" mode="right-box"> > <!-- do whatever creates the visual box --> > <div class="right-box-style"> > <!-- this will pass through to the original, non-moded html > template to generate the box contents --> > <xsl:apply-templates select="."/> > </div> > </xsl:template> > > Alex > > On Jan 21, 2005, at 6:19 AM, Carl Barrow wrote: > >> Alex/Adam >> >> Thanks very much. I have a repeating element for the right boxs in >> there and it allows the users to add as many as they want at the >> moment, I haven't decided weather I'am going to restrict them, >> although I think it might be wise. >> >> My DTD for the full page content is : >> <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> >> <!ELEMENT rightboxes (html*)> >> <!ELEMENT bodytext (html)> >> <!ELEMENT leftcolumn (html)> >> <!ATTLIST bodytext CDATA #REQUIRED> >> >> In my template I have a variable that contains the content of >> rightbox/html : >> <xsl:variable name="rightboxlen" >> select="/cms:wrapper/cms:source/page/rightbox/html" /> >> >> I then check if that is not 0 and put the box in there : >> <xsl:choose> >> <xsl:when test="string-length($rightboxlen)=!0"> >> <xsl:call-template name="rightcolumn"/> >> </xsl:when> >> <xsl:otherwise> >> <xsl:text> </xsl:text> >> </xsl:otherwise> >> </xsl:choose> >> >> The rightcolum template being (taking out html): >> <xsl:template name="rightcolumn"> >> <xsl:apply-templates >> select="/cms:wrapper/cms:source/page/rightcolumn/html"/> >> <xsl:if test="$filedate"> >> >> All works fine....apart from the fact that it puts all the html >> elements for rightbox is the same box on the page. I can see why >> it's doing that but I can't figure out how to get them in separate >> boxes. >> >> Can you help with that at all? >> >> Thanks for all you help >> Carl >> >> >> At the moment, I'm checking if the >> >> Alex Vigdor wrote: >> >>> Well, you could limit it to 3 by explicitly declaring each as a >>> separate element: >>> >>> <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> >>> >>> It makes for a less appealing DTD, but allows you to keep users from >>> trying to add a hundred boxes to a page . . . >>> >>> Alex >>> >>> On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: >>> >>>> Carl, >>>> >>>> There is no way using the current interface to do the following: >>>> >>>> " So for example, for the right hand orange boxes the user might be >>>> presented with an option to add 0-3 boxes, then on selection have >>>> the editable text appear for each box." >>>> >>>> The standard interface is not that flexible. >>>> >>>> You could give them the option to add one or more right hand boxes >>>> by setting up a dtd. Alex had a good example. >>>> >>>>>> <!ELEMENT page (html,right-box*)> >>>>>> <!ELEMENT right-box(html)> >>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>> >>>>> >>>> >>>> You could also set it up like this: >>>> >>>>>> <!ELEMENT page (html,right-boxes)> >>>>>> <!ELEMENT right-boxes(html*)> >>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>> >>>>> >>>> >>>> This way every html area in the right-boxes element was its own >>>> Information html section. Ahh but the problem here would be having >>>> a title for each. >>>> >>>> >>>> Adam >>>> >>>> >>>> >>>> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >>>> >>>>> Hi Adam >>>>> >>>>> If you have any further pointers on this that would be great. It >>>>> would really finish of what I've been getting setup here. >>>>> >>>>> Thanks >>>>> Carl >>>>> >>>>> Alex Vigdor wrote: >>>>> >>>>>> Hi Carl, >>>>>> We do something almost identical to what you are describing >>>>>> on one of our latest sites >>>>>> >>>>>> http://www.columbia.edu/hr/index.html >>>>>> >>>>>> If you navigate across the top-level pages you'll notice that >>>>>> each of them has a slightly different box arrangement. Adam >>>>>> should be able to describe the implementation in more detail, but >>>>>> I believe in XML you could just have a repeating element >>>>>> "right-box" with a single child "html" and an attribute for its >>>>>> title, and in XSL and/or CSS you could set up the actual >>>>>> on-screen positioning. E.g. >>>>>> >>>>>> <!ELEMENT page (html,right-box*)> >>>>>> <!ELEMENT right-box(html)> >>>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>>> >>>>>> and call different templates with "/page/html" vs. >>>>>> "/page/right-box/html". >>>>>> >>>>>> Alex >>>>>> >>>>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>>>> >>>>>>> Hi Alex >>>>>>> >>>>>>> Thanks for the info on downloads. I'll leave things as they are >>>>>>> and have a look at getting updated to v2 when it's released. >>>>>>> >>>>>>> I have a question which might not be possible. If you take a >>>>>>> look at the sample page >>>>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will >>>>>>> notice that I have info boxes down the right hand side of the >>>>>>> page and under the menu items on the left. At the moment I am >>>>>>> dropping these boxes into editable areas in html form which >>>>>>> works great for me but might not for some of the users on >>>>>>> campus. Is there any way ether now or in future releases of >>>>>>> HyperContent that a user could add as many boxes as the wanted >>>>>>> but not have to worry about any html? So for example, for the >>>>>>> right hand orange boxes the user might be presented with an >>>>>>> option to add 0-3 boxes, then on selection have the editable >>>>>>> text appear for each box. >>>>>>> >>>>>>> Just something that I thought about..... >>>>>>> >>>>>>> Many thanks >>>>>>> Carl >>>>>>> >>>>>>> -- >>>>>>> ************************************ >>>>>>> >>>>>>> Carl Barrow >>>>>>> Web Developer >>>>>>> e-Services >>>>>>> The University of Hull >>>>>>> Cottingham Road >>>>>>> Hull >>>>>>> HU6 7RX >>>>>>> Ext. 6838 >>>>>>> ************************************ >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>>>> It's fun and FREE -- well, >>>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>>> _______________________________________________ >>>>>>> Hypercontent-users mailing list >>>>>>> Hyp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>>> It's fun and FREE -- well, >>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>> Reporting >>>>> Tool for open source databases. Create drag-&-drop reports. Save time >>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>>> etc. >>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>> Adam Carl >>>> AIS Web Services >>>> (212) 854-0131 >>>> ac...@co... >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>> Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-24 21:42:57
|
Hi, This has come up before - see http://sourceforge.net/mailarchive/forum.php?=20 thread_id=3D5976347&forum_id=3D38700 Basically you just need to do a manual publish of the channel - the =20 rest of the installation process went fine. Alex On Jan 24, 2005, at 4:32 PM, Bharat Ramachandra - Lynn University wrote: > Hi, > > =A0=A0=A0=A0=A0I=92 trying to integrate uportal Quick start with = Hypercontent. =20 > When I run the ant script I get the following error. > > =A0=A0Has anybody come across this error. > > =A0 > > Buildfile: build.xml > > prepare: > > compile: > > copy-stylesheets: > > jar: > > deploy: > > publish: > > =A0=A0=A0=A0 [echo] Attemping to publish Content Manager channel > > =A0=A0=A0=A0 [java] java.lang.NoClassDefFoundError: =20 > org/apache/pluto/om/common/PreferenceSet > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at java.lang.Class.forName0(Native = Method) > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at = java.lang.Class.forName(Class.java:141) > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at =20 > = org.jasig.portal.ChannelRegistryStoreFactory.<clinit>(ChannelRegistrySt=20= > oreFactory.java:62) > > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at =20 > edu.columbia.hypercontent.util.AutoPublish.main(AutoPublish.java:53) > > =A0=A0=A0=A0 [java] Exception in thread "main" > > =A0=A0=A0=A0 [java] Java Result: 1 > > =A0 > > copyzips: > > =A0=A0=A0=A0 [echo] Attempting to copy project definitions into = repository > > =A0=A0=A0=A0 [java] Installed 0 files to =20 > ..//hypercontent-repositories/project-definitions/ > > =A0=A0=A0=A0 [echo] Attempting to copy sample project data into = repository > > =A0=A0=A0=A0 [echo] please be patient > > =A0=A0=A0=A0 [java] Installed 0 files to =20 > ..//hypercontent-repositories/hypercontent-site/ > > =A0 > > install: > > =A0=A0=A0=A0 [echo] Installed HyperContent v1.4 > > =A0 > > BUILD SUCCESSFUL > > Total time: 20 seconds > > =A0 > > Thanks > > B > > =A0 |
From: Bharat R. - L. U. <BRa...@ly...> - 2005-01-24 21:32:22
|
Hi, I' trying to integrate uportal Quick start with Hypercontent. When I run the ant script I get the following error. Has anybody come across this error. =20 Buildfile: build.xml prepare: compile: copy-stylesheets: jar: deploy: publish: [echo] Attemping to publish Content Manager channel [java] java.lang.NoClassDefFoundError: org/apache/pluto/om/common/PreferenceSet [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:141) [java] at org.jasig.portal.ChannelRegistryStoreFactory.<clinit>(ChannelRegistrySto reFactory.java:62) [java] at edu.columbia.hypercontent.util.AutoPublish.main(AutoPublish.java:53) [java] Exception in thread "main" [java] Java Result: 1 =20 copyzips: [echo] Attempting to copy project definitions into repository [java] Installed 0 files to ..//hypercontent-repositories/project-definitions/ [echo] Attempting to copy sample project data into repository [echo] please be patient [java] Installed 0 files to ..//hypercontent-repositories/hypercontent-site/ =20 install: [echo] Installed HyperContent v1.4 =20 BUILD SUCCESSFUL Total time: 20 seconds =20 Thanks B =20 |
From: Alex V. <av...@co...> - 2005-01-21 14:36:08
|
Hi Carl, The trick here is that your right boxes are stored in html elements, which are also used in different contexts in the document. XSL provides the notion of "modes" on templates to allow you to different things with the same elements in different contexts. I.e. <xsl:template name="rightcolumn"> <xsl:apply-templates select="/cms:wrapper/cms:source/page/rightcolumn/html" mode="right-box"/> </xsl:template> <xsl:template match="html" mode="right-box"> <!-- do whatever creates the visual box --> <div class="right-box-style"> <!-- this will pass through to the original, non-moded html template to generate the box contents --> <xsl:apply-templates select="."/> </div> </xsl:template> Alex On Jan 21, 2005, at 6:19 AM, Carl Barrow wrote: > Alex/Adam > > Thanks very much. I have a repeating element for the right boxs in > there and it allows the users to add as many as they want at the > moment, I haven't decided weather I'am going to restrict them, > although I think it might be wise. > > My DTD for the full page content is : > <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> > <!ELEMENT rightboxes (html*)> > <!ELEMENT bodytext (html)> > <!ELEMENT leftcolumn (html)> > <!ATTLIST bodytext CDATA #REQUIRED> > > In my template I have a variable that contains the content of > rightbox/html : > <xsl:variable name="rightboxlen" > select="/cms:wrapper/cms:source/page/rightbox/html" /> > > I then check if that is not 0 and put the box in there : > <xsl:choose> > <xsl:when test="string-length($rightboxlen)=!0"> > <xsl:call-template name="rightcolumn"/> > </xsl:when> > <xsl:otherwise> > <xsl:text> </xsl:text> > </xsl:otherwise> > </xsl:choose> > > The rightcolum template being (taking out html): > <xsl:template name="rightcolumn"> > <xsl:apply-templates > select="/cms:wrapper/cms:source/page/rightcolumn/html"/> > <xsl:if test="$filedate"> > > All works fine....apart from the fact that it puts all the html > elements for rightbox is the same box on the page. I can see why it's > doing that but I can't figure out how to get them in separate boxes. > > Can you help with that at all? > > Thanks for all you help > Carl > > > At the moment, I'm checking if the > > Alex Vigdor wrote: > >> Well, you could limit it to 3 by explicitly declaring each as a >> separate element: >> >> <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> >> >> It makes for a less appealing DTD, but allows you to keep users from >> trying to add a hundred boxes to a page . . . >> >> Alex >> >> On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: >> >>> Carl, >>> >>> There is no way using the current interface to do the following: >>> >>> " So for example, for the right hand orange boxes the user might be >>> presented with an option to add 0-3 boxes, then on selection have >>> the editable text appear for each box." >>> >>> The standard interface is not that flexible. >>> >>> You could give them the option to add one or more right hand boxes >>> by setting up a dtd. Alex had a good example. >>> >>>>> <!ELEMENT page (html,right-box*)> >>>>> <!ELEMENT right-box(html)> >>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>> >>> >>> You could also set it up like this: >>> >>>>> <!ELEMENT page (html,right-boxes)> >>>>> <!ELEMENT right-boxes(html*)> >>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>> >>> >>> This way every html area in the right-boxes element was its own >>> Information html section. Ahh but the problem here would be having a >>> title for each. >>> >>> >>> Adam >>> >>> >>> >>> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >>> >>>> Hi Adam >>>> >>>> If you have any further pointers on this that would be great. It >>>> would really finish of what I've been getting setup here. >>>> >>>> Thanks >>>> Carl >>>> >>>> Alex Vigdor wrote: >>>> >>>>> Hi Carl, >>>>> We do something almost identical to what you are describing on >>>>> one of our latest sites >>>>> >>>>> http://www.columbia.edu/hr/index.html >>>>> >>>>> If you navigate across the top-level pages you'll notice that each >>>>> of them has a slightly different box arrangement. Adam should be >>>>> able to describe the implementation in more detail, but I believe >>>>> in XML you could just have a repeating element "right-box" with a >>>>> single child "html" and an attribute for its title, and in XSL >>>>> and/or CSS you could set up the actual on-screen positioning. >>>>> E.g. >>>>> >>>>> <!ELEMENT page (html,right-box*)> >>>>> <!ELEMENT right-box(html)> >>>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>>> >>>>> and call different templates with "/page/html" vs. >>>>> "/page/right-box/html". >>>>> >>>>> Alex >>>>> >>>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>>> >>>>>> Hi Alex >>>>>> >>>>>> Thanks for the info on downloads. I'll leave things as they are >>>>>> and have a look at getting updated to v2 when it's released. >>>>>> >>>>>> I have a question which might not be possible. If you take a >>>>>> look at the sample page >>>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will >>>>>> notice that I have info boxes down the right hand side of the >>>>>> page and under the menu items on the left. At the moment I am >>>>>> dropping these boxes into editable areas in html form which works >>>>>> great for me but might not for some of the users on campus. Is >>>>>> there any way ether now or in future releases of HyperContent >>>>>> that a user could add as many boxes as the wanted but not have to >>>>>> worry about any html? So for example, for the right hand orange >>>>>> boxes the user might be presented with an option to add 0-3 >>>>>> boxes, then on selection have the editable text appear for each >>>>>> box. >>>>>> >>>>>> Just something that I thought about..... >>>>>> >>>>>> Many thanks >>>>>> Carl >>>>>> >>>>>> -- >>>>>> ************************************ >>>>>> >>>>>> Carl Barrow >>>>>> Web Developer >>>>>> e-Services >>>>>> The University of Hull >>>>>> Cottingham Road >>>>>> Hull >>>>>> HU6 7RX >>>>>> Ext. 6838 >>>>>> ************************************ >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>>> It's fun and FREE -- well, >>>>>> almost....http://www.thinkgeek.com/sfshirt >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>> It's fun and FREE -- well, >>>>> almost....http://www.thinkgeek.com/sfshirt >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>> Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save >>>> time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>>> etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>> Adam Carl >>> AIS Web Services >>> (212) 854-0131 >>> ac...@co... >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>> Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, >>> etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >> Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-01-21 11:16:34
|
Alex/Adam Thanks very much. I have a repeating element for the right boxs in there and it allows the users to add as many as they want at the moment, I haven't decided weather I'am going to restrict them, although I think it might be wise. My DTD for the full page content is : <!ELEMENT page (rightboxes,bodytext,leftcolumn?)> <!ELEMENT rightboxes (html*)> <!ELEMENT bodytext (html)> <!ELEMENT leftcolumn (html)> <!ATTLIST bodytext CDATA #REQUIRED> In my template I have a variable that contains the content of rightbox/html : <xsl:variable name="rightboxlen" select="/cms:wrapper/cms:source/page/rightbox/html" /> I then check if that is not 0 and put the box in there : <xsl:choose> <xsl:when test="string-length($rightboxlen)=!0"> <xsl:call-template name="rightcolumn"/> </xsl:when> <xsl:otherwise> <xsl:text> </xsl:text> </xsl:otherwise> </xsl:choose> The rightcolum template being (taking out html): <xsl:template name="rightcolumn"> <xsl:apply-templates select="/cms:wrapper/cms:source/page/rightcolumn/html"/> <xsl:if test="$filedate"> All works fine....apart from the fact that it puts all the html elements for rightbox is the same box on the page. I can see why it's doing that but I can't figure out how to get them in separate boxes. Can you help with that at all? Thanks for all you help Carl At the moment, I'm checking if the Alex Vigdor wrote: > Well, you could limit it to 3 by explicitly declaring each as a > separate element: > > <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> > > It makes for a less appealing DTD, but allows you to keep users from > trying to add a hundred boxes to a page . . . > > Alex > > On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: > >> Carl, >> >> There is no way using the current interface to do the following: >> >> " So for example, for the right hand orange boxes the user might be >> presented with an option to add 0-3 boxes, then on selection have the >> editable text appear for each box." >> >> The standard interface is not that flexible. >> >> You could give them the option to add one or more right hand boxes by >> setting up a dtd. Alex had a good example. >> >>>> <!ELEMENT page (html,right-box*)> >>>> <!ELEMENT right-box(html)> >>>> <!ATTLIST right-box title CDATA #REQUIRED> >>> >> >> You could also set it up like this: >> >>>> <!ELEMENT page (html,right-boxes)> >>>> <!ELEMENT right-boxes(html*)> >>>> <!ATTLIST right-box title CDATA #REQUIRED> >>> >> >> This way every html area in the right-boxes element was its own >> Information html section. Ahh but the problem here would be having a >> title for each. >> >> >> Adam >> >> >> >> On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: >> >>> Hi Adam >>> >>> If you have any further pointers on this that would be great. It >>> would really finish of what I've been getting setup here. >>> >>> Thanks >>> Carl >>> >>> Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> We do something almost identical to what you are describing on >>>> one of our latest sites >>>> >>>> http://www.columbia.edu/hr/index.html >>>> >>>> If you navigate across the top-level pages you'll notice that each >>>> of them has a slightly different box arrangement. Adam should be >>>> able to describe the implementation in more detail, but I believe >>>> in XML you could just have a repeating element "right-box" with a >>>> single child "html" and an attribute for its title, and in XSL >>>> and/or CSS you could set up the actual on-screen positioning. E.g. >>>> >>>> <!ELEMENT page (html,right-box*)> >>>> <!ELEMENT right-box(html)> >>>> <!ATTLIST right-box title CDATA #REQUIRED> >>>> >>>> and call different templates with "/page/html" vs. >>>> "/page/right-box/html". >>>> >>>> Alex >>>> >>>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>>> >>>>> Hi Alex >>>>> >>>>> Thanks for the info on downloads. I'll leave things as they are >>>>> and have a look at getting updated to v2 when it's released. >>>>> >>>>> I have a question which might not be possible. If you take a look >>>>> at the sample page >>>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will >>>>> notice that I have info boxes down the right hand side of the >>>>> page and under the menu items on the left. At the moment I am >>>>> dropping these boxes into editable areas in html form which works >>>>> great for me but might not for some of the users on campus. Is >>>>> there any way ether now or in future releases of HyperContent that >>>>> a user could add as many boxes as the wanted but not have to worry >>>>> about any html? So for example, for the right hand orange boxes >>>>> the user might be presented with an option to add 0-3 boxes, then >>>>> on selection have the editable text appear for each box. >>>>> >>>>> Just something that I thought about..... >>>>> >>>>> Many thanks >>>>> Carl >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>> Tool for open source databases. Create drag-&-drop reports. Save time >>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >> Adam Carl >> AIS Web Services >> (212) 854-0131 >> ac...@co... >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-20 16:27:03
|
Well, you could limit it to 3 by explicitly declaring each as a separate element: <!ELEMENT page (html,right-box1*,right-box2*,right-box3*)> It makes for a less appealing DTD, but allows you to keep users from trying to add a hundred boxes to a page . . . Alex On Jan 20, 2005, at 11:13 AM, Adam Carl wrote: > Carl, > > There is no way using the current interface to do the following: > > " So for example, for the right hand orange boxes the user might be > presented with an option to add 0-3 boxes, then on selection have the > editable text appear for each box." > > The standard interface is not that flexible. > > You could give them the option to add one or more right hand boxes by > setting up a dtd. Alex had a good example. > >>> <!ELEMENT page (html,right-box*)> >>> <!ELEMENT right-box(html)> >>> <!ATTLIST right-box title CDATA #REQUIRED> > > You could also set it up like this: >>> <!ELEMENT page (html,right-boxes)> >>> <!ELEMENT right-boxes(html*)> >>> <!ATTLIST right-box title CDATA #REQUIRED> > > This way every html area in the right-boxes element was its own > Information html section. Ahh but the problem here would be having a > title for each. > > > Adam > > > > On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: > >> Hi Adam >> >> If you have any further pointers on this that would be great. It >> would really finish of what I've been getting setup here. >> >> Thanks >> Carl >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> We do something almost identical to what you are describing on >>> one of our latest sites >>> >>> http://www.columbia.edu/hr/index.html >>> >>> If you navigate across the top-level pages you'll notice that each >>> of them has a slightly different box arrangement. Adam should be >>> able to describe the implementation in more detail, but I believe in >>> XML you could just have a repeating element "right-box" with a >>> single child "html" and an attribute for its title, and in XSL >>> and/or CSS you could set up the actual on-screen positioning. E.g. >>> >>> <!ELEMENT page (html,right-box*)> >>> <!ELEMENT right-box(html)> >>> <!ATTLIST right-box title CDATA #REQUIRED> >>> >>> and call different templates with "/page/html" vs. >>> "/page/right-box/html". >>> >>> Alex >>> >>> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >>> >>>> Hi Alex >>>> >>>> Thanks for the info on downloads. I'll leave things as they are >>>> and have a look at getting updated to v2 when it's released. >>>> >>>> I have a question which might not be possible. If you take a look >>>> at the sample page >>>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will notice >>>> that I have info boxes down the right hand side of the page and >>>> under the menu items on the left. At the moment I am dropping >>>> these boxes into editable areas in html form which works great for >>>> me but might not for some of the users on campus. Is there any way >>>> ether now or in future releases of HyperContent that a user could >>>> add as many boxes as the wanted but not have to worry about any >>>> html? So for example, for the right hand orange boxes the user >>>> might be presented with an option to add 0-3 boxes, then on >>>> selection have the editable text appear for each box. >>>> >>>> Just something that I thought about..... >>>> >>>> Many thanks >>>> Carl >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>> It's fun and FREE -- well, >>>> almost....http://www.thinkgeek.com/sfshirt >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >> Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > Adam Carl > AIS Web Services > (212) 854-0131 > ac...@co... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Adam C. <ac...@co...> - 2005-01-20 16:09:48
|
Carl, There is no way using the current interface to do the following: " So for example, for the right hand orange boxes the user might be presented with an option to add 0-3 boxes, then on selection have the editable text appear for each box." The standard interface is not that flexible. You could give them the option to add one or more right hand boxes by setting up a dtd. Alex had a good example. >> <!ELEMENT page (html,right-box*)> >> <!ELEMENT right-box(html)> >> <!ATTLIST right-box title CDATA #REQUIRED> You could also set it up like this: >> <!ELEMENT page (html,right-boxes)> >> <!ELEMENT right-boxes(html*)> >> <!ATTLIST right-box title CDATA #REQUIRED> This way every html area in the right-boxes element was its own Information html section. Ahh but the problem here would be having a title for each. Adam On Jan 20, 2005, at 4:05 AM, Carl Barrow wrote: > Hi Adam > > If you have any further pointers on this that would be great. It > would really finish of what I've been getting setup here. > > Thanks > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> We do something almost identical to what you are describing on >> one of our latest sites >> >> http://www.columbia.edu/hr/index.html >> >> If you navigate across the top-level pages you'll notice that each of >> them has a slightly different box arrangement. Adam should be able >> to describe the implementation in more detail, but I believe in XML >> you could just have a repeating element "right-box" with a single >> child "html" and an attribute for its title, and in XSL and/or CSS >> you could set up the actual on-screen positioning. E.g. >> >> <!ELEMENT page (html,right-box*)> >> <!ELEMENT right-box(html)> >> <!ATTLIST right-box title CDATA #REQUIRED> >> >> and call different templates with "/page/html" vs. >> "/page/right-box/html". >> >> Alex >> >> On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Thanks for the info on downloads. I'll leave things as they are and >>> have a look at getting updated to v2 when it's released. >>> >>> I have a question which might not be possible. If you take a look >>> at the sample page >>> http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will notice >>> that I have info boxes down the right hand side of the page and >>> under the menu items on the left. At the moment I am dropping these >>> boxes into editable areas in html form which works great for me but >>> might not for some of the users on campus. Is there any way ether >>> now or in future releases of HyperContent that a user could add as >>> many boxes as the wanted but not have to worry about any html? So >>> for example, for the right hand orange boxes the user might be >>> presented with an option to add 0-3 boxes, then on selection have >>> the editable text appear for each box. >>> >>> Just something that I thought about..... >>> >>> Many thanks >>> Carl >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > Adam Carl AIS Web Services (212) 854-0131 ac...@co... |
From: Carl B. <C.P...@hu...> - 2005-01-20 12:20:18
|
Alex/Adam I need to add breadcrumbs to my sites, I'm having a few problems formating a link from a nav-item and making it work. I know you've used it in your sites there, do you have any pointers? You sent over the template code below which works fine, it's just the nav-link. <xsl:template name="breadcrumb"> <!-- by default, grab the topmost nav-item which is an ancestor of the nav-item corresponding to the current page --> <xsl:param name="item" select="$navigation/nav-item[//nav-item[@location=$sourceLoc]]"/> <!-- presumes a template which formats a link from a nav-item --> <xsl:call-template name="navigation-link-bread"> <xsl:with-param name="item" select="$item"/> </xsl:call-template> <xsl:if test="not($item/@location=$sourceLoc)"> <!-- if we haven't reached the source nav-item yet, recurse --> <xsl:text> > </xsl:text> <xsl:call-template name="breadcrumb"> <!--grab the next ancestor nav-item --> <xsl:with-param name="item" select="$item/nav-item[//nav-item[@location=$sourceLoc]]"/> </xsl:call-template> </xsl:if> </xsl:template> Thank very much Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-01-20 09:02:18
|
Hi Adam If you have any further pointers on this that would be great. It would really finish of what I've been getting setup here. Thanks Carl Alex Vigdor wrote: > Hi Carl, > We do something almost identical to what you are describing on one > of our latest sites > > http://www.columbia.edu/hr/index.html > > If you navigate across the top-level pages you'll notice that each of > them has a slightly different box arrangement. Adam should be able to > describe the implementation in more detail, but I believe in XML you > could just have a repeating element "right-box" with a single child > "html" and an attribute for its title, and in XSL and/or CSS you could > set up the actual on-screen positioning. E.g. > > <!ELEMENT page (html,right-box*)> > <!ELEMENT right-box(html)> > <!ATTLIST right-box title CDATA #REQUIRED> > > and call different templates with "/page/html" vs. > "/page/right-box/html". > > Alex > > On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: > >> Hi Alex >> >> Thanks for the info on downloads. I'll leave things as they are and >> have a look at getting updated to v2 when it's released. >> >> I have a question which might not be possible. If you take a look at >> the sample page http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html >> you will notice that I have info boxes down the right hand side of >> the page and under the menu items on the left. At the moment I am >> dropping these boxes into editable areas in html form which works >> great for me but might not for some of the users on campus. Is there >> any way ether now or in future releases of HyperContent that a user >> could add as many boxes as the wanted but not have to worry about any >> html? So for example, for the right hand orange boxes the user might >> be presented with an option to add 0-3 boxes, then on selection have >> the editable text appear for each box. >> >> Just something that I thought about..... >> >> Many thanks >> Carl >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-19 16:07:14
|
Hi Carl, We do something almost identical to what you are describing on one of our latest sites http://www.columbia.edu/hr/index.html If you navigate across the top-level pages you'll notice that each of them has a slightly different box arrangement. Adam should be able to describe the implementation in more detail, but I believe in XML you could just have a repeating element "right-box" with a single child "html" and an attribute for its title, and in XSL and/or CSS you could set up the actual on-screen positioning. E.g. <!ELEMENT page (html,right-box*)> <!ELEMENT right-box(html)> <!ATTLIST right-box title CDATA #REQUIRED> and call different templates with "/page/html" vs. "/page/right-box/html". Alex On Jan 19, 2005, at 9:51 AM, Carl Barrow wrote: > Hi Alex > > Thanks for the info on downloads. I'll leave things as they are and > have a look at getting updated to v2 when it's released. > > I have a question which might not be possible. If you take a look at > the sample page http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html > you will notice that I have info boxes down the right hand side of > the page and under the menu items on the left. At the moment I am > dropping these boxes into editable areas in html form which works > great for me but might not for some of the users on campus. Is there > any way ether now or in future releases of HyperContent that a user > could add as many boxes as the wanted but not have to worry about any > html? So for example, for the right hand orange boxes the user might > be presented with an option to add 0-3 boxes, then on selection have > the editable text appear for each box. > > Just something that I thought about..... > > Many thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-01-19 14:47:52
|
Hi Alex Thanks for the info on downloads. I'll leave things as they are and have a look at getting updated to v2 when it's released. I have a question which might not be possible. If you take a look at the sample page http://www.learndev.hull.ac.uk/CB/REOTESTPAGE.html you will notice that I have info boxes down the right hand side of the page and under the menu items on the left. At the moment I am dropping these boxes into editable areas in html form which works great for me but might not for some of the users on campus. Is there any way ether now or in future releases of HyperContent that a user could add as many boxes as the wanted but not have to worry about any html? So for example, for the right hand orange boxes the user might be presented with an option to add 0-3 boxes, then on selection have the editable text appear for each box. Just something that I thought about..... Many thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-01-18 16:10:50
|
Carl, If the problem had already occurred in a particular file, it would still be there, as the bad data was stored to disk; does the problem still occur if you try to add new links? Alex On Jan 17, 2005, at 10:28 AM, Carl Barrow wrote: > Alex/Adam > > I have updated the files from the CVS (finally) but I'm still getting > the same problem. Do you have any other ideas? > > Thanks > Carl > > Carl Barrow wrote: > >> Thanks very much, I'll take a look in the CVS. do you have any idea >> just which file/s I might need to update? >> >> Thanks >> Carl >> >> Adam Carl wrote: >> >>> Alex, >>> >>> I think you are right. We had a similar problem a few months back >>> but it was fixed in one of those patches. >>> >>> Adam >>> >>> On Dec 13, 2004, at 10:57 AM, Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> I can't remember, are you using the 1.4 release or more recent >>>> code from the CVS? There were a few bugs with the navigation >>>> editor in the 1.4 release that have ben fixed in CVS for a few >>>> months. That sounds like something that may have been addressed in >>>> those patches. I guess I really should make a 1.4.1 release . . . >>>> >>>> Alex >>>> >>>> On Dec 13, 2004, at 9:05 AM, Carl Barrow wrote: >>>> >>>>> Hi Alex >>>>> >>>>> I have a question about my sitemap.xml file. Structure below.. >>>>> >>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>> <!DOCTYPE nav-template SYSTEM >>>>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>>>> <nav-template customLabel="Home" labelWith="custom" >>>>> pattern="/index.xml" sortChildren="by-label"> >>>>> <nav-template pattern="/*/index.xml"> >>>>> <nav-template pattern="/*/*" /> >>>>> >>>>> <nav-template pattern="/*/*/index.xml" >>>>> sortChildren="by-label"> >>>>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>>>> </nav-template> >>>>> </nav-template> >>>>> </nav-template> >>>>> >>>>> When I use the visual editor to add an external link (used in the >>>>> menu) under one of my first level directories is puts the link >>>>> into all of them. Can you see form the code above what I might >>>>> be doing wrong? >>>>> >>>>> Many thanks >>>>> Carl >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. http://productguide.itmanagersjournal.com/ >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>> Adam Carl >>> AIS Web Services >>> (212) 854-0131 >>> ac...@co... >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading >>> now. http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-01-18 15:51:11
|
Hi Carl, This is a limitation in HyperContent 1.4 - you can only specify files at particular depths. So you would have to have several resource directories, "/*", "/*/*", "/*/*/*", etc., to cover the possible depths. In version 2.0 you can use ** patterns: "/**/*" indicates a file can go anywhere. It is not a trivial upgrade, so I don't think it would be too easy to backport into 1.4, but if you can hold out a couple more months perhaps you could upgrade to 2.0. Technically the upgrade will be pretty easy, but users will have to be trained a bit on the revised GUI. Alex On Jan 18, 2005, at 4:32 AM, Carl Barrow wrote: > Hi Alex > > I would like my users to have the ability to upload a file to any > directory. At the moment they can add files to a 'downloads' directory > : > > - <#> <resource-directory label="*Add a New Downloadable File*" > path="*/downloads/**" publish="*true*"> > <content type="*application/msword*" /> > <content type="*application/pdf*" /> > <content type="*application/vnd.ms-excel*" /> > <content type="*application/vnd.ms-powerpoint*" /> > </resource-directory> > > How can I change the code to allow the upload to anywhere? > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-01-18 09:28:44
|
Hi Alex I would like my users to have the ability to upload a file to any directory. At the moment they can add files to a 'downloads' directory : - <#> <resource-directory label="*Add a New Downloadable File*" path="*/downloads/**" publish="*true*"> <content type="*application/msword*" /> <content type="*application/pdf*" /> <content type="*application/vnd.ms-excel*" /> <content type="*application/vnd.ms-powerpoint*" /> </resource-directory> How can I change the code to allow the upload to anywhere? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-01-17 15:24:29
|
Alex/Adam I have updated the files from the CVS (finally) but I'm still getting the same problem. Do you have any other ideas? Thanks Carl Carl Barrow wrote: > Thanks very much, I'll take a look in the CVS. do you have any idea > just which file/s I might need to update? > > Thanks > Carl > > Adam Carl wrote: > >> Alex, >> >> I think you are right. We had a similar problem a few months back >> but it was fixed in one of those patches. >> >> Adam >> >> On Dec 13, 2004, at 10:57 AM, Alex Vigdor wrote: >> >>> Hi Carl, >>> I can't remember, are you using the 1.4 release or more recent >>> code from the CVS? There were a few bugs with the navigation editor >>> in the 1.4 release that have ben fixed in CVS for a few months. >>> That sounds like something that may have been addressed in those >>> patches. I guess I really should make a 1.4.1 release . . . >>> >>> Alex >>> >>> On Dec 13, 2004, at 9:05 AM, Carl Barrow wrote: >>> >>>> Hi Alex >>>> >>>> I have a question about my sitemap.xml file. Structure below.. >>>> >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> <!DOCTYPE nav-template SYSTEM >>>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>>> <nav-template customLabel="Home" labelWith="custom" >>>> pattern="/index.xml" sortChildren="by-label"> >>>> <nav-template pattern="/*/index.xml"> >>>> <nav-template pattern="/*/*" /> >>>> >>>> <nav-template pattern="/*/*/index.xml" sortChildren="by-label"> >>>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>>> </nav-template> >>>> </nav-template> >>>> </nav-template> >>>> >>>> When I use the visual editor to add an external link (used in the >>>> menu) under one of my first level directories is puts the link into >>>> all of them. Can you see form the code above what I might be >>>> doing wrong? >>>> >>>> Many thanks >>>> Carl >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading >>> now. http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >> Adam Carl >> AIS Web Services >> (212) 854-0131 >> ac...@co... >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-12-20 21:56:35
|
Micah, Both HyperContent 1.4 and 2.0 have integrated htmlArea to allow WYSIWYG editing. It is automatically enabled for any XML element with a tag name of "html" in the XML editor. This way you can combine structured data and markup editing. Alex On Dec 20, 2004, at 3:03 PM, Micah Cooper wrote: > Will HC 2 allow editing forms with textareas in the WYSIWYG editor or > is there a way currently to do it that I missed? > > Thanks > -Micah > > On Dec 15, 2004, at 12:39 PM, Alex Vigdor wrote: > >> There isn't any real documentation about HyperContent 2 yet, but >> there's some information in the developer's list archives (which you >> can get to from the HyperContent site). The core of HyperContent 2 is >> basically finished, but there are a number of minor features from 1.x >> that haven't been migrated yet (upload/download zip, rebuild search >> index, copy/move files GUI), plus one major new feature that I'm >> delving into now; workflow. I'm estimating about 3 months from now >> for a release, but complete documentation may take another couple >> months after that. I'll try to post some kind of abstract overview >> on the web site in the next week or so; it is overdue. >> >> Alex >> >> On Dec 15, 2004, at 12:05 PM, Micah Cooper wrote: >> >>> Ah, there was a missing directory in the mix between the filesystem >>> and the definition file. Thanks, I think that did it. >>> >>> Where can I find out more information about HC2, including when it >>> will be released? >>> >>> Thanks >>> -Micah >>> -------------------------------------------------------- >>> Micah J. Cooper >>> Manager, Computing Services >>> School of Engineering & Applied Science >>> Miami University, Oxford OH 45056 >>> On Dec 15, 2004, at 10:58 AM, Alex Vigdor wrote: >>> >>>> Most likely the build directory doesn't exist; the quick-start >>>> install places some hypercontent directories inside the uPortal >>>> webapp for serving the web content straight up through Tomcat. >>>> This is not recommended for production use, but just a convenient >>>> way of showing what HyperContent can do without having to run a >>>> separate web server. You can either place those directories under >>>> the uPortal webapp, or create some directories visible to a web >>>> server and point to those from your project definition file. The >>>> directories in question are for the "preview", "build" and >>>> "publish" filesystems, all of which need to be served by a web >>>> server. >>>> >>>> HyperContent 2 will act as a standalone web server with built-in >>>> content management functions, which will make basic configuration >>>> much simpler. >>>> >>>> Alex >>>> >>>> On Dec 15, 2004, at 9:48 AM, Carl Barrow wrote: >>>> >>>>> Micah >>>>> >>>>> Alex might want to confirm this bit as far as I can tell the error >>>>> means that your build directory in your site definition is not set >>>>> correctly. >>>>> >>>>> Many thanks >>>>> >>>>> Carl >>>>> >>>>> >>>>> >>>>> Micah Cooper wrote: >>>>> >>>>>> For some reason, after restarting our system, uPortal began to >>>>>> fail loading, so we started with a new quick start, added >>>>>> hypercontent, manually added the content manager b/c the >>>>>> preference stage of build failed, and copied over >>>>>> hypercontent-repostories. We see our old projects just fine now >>>>>> and I can edit them and whatnot. >>>>>> >>>>>> When I go to build (or build all), however, I get the following >>>>>> error: >>>>>> Something is wrong - see log for details: >>>>>> Error performing buildNode: The filesystem could not mounted due >>>>>> to faulty arguments - please check your configuration >>>>>> (edu.columbia.filesystem.FileSystemException) >>>>>> >>>>>> I check uportal.log for details and see the following >>>>>> ERROR [http-8080-Processor21] jasig.portal.[] Dec/15 09:32:07 - >>>>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>>>> not mounted due to faulty arguments - please check your >>>>>> configuration >>>>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>>>> not mounted due to faulty arguments - please check your >>>>>> configuration >>>>>> >>>>>> >>>>>> What am I missing? >>>>>> >>>>>> Thanks >>>>>> -Micah >>>>>> -------------------------------------------------------- >>>>>> Micah J. Cooper >>>>>> Manager, Computing Services >>>>>> School of Engineering & Applied Science >>>>>> Miami University, Oxford OH 45056 >>>>> >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. http://productguide.itmanagersjournal.com/ >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Micah C. <coo...@mu...> - 2004-12-20 20:03:39
|
Will HC 2 allow editing forms with textareas in the WYSIWYG editor or is there a way currently to do it that I missed? Thanks -Micah On Dec 15, 2004, at 12:39 PM, Alex Vigdor wrote: > There isn't any real documentation about HyperContent 2 yet, but > there's some information in the developer's list archives (which you > can get to from the HyperContent site). The core of HyperContent 2 is > basically finished, but there are a number of minor features from 1.x > that haven't been migrated yet (upload/download zip, rebuild search > index, copy/move files GUI), plus one major new feature that I'm > delving into now; workflow. I'm estimating about 3 months from now > for a release, but complete documentation may take another couple > months after that. I'll try to post some kind of abstract overview on > the web site in the next week or so; it is overdue. > > Alex > > On Dec 15, 2004, at 12:05 PM, Micah Cooper wrote: > >> Ah, there was a missing directory in the mix between the filesystem >> and the definition file. Thanks, I think that did it. >> >> Where can I find out more information about HC2, including when it >> will be released? >> >> Thanks >> -Micah >> -------------------------------------------------------- >> Micah J. Cooper >> Manager, Computing Services >> School of Engineering & Applied Science >> Miami University, Oxford OH 45056 >> On Dec 15, 2004, at 10:58 AM, Alex Vigdor wrote: >> >>> Most likely the build directory doesn't exist; the quick-start >>> install places some hypercontent directories inside the uPortal >>> webapp for serving the web content straight up through Tomcat. This >>> is not recommended for production use, but just a convenient way of >>> showing what HyperContent can do without having to run a separate >>> web server. You can either place those directories under the >>> uPortal webapp, or create some directories visible to a web server >>> and point to those from your project definition file. The >>> directories in question are for the "preview", "build" and "publish" >>> filesystems, all of which need to be served by a web server. >>> >>> HyperContent 2 will act as a standalone web server with built-in >>> content management functions, which will make basic configuration >>> much simpler. >>> >>> Alex >>> >>> On Dec 15, 2004, at 9:48 AM, Carl Barrow wrote: >>> >>>> Micah >>>> >>>> Alex might want to confirm this bit as far as I can tell the error >>>> means that your build directory in your site definition is not set >>>> correctly. >>>> >>>> Many thanks >>>> >>>> Carl >>>> >>>> >>>> >>>> Micah Cooper wrote: >>>> >>>>> For some reason, after restarting our system, uPortal began to >>>>> fail loading, so we started with a new quick start, added >>>>> hypercontent, manually added the content manager b/c the >>>>> preference stage of build failed, and copied over >>>>> hypercontent-repostories. We see our old projects just fine now >>>>> and I can edit them and whatnot. >>>>> >>>>> When I go to build (or build all), however, I get the following >>>>> error: >>>>> Something is wrong - see log for details: >>>>> Error performing buildNode: The filesystem could not mounted due >>>>> to faulty arguments - please check your configuration >>>>> (edu.columbia.filesystem.FileSystemException) >>>>> >>>>> I check uportal.log for details and see the following >>>>> ERROR [http-8080-Processor21] jasig.portal.[] Dec/15 09:32:07 - >>>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>>> not mounted due to faulty arguments - please check your >>>>> configuration >>>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>>> not mounted due to faulty arguments - please check your >>>>> configuration >>>>> >>>>> >>>>> What am I missing? >>>>> >>>>> Thanks >>>>> -Micah >>>>> -------------------------------------------------------- >>>>> Micah J. Cooper >>>>> Manager, Computing Services >>>>> School of Engineering & Applied Science >>>>> Miami University, Oxford OH 45056 >>>> >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading >>> now. http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2004-12-15 17:38:36
|
There isn't any real documentation about HyperContent 2 yet, but there's some information in the developer's list archives (which you can get to from the HyperContent site). The core of HyperContent 2 is basically finished, but there are a number of minor features from 1.x that haven't been migrated yet (upload/download zip, rebuild search index, copy/move files GUI), plus one major new feature that I'm delving into now; workflow. I'm estimating about 3 months from now for a release, but complete documentation may take another couple months after that. I'll try to post some kind of abstract overview on the web site in the next week or so; it is overdue. Alex On Dec 15, 2004, at 12:05 PM, Micah Cooper wrote: > Ah, there was a missing directory in the mix between the filesystem > and the definition file. Thanks, I think that did it. > > Where can I find out more information about HC2, including when it > will be released? > > Thanks > -Micah > -------------------------------------------------------- > Micah J. Cooper > Manager, Computing Services > School of Engineering & Applied Science > Miami University, Oxford OH 45056 > On Dec 15, 2004, at 10:58 AM, Alex Vigdor wrote: > >> Most likely the build directory doesn't exist; the quick-start >> install places some hypercontent directories inside the uPortal >> webapp for serving the web content straight up through Tomcat. This >> is not recommended for production use, but just a convenient way of >> showing what HyperContent can do without having to run a separate web >> server. You can either place those directories under the uPortal >> webapp, or create some directories visible to a web server and point >> to those from your project definition file. The directories in >> question are for the "preview", "build" and "publish" filesystems, >> all of which need to be served by a web server. >> >> HyperContent 2 will act as a standalone web server with built-in >> content management functions, which will make basic configuration >> much simpler. >> >> Alex >> >> On Dec 15, 2004, at 9:48 AM, Carl Barrow wrote: >> >>> Micah >>> >>> Alex might want to confirm this bit as far as I can tell the error >>> means that your build directory in your site definition is not set >>> correctly. >>> >>> Many thanks >>> >>> Carl >>> >>> >>> >>> Micah Cooper wrote: >>> >>>> For some reason, after restarting our system, uPortal began to fail >>>> loading, so we started with a new quick start, added hypercontent, >>>> manually added the content manager b/c the preference stage of >>>> build failed, and copied over hypercontent-repostories. We see our >>>> old projects just fine now and I can edit them and whatnot. >>>> >>>> When I go to build (or build all), however, I get the following >>>> error: >>>> Something is wrong - see log for details: >>>> Error performing buildNode: The filesystem could not mounted due to >>>> faulty arguments - please check your configuration >>>> (edu.columbia.filesystem.FileSystemException) >>>> >>>> I check uportal.log for details and see the following >>>> ERROR [http-8080-Processor21] jasig.portal.[] Dec/15 09:32:07 - >>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>> not mounted due to faulty arguments - please check your >>>> configuration >>>> edu.columbia.filesystem.FileSystemException: The filesystem could >>>> not mounted due to faulty arguments - please check your >>>> configuration >>>> >>>> >>>> What am I missing? >>>> >>>> Thanks >>>> -Micah >>>> -------------------------------------------------------- >>>> Micah J. Cooper >>>> Manager, Computing Services >>>> School of Engineering & Applied Science >>>> Miami University, Oxford OH 45056 >>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading >>> now. http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Micah C. <coo...@mu...> - 2004-12-15 17:06:33
|
Ah, there was a missing directory in the mix between the filesystem and the definition file. Thanks, I think that did it. Where can I find out more information about HC2, including when it will be released? Thanks -Micah -------------------------------------------------------- Micah J. Cooper Manager, Computing Services School of Engineering & Applied Science Miami University, Oxford OH 45056 On Dec 15, 2004, at 10:58 AM, Alex Vigdor wrote: > Most likely the build directory doesn't exist; the quick-start install > places some hypercontent directories inside the uPortal webapp for > serving the web content straight up through Tomcat. This is not > recommended for production use, but just a convenient way of showing > what HyperContent can do without having to run a separate web server. > You can either place those directories under the uPortal webapp, or > create some directories visible to a web server and point to those > from your project definition file. The directories in question are > for the "preview", "build" and "publish" filesystems, all of which > need to be served by a web server. > > HyperContent 2 will act as a standalone web server with built-in > content management functions, which will make basic configuration much > simpler. > > Alex > > On Dec 15, 2004, at 9:48 AM, Carl Barrow wrote: > >> Micah >> >> Alex might want to confirm this bit as far as I can tell the error >> means that your build directory in your site definition is not set >> correctly. >> >> Many thanks >> >> Carl >> >> >> >> Micah Cooper wrote: >> >>> For some reason, after restarting our system, uPortal began to fail >>> loading, so we started with a new quick start, added hypercontent, >>> manually added the content manager b/c the preference stage of build >>> failed, and copied over hypercontent-repostories. We see our old >>> projects just fine now and I can edit them and whatnot. >>> >>> When I go to build (or build all), however, I get the following >>> error: >>> Something is wrong - see log for details: >>> Error performing buildNode: The filesystem could not mounted due to >>> faulty arguments - please check your configuration >>> (edu.columbia.filesystem.FileSystemException) >>> >>> I check uportal.log for details and see the following >>> ERROR [http-8080-Processor21] jasig.portal.[] Dec/15 09:32:07 - >>> edu.columbia.filesystem.FileSystemException: The filesystem could >>> not mounted due to faulty arguments - please check your >>> configuration >>> edu.columbia.filesystem.FileSystemException: The filesystem could >>> not mounted due to faulty arguments - please check your >>> configuration >>> >>> >>> What am I missing? >>> >>> Thanks >>> -Micah >>> -------------------------------------------------------- >>> Micah J. Cooper >>> Manager, Computing Services >>> School of Engineering & Applied Science >>> Miami University, Oxford OH 45056 >> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2004-12-15 15:58:05
|
Most likely the build directory doesn't exist; the quick-start install places some hypercontent directories inside the uPortal webapp for serving the web content straight up through Tomcat. This is not recommended for production use, but just a convenient way of showing what HyperContent can do without having to run a separate web server. You can either place those directories under the uPortal webapp, or create some directories visible to a web server and point to those from your project definition file. The directories in question are for the "preview", "build" and "publish" filesystems, all of which need to be served by a web server. HyperContent 2 will act as a standalone web server with built-in content management functions, which will make basic configuration much simpler. Alex On Dec 15, 2004, at 9:48 AM, Carl Barrow wrote: > Micah > > Alex might want to confirm this bit as far as I can tell the error > means that your build directory in your site definition is not set > correctly. > > Many thanks > > Carl > > > > Micah Cooper wrote: > >> For some reason, after restarting our system, uPortal began to fail >> loading, so we started with a new quick start, added hypercontent, >> manually added the content manager b/c the preference stage of build >> failed, and copied over hypercontent-repostories. We see our old >> projects just fine now and I can edit them and whatnot. >> >> When I go to build (or build all), however, I get the following error: >> Something is wrong - see log for details: >> Error performing buildNode: The filesystem could not mounted due to >> faulty arguments - please check your configuration >> (edu.columbia.filesystem.FileSystemException) >> >> I check uportal.log for details and see the following >> ERROR [http-8080-Processor21] jasig.portal.[] Dec/15 09:32:07 - >> edu.columbia.filesystem.FileSystemException: The filesystem could not >> mounted due to faulty arguments - please check your configuration >> edu.columbia.filesystem.FileSystemException: The filesystem could not >> mounted due to faulty arguments - please check your configuration >> >> >> What am I missing? >> >> Thanks >> -Micah >> -------------------------------------------------------- >> Micah J. Cooper >> Manager, Computing Services >> School of Engineering & Applied Science >> Miami University, Oxford OH 45056 > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |