[TYPO3-english] Display navbar outside of typo3
David Bruchmann
typo3-en at bruchmann-web.de
Mon Oct 12 08:31:14 CEST 2009
----- Ursprüngliche Nachricht -----
Von: Ryan Bilesky <rbilesky at hotmail.com>
Gesendet: Montag, 12. Oktober 2009 08:18:12
An: Typo3 Mailing List <typo3-english at lists.netfielders.de>
CC:
Betreff: Re: [TYPO3-english] Display navbar outside of typo3
> I have an idea...perhaps this is so simple it could work...why can't I just view source on one of my typo3 pages and copy the <div id="nav"> </div> part which appears to me to output the nav. It seems to me that so long as I use my themes css files, I should get the same visual result.
>
> Now I made a simple html document on my local machine, using that code and including my typo3 css files it worked.
>
> What a simple method. Now it has the pitfall of needing to be updated each time there is a menu change, but thats as simple as copying and pasting some html code, which even though I'd rather not do, does provide a simple solution to my need.
>
The pitfall could be solved by a script that parses a T3 website with
the php-function preg_match() when you have clear delimiters for your
menu as comments or unique HTML-Tags.
Sure this solution is not TYPO3 and surley not the best, but possible.
Please don't forget that T3-Menus are dynamic. So all solutions with
copy and paste work only for parts that never change.
Best Regards
David
More information about the TYPO3-english
mailing list