Mailing List Archive

show active page in bootmenu
I'm playing around with the bootmenu tag, and I'm trying to have it
highlight the current page (class="active").

It looks like "indicator_page" might do this, but I'm having trouble
figuring out how to use this transform.

If I'm wrong about "indicator_page," is there another way to do this
with the bootmenu tag?

Thanks -
Dan

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: show active page in bootmenu [ In reply to ]
Quoting Dan Bergan (danbergan@gmail.com):
> I'm playing around with the bootmenu tag, and I'm trying to have it
> highlight the current page (class="active").
>
> It looks like "indicator_page" might do this, but I'm having trouble
> figuring out how to use this transform.

bootmenu is based on [menu], so you can use the same syntax. According
to this line from the IC repo:
https://github.com/interchange/interchange/blob/master/dist/lib/UI/vars/UI_STD_HEAD#L223

you should be able to set

indicator_page=page

which identifies the URL to use as the "page" field of the menu.

--
Josh Lavin
End Point Corporation

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: show active page in bootmenu [ In reply to ]
On Mon, Jan 11, 2016 at 2:00 PM, Josh Lavin <jlavin@endpoint.com> wrote:
> Quoting Dan Bergan (danbergan@gmail.com):
>> I'm playing around with the bootmenu tag, and I'm trying to have it
>> highlight the current page (class="active").
>>
>> It looks like "indicator_page" might do this, but I'm having trouble
>> figuring out how to use this transform.
>
> bootmenu is based on [menu], so you can use the same syntax. According
> to this line from the IC repo:
> https://github.com/interchange/interchange/blob/master/dist/lib/UI/vars/UI_STD_HEAD#L223
>
> you should be able to set
>
> indicator_page=page
>
> which identifies the URL to use as the "page" field of the menu.
>

Thanks, Josh. These examples helped! I was close, but I just wasn't
setting up my link template correct -- {INDICATED?}{/INDICATED?} is
what I was needing!

Thanks -
Dan

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users