[TYPO3-english] Typo3 metanavigation

sinu govind sinugovind at gmail.com
Wed Jun 29 08:09:30 CEST 2011


Thanks for the tip, but unfortunately it does not fit into my scenario.

Iam using a different database not the typo3 db for my user creation and
login/logout.

So my content element is a PHP script element which shows 2 different menu
options as following

<?php
 session_start();
if ($_SESSION['logged'] == 1)
   echo "<a href='index.php?id=home'>Home</a>";
else
 echo "<a href='#dialogProduct' name='modalProduct'
onClick='showProductForm();' >For Product</a>";
?>

So when I click on this "a" tag and navigate to another page, the meta menu
is redefined

With warm reagrds,
Sinu

On Tue, Jun 28, 2011 at 8:57 PM, Riccardo De Contardi <
riccardo.decontardi at bhuman.it> wrote:

> But... your tt_content records are anchors?
>
>
> My best suggestion is...style the <li> object with some javascript... with
> jQuery for example, something like:
>
>
> $("li").click(function() {
>    $("li").css('background-color'**, 'white');
>    $(this).css('background-color'**, 'red');
> });
>
>
>
>
> ------------------------------**--------------
> Riccardo De Contardi – TYPO3 Certified Integrator
> B Human Srl - www.bhuman.it <http://www.bhuman.it>
> Via Canzio, 15 - 20131 Milano
> TEL +39-02-20.23.271 - FAX +39-02-20.240.561
> ------------------------------**--------------
>
> Il 28/06/11 14.21, sinu govind ha scritto:
>
>  Hi,
>>
>> I have the following code inserted into my typoscript
>>
>> lib.topmenu = RECORDS
>> lib.topmenu.tables = tt_content
>> lib.topmenu.source = 141, 81, 119, 162
>> lib.topmenu.wrap =<ul class="top_menu">|</ul>
>> lib.topmenu.conf.tt_content.**stdWrap.wrap =<LI>|</LI>&nbsp;&#124;&nbsp;
>> lib.topmenu.conf.tt_content.**stdWrap.innerWrap.cObject = |
>>
>> The content 141, 81, 119, 162 are content elements within a sysfolder.
>>
>> Now when I click on any of the LI I need the selected element to have a
>> different color. With HMENU and TMENU you can of course do it with ACT.
>> But
>> how can I do it with this?
>>
>> Please help!!!
>>
>> With warm regards,
>> Sinu Govind
>>
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>


More information about the TYPO3-english mailing list