If you work with maven your life might be a bit easier.
http://wiki.magnolia-cms.com/display/WIKI/How+to+checkout+and+build+magnolia+sources

-will

On 26.02.2009, at 15:56, Henrik Eriksson wrote:

Great! I'm getting closer and closer :)
Now I have changed the file like I wan't and need to compile it. Next problem is that javac gives me a lot of errors like: "package info.magnolia.cms.core.Itemtype does not exist" Do I need to download the full project to be able to compile my new file?


2009/2/26 Jan Haderka <[email protected]>

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]>
----------------------------------------------------------------




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to