Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Hide menu item if user is logged in
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Hide menu item if user is logged in
#9480
Hide menu item if user is logged in 13 Years, 4 Months ago Karma: 0
I know how to do this for standard menus, by creating a joomla parameter called "only_show_for_guests" then referencing it in the helpher.php when the menu is built to miss out out any menu if the user is logged in.

Where's the equivalent section in ari ext menu, I don't mind doing a bit of hand coding, just need to know where.

Why would I want to do this? Well I want to hide the "join us" menu and submenus when people are logged in as they're already members.
The administrator has disabled public write access.
 
#9481
Re:Hide menu item if user is logged in 13 Years, 4 Months ago Karma: 747
Hello,

The module doesn't provide this ability. Template file which is used for rendering menu item is located by the following path:

<joomla_directory>/modules/mod_ariextmenu/mod_ariextmenu/templates/menu.html.php

You can change it for your needs.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#9487
Re:Hide menu item if user is logged in 13 Years, 4 Months ago Karma: 0
Thanks, that's a start, I'm going down the method detailed here:

forum.joomla.org/viewtopic.php?t=461934
The administrator has disabled public write access.
 
Go to topPage: 1