<P>
Hi i am new to the opencms , i am having some problems with the template one just like unable to remove the opencms.gif , i removed it in the resource_publish.jsp, then the content is not displaying, i f i don't want to use the icon link , what can i do ?<BR>
<BR>
regards<BR>
S.N.Rao<BR>
<BR>
<BR>
On Mon, 11 Apr 2005 Oliver Pereira wrote :<BR>
>Frans,<BR>
><BR>
>I should have changed the subject line of my email, but thanks for your<BR>
>email<BR>
><BR>
>Actually I am having problems implementing the search as there is not<BR>
>indexing icon in the administration menu in OCMS b1 and a couple of<BR>
>other things like the image gallery etc (unless I am missing something)<BR>
><BR>
>How do I download the opencms B1 from CVS, I always use 'opencms' to<BR>
>checkout the latest build<BR>
><BR>
>Regards,<BR>
><BR>
>Oliver<BR>
><BR>
>-----Original Message-----<BR>
> From: opencms-dev-bounces@opencms.org<BR>
>[mailto:opencms-dev-bounces@opencms.org] On Behalf Of Frans Postma<BR>
>Sent: 08 April 2005 23:24<BR>
>To: 'The OpenCms mailing list'<BR>
>Subject: RE: [opencms-dev] Get all folders<BR>
><BR>
> Oliver,<BR>
><BR>
>Indexing refers usually to search-indexes, which you don't need for<BR>
>Navigation as far as I know. Could you please post the relevant part of<BR>
>code you attempt to execute?<BR>
><BR>
>The "welcome" template in opencms6b1 is a good and simple example for<BR>
>this. Look at /system/modules/welcome/elements/welcome_nav.jsp<BR>
><BR>
>The shortest example of navigation use I can come up with is something<BR>
>like this (check out the javadoc for org.opencms.jsp.CmsJspNavBuilder<BR>
>method getSiteNavigation() for other call options):<BR>
><BR>
>//start<BR>
>// must be on a jsp page, quick example.. not tested<BR>
><BR>
>// Create a JSP action element<BR>
>CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,<BR>
>response);<BR>
><BR>
>// yes you can use the static call too,<BR>
>// I prefer getNav from a known object to force-check stuff :)<BR>
>java.util.List list = cms.getNavigation().getSiteNavigation();<BR>
>java.util.Iterator i = list.iterator();<BR>
><BR>
>// Now build the navigation<BR>
>out.println("Navigation:<br>");<BR>
>while (i.hasNext()) {<BR>
> CmsJspNavElement ne = (CmsJspNavElement)i.next();<BR>
> out.print(ne.getNavText()); // never returns null, so this is<BR>
>safe<BR>
> out.println("<br>");<BR>
>}<BR>
>out.println("end nav entries<br>");<BR>
>// end example<BR>
><BR>
>Have fun with it and READ the javadocs, those contain the most of the<BR>
>opencms6 documentation! Some HowTo's and guides would be nice yes, but<BR>
>all methods and such are very nicely documented in the source itself.<BR>
>(you might need to get 6b1 for the full documentation, seems 6b2 doesn't<BR>
>have that in the zip anymore?)<BR>
><BR>
>Frans<BR>
><BR>
> > -----Original Message-----<BR>
> > From: opencms-dev-bounces@opencms.org<BR>
> > [mailto:opencms-dev-bounces@opencms.org] On Behalf Of Oliver Pereira<BR>
> > Sent: vrijdag 8 april 2005 18:38<BR>
> > To: The OpenCms mailing list<BR>
> > Subject: RE: [opencms-dev] Get all folders<BR>
> > Importance: High<BR>
> ><BR>
> > Thanks, it worked<BR>
> ><BR>
> > Now I am havin problems implementing the search<BR>
> ><BR>
> > I cannot find any icon in the administration to index the site, hence<BR>
> > how do I index ths site<BR>
> ><BR>
> > Because the catalogue is not present I am getting the following error<BR>
> ><BR>
> > javax.servlet.ServletException:<BR>
> > org.opencms.file.CmsObject.readAncestor(Ljava/lang/String;I)Lo<BR>
> > rg/opencms<BR>
> > /file/CmsFolder;<BR>
> > at<BR>
> > org.apache.jasper.runtime.PageContextImpl.handlePageException(<BR>
> > PageContex<BR>
> > tImpl.java:536)<BR>
> ><BR>
> > Regards,<BR>
> ><BR>
> > Oliver<BR>
> ><BR>
> > -----Original Message-----<BR>
> > From: opencms-dev-bounces@opencms.org<BR>
> > [mailto:opencms-dev-bounces@opencms.org] On Behalf Of Alexander<BR>
> > Kandzior<BR>
> > Sent: 06 April 2005 18:39<BR>
> > To: 'The OpenCms mailing list'<BR>
> > Subject: RE: [opencms-dev] Get all folders<BR>
> ><BR>
> ><BR>
> > That one should do the job:<BR>
> ><BR>
> > org.opencms.jsp.CmsJspNavBuilder<BR>
> ><BR>
> > /**<BR>
> > * This method builds a complete navigation tree with entries of all<BR>
> > branches<BR>
> > * from the specified folder.<p><BR>
> > *<BR>
> > * @see #getSiteNavigation(CmsObject, String, int)<BR>
> > *<BR>
> > * @param folder folder the root folder of the navigation tree.<BR>
> > * @param endLevel the end level of the navigation.<BR>
> > * @return ArrayList of CmsJspNavElement, in depth first order.<BR>
> > */<BR>
> > public List getSiteNavigation(String folder, int endLevel)<BR>
> ><BR>
> > Best Regards,<BR>
> > Alex.<BR>
> ><BR>
> > Alexander Kandzior<BR>
> > Alkacon Software - The OpenCms Experts http://www.alkacon.com<BR>
> ><BR>
> ><BR>
> ><BR>
> ><BR>
> ><BR>
> > ________________________________<BR>
> ><BR>
> > From: opencms-dev-bounces@opencms.org<BR>
> > [mailto:opencms-dev-bounces@opencms.org] On Behalf Of Oliver Pereira<BR>
> > Sent: Wednesday, April 06, 2005 6:11 PM<BR>
> > To: The OpenCms mailing list<BR>
> > Subject: [opencms-dev] Get all folders<BR>
> > Importance: High<BR>
> ><BR>
> ><BR>
> ><BR>
> > Hi,<BR>
> ><BR>
> > I am trying to get the navigation of a folder and it's<BR>
>subfolders, Is<BR>
> > there any method similar to getNavigationFolder which will get me the<BR>
> > navigation of all the subfolders under the parent folder, irrespective<BR>
><BR>
> > of the no of subfolders.<BR>
> ><BR>
> > For e.g.<BR>
> ><BR>
> > A -> B<BR>
> > -> C<BR>
> ><BR>
> > The method should return B and C both<BR>
> ><BR>
> > Regards,<BR>
> ><BR>
> > Oliver<BR>
> ><BR>
> ><BR>
> ><BR>
> ><BR>
> > _______________________________________________<BR>
> > This mail is send to you from the opencms-dev mailing list To change<BR>
> > your list options, or to unsubscribe from the list, please visit<BR>
> > http://mail.opencms.org/mailman/listinfo/opencms-dev<BR>
> ><BR>
> > _____________________________________________________________________<BR>
> > This e-mail has been scanned for viruses by MCI's Internet Managed<BR>
> > Scanning Services - powered by MessageLabs. For further information<BR>
> > visit http://www.mci.com<BR>
> ><BR>
> ><BR>
> > _______________________________________________<BR>
> > This mail is send to you from the opencms-dev mailing list To change<BR>
> > your list options, or to unsubscribe from the list, please visit<BR>
> > http://mail.opencms.org/mailman/listinfo/opencms-dev<BR>
> ><BR>
> ><BR>
><BR>
><BR>
><BR>
>_______________________________________________<BR>
>This mail is send to you from the opencms-dev mailing list To change<BR>
>your list options, or to unsubscribe from the list, please visit<BR>
>http://mail.opencms.org/mailman/listinfo/opencms-dev<BR>
><BR>
>_____________________________________________________________________<BR>
>This e-mail has been scanned for viruses by MCI's Internet Managed<BR>
>Scanning Services - powered by MessageLabs. For further information<BR>
>visit http://www.mci.com<BR>
><BR>
><BR>
>_______________________________________________<BR>
>This mail is send to you from the opencms-dev mailing list<BR>
>To change your list options, or to unsubscribe from the list, please visit<BR>
>http://mail.opencms.org/mailman/listinfo/opencms-dev<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>