[ic] Interchange 5.10 Strap
icgort33 at gmail.com
Tue Feb 2 00:33:35 UTC 2016
On Tue, Feb 2, 2016 at 12:39 AM, kerry <kerry at basicq.com> wrote:
> Is it possible to alter the vertical menu system to have
> 2 Sub1
> 3 Sub2
> without having to be a programing expert?
For one catalog I copied the generated HTML of the vertical menu (by
viewing the source of the generated home page) so that I could quickly
customise the menu and links.
After editing the HTML with a text editor I saved the file to
something like templates/components/product_menu_static and then used
this component where I wanted the custom menu to appear.
ui_label: Products Menu Static
<!-- BEGIN COMPONENT [control component product_menu_static] -->
PASTE generated HTML here and manually customise links and flyouts as needed
<!-- END COMPONENT [control component product_menu_static] -->
To load this static HTML version on a test page edit the component bit:
Or if you wanted to use the static HTML version on all pages save the
component as product_tree
If you need fancier fly outs, more levels etc instead you could search
the net for a suitable bootstrap flyout menu, customise and paste that
in instead i.e. something like:
This is not an elegant solution but could be a quick way of getting to
what you need.
Tying it into the IC menu editor would be cool but would take a little
longer perhaps something to look at down the track.
More information about the interchange-users