EduGeek Joomla 1.5 Package Thread, AutoSimpleMenu for Joomla 1.5 in Projects:; [EDIT]V1.1 (non-beta ) release now available[/EDIT]
AutoSimpleMenu allows you as a webmaster, to create a menu that is automatically ...
24th January 2009, 11:52 AM #1
AutoSimpleMenu for Joomla 1.5
[EDIT]V1.1 (non-beta ) release now available[/EDIT]
AutoSimpleMenu allows you as a webmaster, to create a menu that is automatically updated when your front-end users create articles in particular categories or sections. It is identical to the standard Latest News Module but with several simple additions to turn it into a useful automatic menu.
See http://www.st-leonards-pri.lancs.sch.uk to see it in action - all of the menus (apart from the main menu and the pupil zone class menu are automatic - any content added to the appropriate categories or sections is automatically indexed - no need for webmaster intervention
Article Sort Order
The articles can be listed in alphabetical instead of date or primary order.
You can additional specify one article to appear at the top of the menu, regardless of what sort order is specified. This is useful to have as an introductory article to your menu items.
The module responds to normal menu CSS code and not its original Latest News CSS so that it merges seamlessly into existing sites.
How to use it
Install as normal module extension
It needs to be installed like a standard module and then linked to an existing menu item and hopefully these instructions will walk you through the process.
Need to do 3 things and do some off them with 2 admin windows open (I recommend using a browser like IE7/FF3 with mutiple tabs)
Open admin1 window in your browser
Create new AutoSimpleMenu module - name it, enable title and set publish to yes and then pause
Open admin2 window in your browser
Create a new section and/or category for your articles - note the category ID number and stick it in the category field in admin1 window
Create a "Welcome to here" type article in your category (or move an exising article into the category for this pupose) - note it's ID number and stick that into the Top Article field in admin1 window.
Select Apply in admin1 window (to save the module)
In admin2 window, go and select the menu you want the AutoSimpleMenu menu to be linked to.
Click on New, select Articles then Article Layout, enter a title and then use the Select button on Select Article and go and find the "Welcome to here" article you created earlier and click Save.
Adjust the order of where you want the new AutoSimpleMenu to appear.
In admin2 window, refresh the window (F5 or your browser refresh icon) and then goto the menu assignment section and change it to only be displayed on the new menu item you created in the last two steps above.
Last edited by SimpleSi; 26th January 2009 at 12:26 AM.
IDG Tech News
24th January 2009, 03:01 PM #2
Warning: require_once(C:\xampp\htdocs\wasd\modules\mod_auto simplemenu\helper.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\wasd\modules\mod_autosimplemenu\mo d_autosimplemenu.php on line 18
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\wasd\modules\mod_autosimplemenu\h elper.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\wasd\modules\mod_autosimplemenu\mo d_autosimplemenu.php on line 18
Thanks to daboroe from:
SimpleSi (25th January 2009)
24th January 2009, 06:02 PM #3
25th January 2009, 12:28 AM #4
In think its not as easy to distribute a module extension as I thought
jeffy (ta!) reckons that the problem is that some of the files are not being automatically installed.
The module works if you try to install it as normal and then afterwards FTP all the missing files up.
I'm googling to find out what I need to do to get it to fully automatically install
25th January 2009, 02:38 AM #5
- Rep Power
Thanks to jeffy from:
SimpleSi (25th January 2009)
25th January 2009, 08:57 AM #6
4th attempt posted - its all jeffy's fault if this doesn't work
for info in my templates the module is styled using the same code as my normal fixed menus
padding: 4px 0 2px 28px;
background: url(../images/menu-bullet.png) 0 0 no-repeat;
29th November 2009, 06:32 PM #7
- Rep Power
Thanks for this......I am testing the waters with regard to allowing more contributors of articles to our sites. This extension saves me a great deal of time as I don't have to create menu items for each new article. Many thanks.......
29th November 2009, 11:06 PM #8
I find it indespensible (and not because I made it - it just makes life so much easier if front-end users can add articles and they are just added atuomagically to a "menu") - I'd love to find a "proper" extension that does the same job but I gave up looking ages ago
The one thing I'd like to do with it would be to make the section/categoory/top article be selectable via a nice GUI rather than having to type in ids!
On some on my menus - I actually have a static true menu and then a autosimplemenu module directly below it and disable show header so that it appears as one single menu to anyone viewing the site.
Anyway - glad you find it useful
Thanks to SimpleSi from:
jeffy (30th November 2009)
4th December 2009, 01:27 AM #9
- Rep Power
Well, it works nicely and I thank you. I have been asked to set up pages for teachers to post assignments and make announcements. Generally, I try to point people to Moodle to do that and a whole lot more.
But, your module plays a key role in this. I am using it in conjunction with JUGA, the first commercial extension that I have ever purchased. It is a nice ACL solution. Now, I can create a page for each teacher who wishes to have one, Set editing rights so that only they can edit their articles, and set up an AutoSimpleMenu on the teacher's "home page" that generates links to all of the pages that they create
I am only wishing to ind a way to set the module to publish on every page in the teacher's category and, do this automatically.Thanks again!
4th December 2009, 11:04 AM #10
If the teacher category is reached via a static menu item then just assigning the module to that menu does that for me.
I am only wishing to ind a way to set the module to publish on every page in the teacher's category and, do this automatically
So my main menu has PupilWork and then I have middle "proper" menu that is assigned to the main menu and then the middle menu points to the welcome article for each year group/school council etc and then an autosimplemenu is assigned to the middle menu item.
see Euxton CE Primary School to see it in action
PS My middle menu actually is one of the hybrids I talked about (no visible join ) with the top half being an autosimplemenu and the year groups being a normal joomla menu but the principles above apply.
By wesleyw in forum Web Development
Last Post: 21st January 2009, 05:08 PM
By randle in forum EduGeek Joomla 1.0 Package
Last Post: 4th July 2008, 12:52 PM
By Sheepy in forum EduGeek Joomla 1.5 Package
Last Post: 3rd July 2008, 03:33 PM
By russdev in forum Web Development
Last Post: 8th May 2008, 08:33 PM
By johnkay21 in forum Web Development
Last Post: 29th May 2007, 12:47 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)