Themes

 
 
Julian Ridden
New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Howdy all,

Essential ButtonWith 2.5 now release I thought it time to take the opportunity to build a new theme that would push the new theme engine to it's limits a bit. With that in mind I am happy to introduce the new "Essential" theme.

The idea of this theme, as usual with my themes, is to make the site look as little like Moodle as possible. In this specific instance, it would be used on sites where Moodle would potentially serve as a company homepage rather than just a course list.

Cool things to know about the theme.

  • It only uses 6 images.
  • Most of what you think are "graphics" are actually the Awesome font
  • The slider on the frontpage of the demo site is completely customisable through theme settings
  • I am really trying to push what Bootstrap Grids can do. As such the theme is fully responsive.
  • The footer is all custom Moodle regions. This means blocks can be added. The footer of the demo site is full of HTML blocks in this instance
  • The Theme uses Google webfonts to give it that extra bit of shazam!
  • Social Network icons appear at the top of the page dynamically based on theme settings
  • The entire color scheme can be modified with theme settings (like on Rocket)
  • The homepage main area is just a label. The theme will ship with custom classes that you can set for tables and links to modify their formatting. No knowledge of code is needed as you can use the text editor to do this. Documentation will be provided outlining what the additional classes are.

See the theme in Action

If you would like to see it in action, head to this year's iMoot site at http://2013.imoot.org

Download the Code

If you would like to download and play with the theme you can grab it from Github: https://github.com/moodleman/moodle-theme_essential

A MAJOR reminder - This theme is not finished yet. It is in a very raw, cluttered, messy and un-professional state. I am releasing on Githib for those who want to help in it's development. NOT FOR PRODUCTION

Ideas, suggestions and best of all, code improvements are more than welcomed. As I get the time to tidy this up I wil release it in Beta and then finally live in the plugins DB.

One area I am particularly struggling with is using the new admin_setting_configstoredfile in theme settings. I would like users to be able to just add slider images using it instead of the old path method. If you can help I would love to hear from you.


Click Image for Larger Version

 

 
Average of ratings:Useful (8)
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Dear Julian,

One word! -> WOW smile

I was involved with the development of 'admin_setting_configstoredfile' so can help you with it.  What's the specific issue?

Also, I notice that you are using JQuery 1.7.2 directly and not included from core.  I was also involved with this development so can help migrate to using the method employed in the core 'MyMobile' theme.  If the slider will not work with jQuery 1.9.1 then there is a migrate package to use.  I can do a fork later today and see what I can do.

Cheers,

Gareth

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

In short Gareth, no matter what I do the URL of the image always comes out as just "/imagename". Not a full path. I have been following MDL-35434 but just cant get past that. As either a css setting or as a CFG in the theme itself.

I keep forgetting that JQuery is in core now. Always just had to put up with only YUI being Moodle's library of choice. I have update GitHub so that the theme pulls in the Moodle jQuery library now. Be sure to check if I did that right. Still learning in that area.

Much of the frontage.php is still hardcoded from the moot site. Ill b translating more of it into settings as I move forward.

Julian

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

An absolutely brilliant theme Julian...WELL DONE YOU! Cheers!

On the dark side: Bangs computer!

You can't use the image uploader for the slider in the settings page, you have to set it as a URL as in previous custom settings pages!

Cheers

Mary

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

That seems a little nuts to me.

What was the point? I thought the reason admin_setting_configstoredfile was added was to allow images to be uploaded as part of theme settings. The current methodology (in my case) of adding them to the main menu block and copying links is just madness.

What was the rationale behind limiting it to just logo?

JR

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

I'm currently working on a fork that should work with 'admin_setting_configstoredfile' for all four images.  Watch this space!

 
Average of ratings:Useful (2)
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

You are a legend Gareth.

I have made a large amount of changes in the last hour or so fixing a few bugs. Be sure to have a current version. Can't wait to see what you come up with.

Julian

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

I'll do a 'pull' from the repo soon.  Currently FireBug playing up in FF.

Just 'pulled' work in progress on https://github.com/gjb2048/moodle-theme_essential

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Well there is your first problem smile

I have always preferred the Inspector built into Chrome.

Julian

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hi Julian,

LOL smile

Bingo! Done it in terms of image serving.  Main changes are in 'frontpage.php', 'lib.php' and 'settings.php'.  Tabs converted to spaces make the diff hard to see.  Pull request done.

Outline of changes attached in 'echanges.txt'.

Cheers,

Gareth

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hi Julian,

Currently getting this...

Cheers,

Gareth


 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Yeah. That is my bad. All fixed in latest flurry of updates

Julian

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

We only discovered it last week as Daniele was going to update Formal White theme and then we found that the uploaded image does not give a proper URL. bang computer

It is nuts isn't it!

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Ah ha!  But it can be made to have a proper url smile  I have it working smile -> https://github.com/gjb2048/moodle-theme_essential <- at least the image url bit smile

And look at 'echanges.txt' above smile

P.S. I'm not going for the world record of similes in a post ;)

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

P.P.S.

Use setting_file_url() to get the url of the file from the setting (as shown in lib.php and frontpage.php of the Essential theme - my current code - or just lib.php of the current core Afterburner theme).  This creates a call url on 'pluginfile.php' which then when issued (either in the url attribute of a css class etc. or the img tag src attribute) causes the server to eventually call in the theme's lib.php the 'theme_themename_pluginfile' function which then serves out the file using the 'setting_file_serve' function.

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Awesome work by Gareth last night!

Slide images now can be uploaded via settings page. You are indeed the miracle worker.

Now that I have seen how you did it, I am going to make the sponsor links also work this way.

Mary - Is it possible to format a theme settings page? It is become hard to read and think it would do well with some H2's and HR's to split up setting functionality.

Julian

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Yes you should be able to add HTML in between the settings, like any other PHP page using html_writer.  At last I would have thought so. I tend to use the title String and description $string to add hr and h2 and such.

 
Average of ratings: -
Picture of Lisa Stevens
Re: New "Essential" theme for 2.5 in early Alpha
 

This looks amazing! Includes a number of the elements I want to include in our Moodle when we upgrade to 2.5 so will tracking this thread for updates big grin

 
Average of ratings: -
Picture of Nano A
Re: New "Essential" theme for 2.5 in early Alpha
 

Dear Julian,

I have been searching at themes for Moodle for a while now and the nicest looking theme I found was Rocket which I am currently using on 2 Sites.

I have to say that this theme is FANTASTIC!  -  I  L O V E   I T!    

I don't understand programming and the technical side of things, but I never understood why most Moodle Themes don't look modern (they are all also kind of similar too).  

Props to you for taking the lead man.  If you can manage to get it working properly, I think it will set the bar really high now for all the other themes...

I'm in line to be one of the first to jump on board when it's ready... well, in fact, I think I will also install it now on a test site to give it a closer look!

A big thank you for your awesome contribution! smile

 

 
Average of ratings:Useful (2)
Picture of David Scotson
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Very nice! It all comes together really well to, as you say, look like it's not Moodle at all (or any CMS really) but a custom hand-crafted website, even though the look continues right into the Moodle courses. The Moodle Blocks in the footer is a particularly nice touch.

One totally unrelated question. I was looking at some of your bullet point lists to see how you were doing the icons and I saw this in the HTML:

<li id="yui_3_9_1_2_1369051526453_77"><strong>4 day</strong> long program</li>
 

I've seen those yui ids all over the place in Moodle before and never actually found out what they do. Does anyone happen to know? I'm a bit worried that Moodle's spending time adding ids to things via javascript for no obvious purpose.

Oh, and a quick bug report: the dropdown menus worked for me the very first time I clicked, but then didn't work after that and then didn't work at all when I tried another browser.

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Thanks for the feedback. I am hoping, after iMoot, to also re-write Rocket using Bootstrap now that I am getting the hang of it.

Cant speak for the id's or why they are there however.

Julian

 
Average of ratings: -
Picture of Andy Jessop
Re: New "Essential" theme for 2.5 in early Alpha
 

Fantastic theme! Do you have a login so that we can see what courses look like?

 
Average of ratings: -
Picture of David Scotson
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
There's some public access courses:

About iMoot
http://2013.imoot.org/course/view.php?id=3

iMoot lounge
http://2013.imoot.org/course/view.php?id=5

but I think installing it might be the best way to check it out in depth.
 
Average of ratings: -
Picture of sue sugizaki
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi,

Forum looks like this if you try to put a topic.

 

 
Average of ratings: -
Picture of David Scotson
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
I believe this is a result of a bug in Moodle Core.

https://tracker.moodle.org/browse/MDL-39608

In short the form labels are supposed to grow and shrink with the screen size, but currently they grow too much at small sizes, which can push the form content into the block columns.
 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hi Julian,

Just updated with a pull from GitHub and found that the 'Update Moodle database now' button on the 'Plugins check' page does not work.  Also noticed that the 'continue' link on the 'Purge all caches page' is also broken - have to wait for timeout on redirect.

Cheers,

Gareth

 
Average of ratings: -
Me, with my new 'slow explosion' hair!
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hi Gareth. I found the same issue (reported in the Issues page on the GitHub repository) but no cause/solution just yet. You can 'tab' around the screen until the button has focus (in fact, pressing shift-tab (tab backwards) three times usually gets the button) and then hit the spacebar to activate the button. 

I hope that helps!

Paul.

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Thanks Paul,

Just testing so was able to switch theme's to another and to the update smile

Cheers,

Gareth

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Hi Julian,

I've just cloned Essential from your github into my MOODLE_25_STABLE branch on my Localhost server and taking it for a spin. smile

It's looking good, but not sure if there is a problem when editing is on.

The whole layout changes, and all the blocks drop below the main content.

Also when editing a block in the hidden dock region I'm getting missing $string errors for the hidden dock region.

Just thought I would warn you. smile

Cheers

Mary

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

More problems I am afraid. sad

    1. Can't drag'n'drop blocks into footer regions as these have not been defined correctly. The only way you can get a block into the footer is to configure it manually in the block settings to footer (left) (right) or (middle).
    2. Once in the footer they seem to work OK until you decide to move them out or change their position in the footer, you get this error appearing:
       Notice: Undefined offset: 0 in C:\wamp\www\moodle25\lib\outputrenderers.php on line 1263
      Call Stack
      #    Time    Memory    Function    Location
      1    0.0029    837736    {main}egg    ..\index.php:0
      2    1.3758    49766912    core_renderer->headeregg    ..\index.php:99
      3    1.4109    50869648    core_renderer->render_page_layoutegg    ..\outputrenderers.php:777
      4    1.4120    51075448    include( 'C:\wamp\www\moodle25\theme\essential\layout\frontpage.php' )    ..\outputrenderers.php:847
      5    7.4032    96839768    require( 'C:\wamp\www\moodle25\theme\essential\layout\footer.php' )    ..\frontpage.php:438
      6    7.4056    96850568    core_renderer->blocks_for_regionegg    ..\footer.php:40
      7    7.4057    96851192    core_renderer->block_move_targetegg    ..\outputrenderers.php:124
    3. Looking at lib/outputrenderer.php round about line 1263 we have this:

      /**

           * Output a place where the block that is currently being moved can be dropped.

           *

           * @param block_move_target $target with the necessary details.

           * @param array $zones array of areas where the block can be moved to

           * @param string $previous the block located before the area currently being rendered.

           * @return string the HTML to be output.

           */

          public function block_move_target($target, $zones, $previous) {

              if ($previous == null) {


line 1263 ->$position = get_string('moveblockbefore', 'block', $zones[0]);

              } else {

                  $position = get_string('moveblockafter', 'block', $previous);

              }

              return html_writer::tag('a', html_writer::tag('span', $position, array('class' => 'accesshide')), array('href' => $target->url, 'class' => 'blockmovetarget'));

        }

Mary sad

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Hi Julian...

Sorry to report another problem...this time when changing to RTL Language. There is a problem with block regions.

נמצא טעות בקוד, נדרש לתקנה ע"י מתכנת: Trying to reference an unknown block region side-post

Debug info:
Error code: codingerror
Stack trace:
  • line 884 of \lib\blocklib.php: coding_exception thrown
  • line 984 of \lib\blocklib.php: call to block_manager->check_region_is_known()
  • line 997 of \lib\blocklib.php: call to block_manager->ensure_instances_exist()
  • line 315 of \lib\blocklib.php: call to block_manager->ensure_content_created()
  • line 1231 of \lib\outputrenderers.php: call to block_manager->get_content_for_region()
  • line 192 of \theme\essential\layout\general.php: call to core_renderer->blocks_for_region()
  • line 847 of \lib\outputrenderers.php: call to include()
  • line 777 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
  • line 217 of \theme\index.php: call to core_renderer->header()

Might be better if you set up a Tracker to fix these.

Mary

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

yes Mary,

Now that one I aware of and have not yet properly implemented. Will fix once the iMoot is done.

Julian

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

The slider needs z-index: 500; to slip beneath the menu dropdowns.

 
Average of ratings: -
Picture of Nadav Kavalerchik
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful MoodlersGroup TestersGroup Translators

Julian, if you need any help with the RTL issues just blink wink

Do know that I am about to dive into Bootstrapbase and all the RTL issues on https://tracker.moodle.org/browse/MDL-38856 so if anything is propogating from it, leave it to me smile

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Hi Nadav, I finally have the code to a level now where I would happily accept your help. Could you look at the at the latest layout files and provide suggestions (or patches) to get the RTL working as it should.

Many thanks

Julian

 
Average of ratings: -
Picture of Pablo Antonio Prada Rodriguez
Excelente Trabajo, Great Job
 

Felicitaciones Julian has hecho un excelente trabajo, estoy explorándolo y al mismo tiempo creando una versión en español, apenas tenga algo digno de mostrar se los estaré compartiendo a todos, gracias por mostrar el camino... Saludos.

Congratulations Julian has done an excellent job, I'm exploring it while creating a Spanish version, just have something to show you all I will be sharing with everyone, thanks for showing the way.

Greetings.

 
Average of ratings: -
Julian Ridden
Re: Excelente Trabajo, Great Job
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

If you can send me a spanish translation of the lang file I would be more than happy to include it.

That goes for anyone else who would also like to add translations

Julian

 
Average of ratings: -
Paul
Re: New "Essential" theme for 2.5 in early Alpha
 

Great, I had some problems getting it to install into 2.6 Alpha, so will keep you posted if I figure out a work around. You may beat me though. wink

 
Average of ratings: -
Gareth J Barnard
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

I think more things like this are now fixed on the iMoot site so just needs Julian to recover from iMoot before they are in Essentials GitHub smile

 
Average of ratings: -
Picture of Nadav Kavalerchik
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful MoodlersGroup TestersGroup Translators

A M A Z I N G !

( I would really like to write some more adverbs but I am overwhelmed )

Thank you Julian! smile

 
Average of ratings: -
Picture of Pablo Antonio Prada Rodriguez
Re: New "Essential" theme for 2.5 in early Alpha
 

hi Julian

Congratulations for this excellent theme. I have a concern where I can modify animated images that are on the frontpage? I have looked frontpage.php file but I can not appear on my site www.mediostic.com/moodle could you guide me? or give me a hand? maybe i make something wrong

Thank you very much

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

The reason you cant find the images in the code is because they are not there. That "slider" is all controlled through Theme settings. Just click and drag an image in and add your on text in the settings and it appears. (see screenshot)

The theme has been designed so that non-techies can update it without touching code as much as possible.

Julian


 
Average of ratings: -
Frankie's the name, Moodle's my game!
Re: New "Essential" theme for 2.5 in early Alpha
Group Particularly helpful Moodlers

Hi Julian

How glad I am to discover your theme!

2 questions:

(1) How do I make the slide image appear larger? The image's actual size is larger than what appears on the rotating banner. Would like the image to appear larger or even as per actual size.

 

(2) I noticed that when the coursepage loads up, the rotating banner skips the first slide (blanks out) and then countsdown N seconds for the second slide to appear. I think even the http://2013.imoot.org/ 's rotating banner exhibits this behaviour. How can I make sure that upload loading, the first slide appears as what one would expect? 

Regards
Frankie Kam

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Hi Frankie,

The theme currently is really only built to take square images in the slider. It is incredibly difficult to build it to take all possibilities. In a future release however I will add the option for a slide background image as well.

That bug you identified has been driving me batty as well. Havent found a fix yet. Certainly open to suggestions.

Julian

 
Average of ratings: -
Picture of Trine Michelsen
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian,

First of all congratulations on the development of this theme!

For the slider I've even used images which are not completely square ( 325 x 256) and it looks great!

The only problem I have is what I've seen mentioned in other posts - and that's how the first slide shows when you open the page. All the images show piled onto each other in a quick flash and then the slider goes blank for a few seconds until it starts working perfectly.

Have you managed to find a solution to this?

Thanks for this awesome theme!

Cheers

 

 
Average of ratings: -
Picture of Paul Wood
Re: New "Essential" theme for 2.5 in early Alpha
 

This is a really nice looking theme but there's an issue with the menu not overlaying over the slider images correctly. 

Cheers,
Paul

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

You need to check what the slider CSS for z-index is and lower it to a value that works for you. You could try 500 or less.

You can use Notepad to do this if you do not have a Text Editor.

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Great news "Essential" fans. I have put in a whole bunch of updates (many committed by the community) and I think we can safely say we are ut of "Alpha" and into a very workable "Beta".

Included in this update are:

  • All "imoot" related frontpage code is now gone (yay!)
  • All settings now work. You can change colors and logo's to your hearts content
  • Z-index of the menu is fixed. Now goes on top of slider
  • now can take up to 5 different social network settings (Google+, Youtube, Flickr, LinkedIn and Twitter)
  • Awesome Font now loads properly on mobiles
  • Compatibility updates fo latest bootstrapbase version
  • Can now drag into footer blocks
  • numerous redundant divs removed
  • New setting to toggle slideshow display on mobiles
  • and a slew of other smaller bugs.

You can still grab the code from Github using the previous link at the top of this discussion thread and keep the feedback (and fixes) coming.

Regards

Julian

 
Average of ratings:Useful (2)
Picture of Derek Runions
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian,

 

I recently upgraded to the most current version of Essential Theme and when I did so, I lost the ability to edit my Flickr button.

 

It still shows in the Social Networking location at the top of the page, but I need to edit the web address (as it is wrong) but I don't have anywhere to do that.  When I go to the Social Networking edit screen I can see Google+, Facebook, etc. but Flickr is not on there.

As you can see, I have only 3 web addresses on the edit screen, but I have social networking buttons displaying

...help?


 
Average of ratings: -
Picture of Herve Cachelin
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi, your theme is awesome. I have come across a problem not encountered with other themes: I am using a table with pictures on the front page which I use as icons with shortcuts to access other pages. In Firefox these display correctly, but in Internet explorer the pictures appear in their original size, independently of the pixel size inserted. This only seems to happen on the front page. Is this a bug of Essential?

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

I would not call it a bug, it's more likely to do with IE.

It could be the UTF8-BOM which is not a bug exactly it's a tiny bit of code embedded into the layout file, but then that is a wild guess and not likely.

The other alternative is that the CSS needd to style your frontpage is not being processes. Now THAT is an IE problem.

 
Average of ratings: -
Picture of Zifang Su
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian - great theme! I really like it, especially with all the customisation options. Not sure why, but the theme looks different on the different browsers and their older versions. I viewed in on IE 10, IE 9, IE 8 Firefox (not sure which versions) and Chrome (not sure which versions).

 
Average of ratings: -
Picture of R. Gusmão
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi all,

I love this theme, but I would like to know how can I put some blocks between Dynamic Slideshow and the Marketing Spots, just like the example site http://2013.imoot.org/.

And the blocks in the footer?

 

Thanks in advance

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

No you can't. Those were hardcoded into the layouts for that site. You could add them under the marketing slots by adding a Label. Otherwise you will need to edit the theme files.

Julian

 
Average of ratings: -
Picture of Nano A
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian,

Two quick questions:

First:  How can I make the Site news and Available courses on the frontpage to show across the whole page as in your screenshots (meaning in 1 column)?

At the moment, they are only showing on the main area excluding the space for the two columns on the right (which by the way in my install is empty to give space to the main 1st column).

 

Second one:  I know you answered this before, but I would like to ask if you could please consider making it possible to add a label between the slideshow and the marketing spots (as you had in your iMoot site)

The reason for this is that We have a main content we would like people to see, and then we'd like to market something else... not the other way around.

The only workaround I have so far is either not showing the marketing spots sad  or use the slideshow with only one element to showcase our main content.

 

Thanks for your help smile

 

 

 

 

 
Average of ratings: -
Picture of Eva Ignatuschtschenko
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi! Quick question: Do you already know when there will be the next release of the plugin?

Thanks in advance!

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Hopefully in the next day or so. No really huge new features but more of a maintenance release.

Julian

 
Average of ratings: -
Picture of Seth Mengal
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian, could u check what happend to the Home icon on the header :/

https://students.edequal.com/login/index.php

 

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

Hi Seth, Sadly I do not have an answer for you.

I am seeing your site in numerous browsers looking just like your screenshot. But with the latest copy of the code on several other sites it looks just fine. I do not know why yours is different.

Julian

 
Average of ratings: -
Picture of Seth Mengal
Re: New "Essential" theme for 2.5 in early Alpha
 

I just downloaded the new theme files from github, still the same ... Sad. It will take time to figure this one out for me haha

 
Average of ratings: -
Picture of Seth Mengal
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi Julian,

I just figured out. when i disabled Theme Designer mode, then the icon dissapeared. So i enabled theme designer mode to check, and the icons are back.

What must be the problem? :o 

 

Edit: I have also Purged caches, clean theme cached and all.

 
Average of ratings: -
Picture of Seth Mengal
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi, I took the source code

With Theme Designer Mode and Without. Theres a change of code on line 12. I wonder if these two things are connected.

 


 
Average of ratings: -
Picture of Hanaa hh
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi

I found that adding new block or plugin didn't work probably in essential theme. A white empty page appears and you couldnt do anything until you go to blocks folder and delete the new plugin folder. 

I change theme then add the plugin, then back again to essential theme it works probably under essential theme
I think it will be great to fix this problem in the next release.

Thank you and I really like the theme smile 

 

regards, 

Hanaa

 
Average of ratings: -
Picture of Hartmut Scherer
Re: New "Essential" theme for 2.5 in early Alpha
Group Particularly helpful Moodlers

Hi Hanaa,

Which Moodle version are you using? What is the version of your installed Essential theme?

With kind regards,

Hartmut

 
Average of ratings: -
Picture of Derek Runions
Re: New "Essential" theme for 2.5 in early Alpha
 

Thanks for the reminder, I upgraded to the newest release and the Flickr option box came back.

 

Thanks!

 
Average of ratings: -
Picture of Dariusz R.
Odp: Re: New "Essential" theme for 2.5 in early Alpha
 

Great Job! I love this theme! I have 2013090400 and a few problems:
1) in polish language we have a few different letters like (ą, ę, ś, ć, ź, ż, ł) - the font used in this theme doesn't have them. Is there any way I could change font in this theme? Now single letters are replaced with different font and it looks horrible.
2) Is is possible to move settings block to awesomebar, any ideas?
3) Docking of blocks doesn't work.
4) Clean URLs doesn't work (I've checked this option in settings)

I would really appreciate any help or hint.

Cheers, Darius

 
Average of ratings: -
Picture of S. kavita
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi All,

First I would like to thanks for giving the best theme.  I am using the theme for my site. I have came across a problem. Actually, my requirement is the marketing row should only be visible before login, after login it should be disabled. Please anyone help me out. I need to accomplish as soon as possible.

Thanks in advance

 
Average of ratings: -
Picture of Jason Lane
Re: New "Essential" theme for 2.5 in early Alpha
 

Hi, you'll need to edit the essential/layout/frontpage.php file:

Find line 282 (or thereabouts) and change this line:

<?php if($PAGE->theme->settings->togglemarketing==1) { ?>

to this:

<?php if($PAGE->theme->settings->togglemarketing==1  && !isloggedin() ) { ?>

This should check if the marketing spots is enabled AND if no user is logged in before showing the marketing spots. I haven't tested it myself but I had a similar query the other day (for the slideshow) and it worked for me.

Good luck!

 
Average of ratings: -
Picture of Jeremy Schweitzer
Possible bug
 

We use the Main Menu block to add activities to our homepage and in my original testing everything seemed to work fine, but I just noticed that I can't add new activities. When I turn editing on the "Add an activity or resource" option appears, but it's not clickable.

If I change the theme to something else, the feature works fine, but if I switch back to Essential it breaks again. It is only on the Main Menu block that this doesn't work. It appears to work everywhere else just fine.

My installed version of Essentials is 2013090400 on Moodle 2.5.2+ (Build 20130913).

Has anyone else seen this behavior or have a solution?

 
Average of ratings: -
Picture of Jean-Michel Védrine
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hello Julian,

Since I upgraded to the latest weekly release (Moodle 2.5.2+ (Build: 20131004)) I have a problem when theme is set to Essential: the tinyMCE editor is missing everywhere (well not really, it is still available in forumng but I guess this is because of the very special way forumng is displaying the editor).

Everything is OK in other themes including Clean.

 
Average of ratings: -
Picture of Mauno Korpelainen
Re: New "Essential" theme for 2.5 in early Alpha
Group Particularly helpful Moodlers

Hi Jean-Michel,

which version of Essential is it - https://moodle.org/plugins/pluginversions.php?plugin=theme_essential ?

That sounds like a javascript conflict so check your browser debugging tools (developer tools / javascript error console) - could be for example a conflict between different jQuery versions in some custom plugins and jquery-1.9.1.min.js in Essential theme...

I installed some minutes ago the latest version of Essential to Moodle 2.5.2+ (Build: 20131004) and editor worked fine.

 
Average of ratings: -
Picture of Jean-Michel Védrine
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

Hello Mauno,

Well, I download all plugins from their gihub repo when they have one smile so it's in fact master branch from https://github.com/moodleman/moodle-theme_essential

No error is shown in the javascript console.

But I was wrong when I said that the TinyMCE editor is missing everywhere, it is in fact missing only when I am in edit mode

For instance can you test:

- go into a course switch edit mode on and try to create/edit a question -> no html editor

- switch edit mode off and try to creae/edit a question -> html editors are displayed

I made a test downloading a fresh copy of Moodle 2.5.2+ (Build 20131004) and a fresh copy of esssential master branch and locally I get the same problem so a least it is reproductible smile and not a problem when transferring files to my production server or during the upgrade process.

I will make the same test but with essential downloaded from the plugins database and not from the github repo to see if there is any difference.

 
Average of ratings: -
Picture of Jean-Michel Védrine
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

so now I can be quite affirmative because I made tests with fresh downloads of Moodle and of Essential theme

Latest weekly release of Moodle 2.5.2+ (Build 20131004) + Essential downloaded from the Plugins directory (version: 2013090400) -> no problem: editor is displayed in edit mode

Latest weekly release of Moodle 2.5.2+ (Build 20131004) + Essential downloaded from master branch of Julian's github repository (version 2013092300) -> kaboum: editor is missing in edit mode

I think  I will left my broken production site as it is: as I am the only teacher, I am the only one to see the problem and I am quite able to edit things without the editor for a few days.

Last time I tried to downgrade a Moodle plugin it was an unpleasant experience so I will no try to downgrade Essential from 2013092300 to 2013090400 on a Sunday evening smile.

 
Average of ratings: -
Picture of Jean-Michel Védrine
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Particularly helpful Moodlers

As a lot of developers I respect say that git bisect is great to find what commit introduced a regression, I decided to have a look and if I have not made a mistake (don't forget this is the firs time ever that I use bisect !) the problem is introduced by https://github.com/moodleman/moodle-theme_essential/commit/a9679d15e50974a41683d1412203b0e4db18ad1e

What a surprise !

 And you know what ? just editing this line to revert that change fixed my production website: the editor is back  !

I love git bisect

 
Average of ratings: -
It's only an avatar...
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

I wonder why Julian added side-post back into the array for Admin pages as report.php does not even call side-post. There is however this line which also should not be in that file...

https://github.com/moodleman/moodle-theme_essential/blob/master/layout/report.php#L33

 
Average of ratings: -
Julian Ridden
Re: New "Essential" theme for 2.5 in early Alpha
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

There was a very good reason for this. It is called a "stuff up". I regularly add these additions to my code as a manner of course. :P

It is now rectified.

Julian

 
Average of ratings: -