- Posts: 67
Tips & Tricks
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Demo Template
- David Parker
- Topic Author
- Offline
- Senior Member
-
Less
More
13 years 11 months ago #1
by David Parker
Demo Template was created by David Parker
What template are you guys using for your demo Moodle? Looks great!
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 11 months ago #2
by Chris
Replied by Chris on topic Re: Demo Template
It's a yootheme template.
But the truth is, you can make almost any template look like any other template. The look and feel is one that we did previously using a Rockettheme. But I switched across to yootheme and by positioning the modules as such it still looks like the old rockettheme.
For me, I choose a template that offers decent module styles (end up making some of my own as well) and one that is fast - not as many bells & whistles in the framework. Than just play with the fonts, module positions, and extensions.
But the truth is, you can make almost any template look like any other template. The look and feel is one that we did previously using a Rockettheme. But I switched across to yootheme and by positioning the modules as such it still looks like the old rockettheme.
For me, I choose a template that offers decent module styles (end up making some of my own as well) and one that is fast - not as many bells & whistles in the framework. Than just play with the fonts, module positions, and extensions.
Please Log in or Create an account to join the conversation.
- David Parker
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 67
13 years 9 months ago #3
by David Parker
Replied by David Parker on topic Re: Demo Template
Here's my solution for integrating a moodle theme with no moodle menus.
Moodle doesn't allow you to assign a theme to all users and a separate theme for the administrator.
This is a hack, but it's the only way I know to get rid of the moodle menus that appear in Joomla when you click on my courses.
You need to know a little about HTML and know how to FTP to your server.
Pick a moodle theme that is close to your joomla theme. I chose, Arialist.
Your going to edit "general.php" It's found in /moodle/theme/your_theme_name/layout/general.php
Copy it to your computer via FTP
Create two directories and copy general.php to each directory. To keep track of the files easily. I created two directories:
theme_with_menus
theme_without_menus
Go to the directory "theme_without_menus"
Edit the general.php file
Remove all the menu HTML script. I don't want my users to have access to the moodle menus.
Copy the edit version of general.php to: /moodle/theme/your_theme_name/layout/general.php
Refresh your browser
If you edit the file correctly, you will not see any moodle menus.
NOTE: even if you login as admin, you will not see any menus.
To get the menus back, copy the backup of general.php to /moodle/theme/your_theme_name/layout/general.php
Your moodle menus will then return.
This works and is quick. Maybe a routine could be written to switch between the two general.php files. Doing it via FTP is quick enough.
Moodle doesn't allow you to assign a theme to all users and a separate theme for the administrator.
This is a hack, but it's the only way I know to get rid of the moodle menus that appear in Joomla when you click on my courses.
You need to know a little about HTML and know how to FTP to your server.
Pick a moodle theme that is close to your joomla theme. I chose, Arialist.
Your going to edit "general.php" It's found in /moodle/theme/your_theme_name/layout/general.php
Copy it to your computer via FTP
Create two directories and copy general.php to each directory. To keep track of the files easily. I created two directories:
theme_with_menus
theme_without_menus
Go to the directory "theme_without_menus"
Edit the general.php file
Remove all the menu HTML script. I don't want my users to have access to the moodle menus.
Copy the edit version of general.php to: /moodle/theme/your_theme_name/layout/general.php
Refresh your browser
If you edit the file correctly, you will not see any moodle menus.
NOTE: even if you login as admin, you will not see any menus.
To get the menus back, copy the backup of general.php to /moodle/theme/your_theme_name/layout/general.php
Your moodle menus will then return.
This works and is quick. Maybe a routine could be written to switch between the two general.php files. Doing it via FTP is quick enough.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
13 years 9 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Demo Template
Thanks for the info.
If anyone is interested, we uploaded the joomdledemo template in case it can be helpful. It also hides menus for non-admins.
sourceforge.net/projects/moodle-joomla/f...dledemo.tgz/download
If anyone is interested, we uploaded the joomdledemo template in case it can be helpful. It also hides menus for non-admins.
sourceforge.net/projects/moodle-joomla/f...dledemo.tgz/download
Please Log in or Create an account to join the conversation.
- Ross Innes
- Offline
- New Member
-
Less
More
- Posts: 14
13 years 9 months ago #5
by Ross Innes
Hi Antonio,
Thanks for posting your demo template. I fear I might be doing something wrong though. With the joomdledemo template applied all I see is Moodle's standard template.
I might have misunderstood and this template just accommodates admin menus and wrapping or should it look like the demo page (landing page after login with the green and black tabs)?
Replied by Ross Innes on topic Re: Demo Template
Antonio Durán wrote: Thanks for the info.
If anyone is interested, we uploaded the joomdledemo template in case it can be helpful. It also hides menus for non-admins.
sourceforge.net/projects/moodle-joomla/f...dledemo.tgz/download
Hi Antonio,
Thanks for posting your demo template. I fear I might be doing something wrong though. With the joomdledemo template applied all I see is Moodle's standard template.
I might have misunderstood and this template just accommodates admin menus and wrapping or should it look like the demo page (landing page after login with the green and black tabs)?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
13 years 9 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Demo Template
You are doing nothing wrong: the template is just standard moodle template modified for not showing navigation to normal users (not admins).
Not sure what you mean with green and black tabs. Do you talk about Jomsocial? Black tabs with a green line below? That's Jomsocial and has nothing to do with Moodle template.
Not sure what you mean with green and black tabs. Do you talk about Jomsocial? Black tabs with a green line below? That's Jomsocial and has nothing to do with Moodle template.
Please Log in or Create an account to join the conversation.
- Ross Innes
- Offline
- New Member
-
Less
More
- Posts: 14
13 years 9 months ago #7
by Ross Innes
Replied by Ross Innes on topic Re: Demo Template
That's excellent. Thanks Antonio.
It's the Jomsocial plugin that I mistook for a template layout.
The demo template + now knowing about Jomsocial has helped me out so much.
Thanks!
It's the Jomsocial plugin that I mistook for a template layout.
The demo template + now knowing about Jomsocial has helped me out so much.
Thanks!
Please Log in or Create an account to join the conversation.