here is a little script creating a DROP DOWN MENU FOR containing all the CATEGORIES and ALL COURCES
This code is CROSS BROWSER( WITH PURE CSS)
Actually this is a hack so place it in your theme/[your_own_theme]/header.html
it really looks fine!
i'll attach also some snapshots of my site!
cu!
code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از aggelos panagiotakis در
Number of replies: 5
In reply to aggelos panagiotakis
Απάντηση: code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از aggelos panagiotakis در
In reply to aggelos panagiotakis
Re: ÁðÜíôçóç: code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از Just Dave در
Wow, thanks so much for sharing this!
I tested it out, worked great but how did you get so manu menus like in your screenshot? All I have displayed is "Online Lessons".
Dave
In reply to Just Dave
Απάντηση: Re: Απάντηση: code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از aggelos panagiotakis در
i was looking around for this feature and i havent found it anyware,so just acted to create it!Thats the spirit of OpenSource!
Happy it worked for you (just
) Dave
What this code displays is the categories (in the vertical main menu) you have and inside of them (as horizontal sub menus) the cources in each category. So i guess you have just one category!Otherwise d othe following:
See I had more that one categories with one cource inside them and i did not wanted to display these menus and sub menus!
So i added the " if (count($the_courses)>1) { " code you will have to comment
So to show all the categories and every cource in them just do the following:
comment the line
if (count($the_courses)>1) {
to
//if (count($the_courses)>1) {
and the clossing bracket (13 lines below)
}
to
//}
hope you 'll understand!cu!
Happy it worked for you (just
What this code displays is the categories (in the vertical main menu) you have and inside of them (as horizontal sub menus) the cources in each category. So i guess you have just one category!Otherwise d othe following:
See I had more that one categories with one cource inside them and i did not wanted to display these menus and sub menus!
So i added the " if (count($the_courses)>1) { " code you will have to comment
So to show all the categories and every cource in them just do the following:
comment the line
if (count($the_courses)>1) {
to
//if (count($the_courses)>1) {
and the clossing bracket (13 lines below)
}
to
//}
hope you 'll understand!cu!
In reply to aggelos panagiotakis
Re: ÁðÜíôçóç: Re: ÁðÜíôçóç: code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از Ben Sp در
hi, really nice work!
any idea how to just show the courses on which a student is enrolled on?
any idea how to just show the courses on which a student is enrolled on?
In reply to Ben Sp
Re: ÁðÜíôçóç: Re: ÁðÜíôçóç: code for CROSS BROWSER( WITH PURE CSS) DROP DOWN MENU FOR CATEGORIES and ALL COURCES
از Robert Brenstein در
If you look at a student while logged in as admin, the courses in which student is enrolled are displayed. So the code is already there.