Hey Henrik, Magnolia is Open-Source as in we keep the source in the open for anyone to see it :) The source of the tag is at http://svn.magnolia.info/svn/community/magnolia/trunk/magnolia-taglib-utility/src/main/java/info/magnolia/cms/taglibs/util/SimpleNavigationTag.java
No need to decompile anything. Cheers, Jan On Thu, 2009-02-26 at 11:13 +0100, Henrik Eriksson wrote: > Hi again, > I'm on deep water but would like to learn this. > I found the magnolia-taglib-utility-3.6.3.jar, exctracted it and found > the SimpleNavigationTag.class. Do I need to decompile the class file > or am I on the wrong way? > //Henrik > > > 2009/2/26 Henrik Eriksson <[email protected]> > Thanks for answer! > I'll try the second option so that I get full control =) > //Henrik > > 2009/2/26 Tobias Reinhardt <[email protected]> > > > > Hi > > a 3. option would be to create a tag file which > encapsulates the > simpleNavigation an replaces all <strong> and > </strong> with your > desired output. > > Tobias > > > > > > 2009/2/26 Simon Goodchild <[email protected]>: > > > > > Hi Henrik, > > > > 2 options you can take, depending on what type of > coding you are more > > comfortable with: > > > > 1. If you just don't want the bolding of the current > page, you can > > turn this off in css without needing to change the > simpleNavigation > > taglib at all. Just do something like: > > .menu strong { font-weight: normal } > > > > 2. If you 'really' want the <strong> tag gone, you > will need to create > > your own new version of it - I don't think there are > any options to > > turn this off in the config. > > You can copy the relevant java file, give it a new > name, and then > > amend the output. You will then need to compile the > code, create a new > > tag entry in the .tld file and reference that from > your code. > > So much more complicated to do > > > > Option 1 is the best option if you can do it! > > > > Hope that helps, > > > > Simon > > > > 2009/2/26 Henrik Eriksson <[email protected]> > >> > >> Hi! > >> How can I tweek the simpleNavigation? I don't want > the <strong> tag... > >> //Henrik > > > > > > ---------------------------------------------------------------- > > For list details see > > > http://www.magnolia-cms.com/home/community/mailing-lists.html > > To unsubscribe, E-mail to: > <[email protected]> > > > > ---------------------------------------------------------------- > > > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: > <[email protected]> > > ---------------------------------------------------------------- > > > > -- Best regards, Jan Haderka Magnolia International Ltd. ---------------------------------------------------------------------- [email protected] http://www.magnolia-cms.com Magnolia® - Simple Open Source Content Management ---------------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
