Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty Menu more than 2 submenus level ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
jackprobe
Smarty n00b


Joined: 31 Mar 2009
Posts: 3

PostPosted: Tue Mar 31, 2009 1:09 am    Post subject: Smarty Menu more than 2 submenus level ? Reply with quote

Hi all,

I have installed & made Smarty Menu worked ... It's nice, thanks Monte Ohrt ... Smile

If I create only 2 level of submenus (like the demo example of Smarty Menu ) , it work fine.

But as I add more level (submenus) it failed. Example: I want to make a sub menu of 'Google News' or 'Google Groups' in the demo page, and another sub-sub menu of it. I got error ...

Can SmartyMenu be used to create more than 2 submenu level ? Have any body get success with it ?

Thanks.
Regards,
- jack -
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Tue Mar 31, 2009 1:18 am    Post subject: Reply with quote

Smarty Menu is super old, there are much newer javascript/css libraries that help build menus much better. I don't think Smarty Menu has been touched in some years now. I'd try googling for javascript/css cascading menus, and just implement that code in Smarty tempaltes.
Back to top
View user's profile Send private message Visit poster's website
jackprobe
Smarty n00b


Joined: 31 Mar 2009
Posts: 3

PostPosted: Tue Mar 31, 2009 1:25 am    Post subject: Reply with quote

Hi Monte Ohrt,

Many thanks for your scripts and very QUICK reply ... Smile
Actually SmartyMenu a nice scripts.

Anyway, can you give me some tips how to make menus in Smarty?
I need to make something like this:

if $user_manager, there is menu UserManagement_menu (and it's submenus)
if $user_sales, he just has menu Sales_menu (and it's submenus)

etc...etc...

Thanks.
Best Regards,
- jack -
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Tue Mar 31, 2009 1:31 am    Post subject: Reply with quote

like I say, I'd go find some javascript/css menus and integrate them. There are plenty of nice ones out there, just use google.
Back to top
View user's profile Send private message Visit poster's website
jackprobe
Smarty n00b


Joined: 31 Mar 2009
Posts: 3

PostPosted: Tue Mar 31, 2009 1:35 am    Post subject: Reply with quote

Hi Monte Ohrt,

I see ... many thanks. Sorry for my bad english ... Sad

Best Regards,
- jack -
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP