BCU Theme support

BCU Theme support

by Jez H -
Number of replies: 461
Please note a fork of BCU called Adaptable (link to plugins directory) is now available which offers additional features and more active support



https://moodle.org/plugins/view.php?plugin=theme_bcu

(Edited by Mary Cooch to change subject line - original submission Friday, 5 December 2014, 8:42 PM)

(Edited by Mary Cooch to change subject title - original submission Thursday, 30 April 2015, 11:05 AM)

(Edited by Mary Cooch - original submission Tuesday, 9 June 2015, 11:21 AM)

Average of ratings: Useful (2)
In reply to Jez H

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers

YesYesYes

Congrats on yet another brand new idea, and another chance for premium theme developers to start their photocopiers smile

Jez, your demo video runs too fast, would it be possible to do another once you are done with inputs and implementations. 

Font awesome icons require update, as I believe the reference given in theme was of 4.0, as I have icons missing that are from 4.2.

and, for some weird reason, font awesome icons aren't being shown on FireFox browser, though chrome shows them up fine.

Also, a crucial part missing, that is social integration smile 

This hover effect looks awesome, it's always good to see new ideas in themes.


In reply to Usman Asar

Re: New Theme Available :-D

by Jez H -

Hi Usman,

The video was a bit of a throw up, its fast because I set it to run 2x speed :p I will do a better one soon.

We will look into the FA version.

Could you make sure its not an issue with your browser too?

I doubt we will do any kind of social integration to be honest.

The hover effect was actually something New School Learning came up with after they stopped working on our theme, if you look at their latest stock themes (Promenade and Saturate) you will see the same effect:

http://newschoollearning.com/theme/

In reply to Jez H

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers

Jez, all other themes making use of FA are showing icons on my FF and not BCU, it could be due to the version 4.0 being used in BCU, whilst out there is 4.2, so may be updating the theme will get rid of my issue as well smile

Also, after changing the colors, all caches have to be purged  for theme to take effect, whilst if I see other themes, its not required, its definitely not an issue but may be there's something needs to be changed for that too - just a thought.

In reply to Usman Asar

Re: New Theme Available :-D

by Jez H -

Hi Usman,

Thanks for the suggestions on FA we will definitely look into moving the FA version.

The cache should clear, we will look into that too.

I dont think we should be discussing this in "general" though, I only posted hete to let people know it was avalable.

I will add a thread to the themes forum to discuss issues like this.

In reply to Jez H

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers

sure, issues like  these can be dealt over with in later time, just wait for the weekend to be over and start getting hits on Theme, I just couldn't believe you sent out the theme right on the Friday evening sitting in UK, expect next weekend to be busy for you smile

In reply to Usman Asar

Re: New Theme Available :-D

by Oscar Fudalan -

Hi everyone, there is no photo uploader in the marketing block section found in the front page area of this theme. I have tried uploading the referenced photos to a course but if accessed publicly and without logging in, they don't appear in the 4-block area. How and where can we upload the small banner photos? smile) Any help will be appreciated.

In reply to Jez H

Re: New Theme Available :-D

by dawn alderson -

Nice, very very nice.  It seems to me, with this theme-not sure about others as well, of course.....but a nice nav exists for my little area.....as a learner-user, I can nav easily to my space...that I own.....for example where my personal stuff is kept....and a little area for sharing my achievements too.....my e-portfolios that can be made available to potential employees with a nice url link.....that is what I see.

re: which band...was it Leftfield....nice choice....love the video....def my cuppa watched it twice..all vids in moodle should be like that-where you want to watch it twice eh! wink 

In reply to Jez H

Re: New Theme Available :-D

by Simon Rediss-Whitfield -

Hi Jez,


Just going over these posts as I have migrated back to the BCU theme, I thought this would be the best place to post social media integration if anyone wanted it as I found it was something I needed on my site


I have placed this code into the footer.php in footer content 2 (approx line 42)


<div><a href="[full link to your Twitter]"><img title="Twitter" src="[image URL for Twitter icon]" alt="Twitter" width="35" height="35" /></a><a href="[full link to your Pinterest]"><img title="Pinterest" src="[image URL for Pinterest icon]" alt="Pinterest" width="35" height="35" /></a> <a href="[full link to your Facebook page]"><img title="Facebook" src="[image URL for Facebook icon]" alt="Facebook" width="35" height="35" /></a> <a href="mailto:[email address]"><img title="Email" src="[image URL for Email icon]" alt="Email" width="35" height="35" /></a><a href="[full link to your RSS feed]"><img title="RSS" src="[image URL for RSS icon]" alt="RSS" width="35" height="35" /></a></div>


If they do not have there own icons it is possible to take the src from the following

<div>
<a href="[full link to your Twitter]">
<img title="Twitter" alt="Twitter" src="https://socialmediawidgets.files.wordpress.com/2014/03/twitter1.png" width="35" height="35" />
</a>
<a href="[full link to your LinkedIn]">
<img title="LinkedIn" alt="LinkedIn" src="https://socialmediawidgets.files.wordpress.com/2014/03/linkedin1.png" width="35" height="35" />
</a>
<a href="[full link to your Facebook page]">
<img title="Facebook" alt="Facebook" src="https://socialmediawidgets.files.wordpress.com/2014/03/facebook1.png" width="35" height="35" />
</a>
<a href="[full link to your RSS feed]">
<img title="RSS" alt="RSS" src="https://socialmediawidgets.files.wordpress.com/2014/03/rss1.png" width="35" height="35" />
</a>
</div>
In reply to Usman Asar

Re: New Theme Available :-D

by Francisco Décio -

Hi,

I've uploaded BCU V1.1.1 theme folder to my moodle 2.6 themes folder. However, for some reason when I go to moodle admin, to the themes seccion, It does not show there! Not even when I try to go thru theme selector. 

Did I do someting wrong?

Thanks in advance.


Francis

In reply to Francisco Décio

Re: New Theme Available :-D

by Francisco Décio -

Ok. Solved.

When I logged in again, moodle told me to update my database. It's done now!

Thanks! By the way, nice template!

Francis

In reply to Jez H

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers

by broken icons I meant as shown in image. This so far is happening on firefox only.


In reply to Usman Asar

Re: New Theme Available :-D

by Mike Grant -

Hi Usman,

I've just pushed an update for theme, it should be on Moodle.org now. Can you check the Font Awesome icons for me and get back to me? I've tested it here, and it worked fine for me with FF and moodle 2.8. But it didn't before I updated the version!

Let me know smile

In reply to Mike Grant

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers
Hi Mike, thanks for getting back, unfortunately its still the same issue. it could be with my server configuration too, so will test shifting Moodle to some other server. So far it isnt a really big issue as I intend to use on  one of Moodle 2.7 installations, and it works fine on 2.7.




Attached is screen shot with Moodle 2.8.1 and BCU 1.0.1, as again, could be issue with just me and none else, so best is to wait and see for oncoming feed backs if someone is using FF as mostly use Chrome.
I'll better give it some time as my server passes through Google PSS and they bring loads of issues in CSS, JS etc smile


UPDATE: Just installed onto a new server, Moodle 2.8.1 and BCU 1.0.1 - Everything worked as it should. thanks for update.
In reply to Usman Asar

Re: New Theme Available :-D

by Raquel Barra -

Hey Usman,


I have a problem like this.



Do you have a solution?


I use Moodle 2.8

Pls, help me.

In reply to Raquel Barra

Re: New Theme Available :-D

by Usman Asar -
Picture of Plugin developers Picture of Testers

Raquel,

looks like your FontAwesome isn't loading properly, are you using the latest version of the theme? also, where have you installed your Moodle from? Was it script installer or manual installation downloading moodle package from the moodle.org website?

In reply to Jez H

Re: New Theme Available :-D

by Matt Bury -
Picture of Plugin developers

Hey Jez,

Great theme, thanks for sharing. I think it'll resolve a lot of navigation issues for staff and learners... I'm sure you already know ;)

I've installed it and gone through the settings and it's very flexible and easy to use. Only one issue so far; In your demo video, on the home page the Tiles w/overlay have different images/icons in them. I can't see how to set/change those and I can't find the documentation. I can change the default icon in the/theme/bcu/pix/ directory but that isn't what I'm looking for.

Any help?

Thanks in advance smile

In reply to Matt Bury

Re: New Theme Available :-D

by Matt Bury -
Picture of Plugin developers

Never mind, worked it out:

  1. Go to the main course page.
  2. Turn editing on.
  3. Go to Course administration > Edit settings.
  4. In Course summary files, drag'n'drop or upload the image icon you want.
  5. Save settings.
  6. Done!


In reply to Matt Bury

Re: New Theme Available :-D

by Jez H -

Hi Matt,

Sorry I missed this post, you may have already seen this but there is now an uploader in the theme settings where you can change the default image used on the tile, and as you are probably aware this is overridden if you upload a "summary file" into the course settings.

In reply to Jez H

Re: New Theme Available :-D

by Marc Schmit -

Felicitations, that's the theme I was looking for. Simple but nice design, an the buttons to hide/show blocks are great. The fullscreen feature was the feature I was missing most in all the other themes I tested.

In my daily teacher business I need the screen to be best set up when grading my students, that's why I added some CSS to extend the Comment column in the rubrik view to fit the entire width. Might be an idea to integrate a new setting allowing the user to specify default minimal values for comment fields in the rubrik 

In reply to Marc Schmit

Re: New Theme Available :-D

by Mike Grant -

Hi Marc,

I'm glad to hear that you like the theme, and that it's helping in your day-to-day business. Would you up for sharing the CSS that you've used on the field?

Forms are something that I'm currently taking a look at, trying to make sure that they don't overflow the page, or any weird things. So would take a look at this too.

In reply to Mike Grant

Re: New Theme Available :-D

by Marc Schmit -

of I do: textarea width is set to 40em, comfortable for me, may be different for others... The second CSS is just to have a small padding in the topic summaries.


/*Modify display of comment fields in rubrik teacher data entry*/

div#rubric-advancedgrading {

max-width:100%;

width: 100%;

}


table#advancedgrading-criteria.criteria {

width: 100%;

}


div#rubric-advancedgrading textarea {

min-width: 40em;

width: 98%;

height: 2em;

}


/*add some space in course view of each topic*/

div.content>div.summary {

padding-left:20px;

}

In reply to Marc Schmit

Re: New Theme Available :-D

by Troy Welch -

Thanks for this, just finished supporting a user on this issue and your code is a much more elegant solution than mine was.

Also, for some reason I completely overlooked the full screen button and was doing something similar with CSS.

And, there is a great chrome plugin called Stylish for those who don't have server access or can't convince their admins to mess with CSS. It let's you layer your own CSS at a browser level.

Finally, a huge thanks to the BCU theme, we are easing it in as an optional choice for now, however anyone who wants to use the grade book with legacy themes moves over pretty quickly. Only about another "micro-political" month before we set it for our site default.

It is really well though out from a user experience perspective and is a visual delight.


Cheers,

t

In reply to Marc Schmit

Re: New Theme Available :-D

by Jez H -

"The fullscreen feature was the feature I was missing most in all the other themes I tested"

Well you have Bas Brands to thank for that one, we took that idea straight from one of his prototypes then split it to handle blocks and full width separately.

In reply to Jez H

Re: New Theme Available :-D

by Ray Stevens -

I have been trying a few themes out and so far I am loving this theme.  I am new to moodle but had a question related to this theme.  Is there a way to hide blocks for all users or remove the blocks.  Personal files, calender and online users we are not planning on using and requires the user to scroll down to see the navigation block.  Might be also good if we could re-order the blocks.  


Thanks for the theme

In reply to Jez H

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: New Theme Available :-D

by Mike Grant -

Hi Rolf,

What version of theme & moodle are you using?

Thanks

In reply to Mike Grant

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Jez H

Re: New Theme Available :-D

by Robin Leung -

How do you delete the title of each page so that it doesn't show? (the one that is displayed beside the logo in the header)

Thanks.

In reply to Robin Leung

Re: New Theme Available :-D

by Jez H -

At the moment you can only disable the title on the homepage, we could add an option to di it sitewide too.

In reply to Jez H

Re: New Theme Available :-D

by Barbara Taylor -

Hi Jez,


Is there a sitewide box to check to hide the title throughout the site?  I can't find it anywhere.  This is on 2.8.7.


Thanks,

Barbara

In reply to Jez H

Re: New Theme Available :-D

by Peter Haasdijk -

Hi All,

I am developing a Moodle site for a client of mine in which i use the bcu theme. I really love the theme, the client's website looks better like than mine sad.

Yet there is something wrong somewhere. The course summary (see enclosed jpeg) stops after a limited number of characters. So there is hardly any room for a summary and i have to rely on short descriptions no one understands.

Is there something wrong or does it have to be like this in the BCU theme. If not, where can i change this.

I really would appreciate any help here. I can't find it myself and it's driving me crazy smile

Regards,

Peter

Attachment summary.jpeg
In reply to Peter Haasdijk

Re: New Theme Available :-D

by Jez H -

Hi Peter,


I am assuming that is a category page? That is not happening on our site at the moment. Are you still having this problem?

In reply to Jez H

Re: New Theme Available :-D

by Peter Haasdijk -

Jez,

Thanks for your message.

The problem still exists and occurs on every course list page, frontpage or anywhere else. I haven't yet installed the latest version of the template (still on 1.0.1.). I hope later this week to be able to do this. Perhaps then the problem is resolved. I'll get back at you about that.

Regards,

Peter

In reply to Peter Haasdijk

Re: New Theme Available :-D

by Jez H -

Hi Peter,

Let me know how you get on, I will check a few things on this to make sure its not affecting our users, but I dont think it is.

We do truncate summaries on the front page tiles but not in category pages.


In reply to Peter Haasdijk

Re: New Theme Available :-D

by Jez H -

Hi Peter,

I tested this again earlier and it was ok for us, can you tell me what version of Moodle you are using?

In reply to Jez H

Re: New Theme Available :-D

by Peter Haasdijk -

Jez,

We're using Moodle version 2.8.3+ (Build: 20150212) and BCU theme 2014120900 (1.0.1). I was planning to upgrade both to current version as soon as possible but haven't found the time for it yet.

Peter

In reply to Peter Haasdijk

Re: New Theme Available :-D

by Bas Harkink -

Hi Peter,

Did you add any Custom CSS in the Theme's 'Custom CSS & JS' settings? 

In reply to Bas Harkink

Re: New Theme Available :-D

by Peter Haasdijk -

Hi Bas,

No i did not.

In reply to Peter Haasdijk

Re: New Theme Available :-D

by Peter Haasdijk -

Hi Jez / Bas,

I've just installed the latest version and it now looks good. Earlier I did to some adjustments in some php files from the template, which I'm going to do again now to see what happens (mostly header.php for menu-items and menu.css for colours).

Thanks,

Peter

In reply to Peter Haasdijk

Re: New Theme Available :-D

by Peter Haasdijk -

OK, the adjustments are made and ... it still works! Great.

Peter

Average of ratings: Useful (1)
In reply to Jez H

Re: New Theme Available :-D

by Anu Laitakari -

Hi fellow Moodlers,

Moodle 2.8.3+ (Build: 20150225) on LAMP

BCU theme: 1.1.1 (2015022500)

We have a brand new installation (as of yesterday) and I am testing some themes. I really like the look and feel of the BCU theme but I have a few problems.

1. In the theme settings - colours, the link colour does not reflect on the site. It stays the original dark blue. I have the theme developer mode on, I have purged caches. Am I missing something really obvious?

2. In the header and footer there is a thin line (also dark blue). Do I have to change this on the server or is there any helpful CSS I could apply to change the colour to suit us? Or is it linked to the question above?

3. In the header there is a link to Messages. When hovering over this, a white box appears and covers the word. How can I change this to reflect the user name on the other side which just gets underlined when hovering on it?

4. The site title shows in the header whether I tick the box in the Theme options (header) or not. Do I need to hack the code on the server to remove it?

5. When using the slider and full screen view, the slider images do not expand. Instead the image from the next slide appears partially to fill the gap.

6. The marketing blocks on the frontpage do not resize themselves if I remove one, resulting in a gap. Is it the case that you either don't use the marketing blocks at all or you have to use them all?

7. I presume that the footer, header and block heading text colour is hard coded and has to be changed on the server? Can anyone suggest some handy CSS to avoid doing this. I rather not make changed to the original files if not necessary.


Thank you for anyone who takes time to help me out.

Yours,

Anu


In reply to Anu Laitakari

Re: New Theme Available :-D

by Anu Laitakari -

4. This is resolved now.

5. Now the slider does the opposite, it cuts off a bit ot the image and text when going from full screen to standard view.

In reply to Anu Laitakari

Re: New Theme Available :-D

by Jez H -

Hi Anu,


Thanks for reporting these issues.


1: I will look at the color setting for link text.

2: We will add settings for separator colors

3: we will try to improve hover on messages link

4: that option only applies to the homepage, we should be able to add an option to disable title sitewide.

5: the latest version from our git repo should fix this

6: they used to scale allowing you to use 3 or 4, I will test that, we want it to support 3 or 4 blocks so if its not working now we will fix that.

7: Not sure, if it is then this should really be a setting too.

In reply to Jez H

Re: New Theme Available :-D

by Anu Laitakari -

Thanks Jez. Good to know. I will grab the latest version today.

Anu

In reply to Anu Laitakari

Re: New Theme Available :-D

by Jez H -

Hi Anu,

I just tested removing front page blocks on 2.8.3 and it still works.

You can use either 3 or 4 blocks, if you want to use just 3 then leave the last box empty in the admin settings and it should scale ok.

There are a few more glitches we are working on at the moment and we will probably put another update on Moodle.Org in the near future, we will try and get a few of the additional admin settings into that too if we can.

In reply to Jez H

Re: New Theme Available :-D

by Anu Laitakari -

Hi Jez,

The blocks are still not working for me but I can work around that.

Anu

In reply to Anu Laitakari

Re: New Theme Available :-D

by Bas Harkink -

Hi Anu,

I had a few of the same issue. i wrote the flowing CSS you can input into the custom CSS:

Line in the header:

#above-header {

border-bottom: 1px solid #00AFF0 !important;

}


Line in footer:


#page-footer .info {

border-top: 5px solid #00AFF0;

}


Changes to the menu in the header:


#navwrap {

border-bottom: 3px solid #00AFF0 !important;

margin-bottom: 5px !important;

}

.navbar .nav > li > a {

border-bottom: 3px solid #00AFF0 !important;

}

.navbar .nav > li > a:hover {

border-bottom: 3px solid #F01E1E !important;

}

a:link, a:visited, .tabtree .tabrow0 li a, .dropdown-menu.usermen > li > a {

color: #00AFF0;

}


change color of the links:


a:hover, a:focus {

color: #F01E1E;

}




Change the HEX colour codes to display tour own colours and play around with the PX sizes of the header and footer lines.


Enjoy!

In reply to Bas Harkink

Re: New Theme Available :-D

by Anu Laitakari -

HI Bas,

Thanks, I will try this out tomorrow. It will exiting to get the site reflecting our colours.

Yours,

Anu

In reply to Anu Laitakari

Re: New Theme Available :-D

by Bas Harkink -

Hi Anu,


If you need / want some more help, just PM me. No use in bothering everyone else with extensive CSS coding ;)


Best regards,

Bas

In reply to Bas Harkink

Re: New Theme Available :-D

by Giulia Clifford -

Hi Bas,

I am aware that probably you're not working at this any more because you posted this message more than a month ago, but I had a very similar problem to the one Anu had using the BCU theme, and thanks to your suggestion above i have managed to resolve part of it. I have a couple of other issues and I was wondering whether you would be able to help me as I'm a total newbie to CSS. I was working on websites about 15/20 years ago and at the time the CSS wasn't really much used so I was using the normal HTML 4 tags to code my colours. I don't know how to set up CSS stylesheets... and I'm also very rusty at the moment, which doesn't really help.


My problem is:

I have fixed the link "hover" colour of BCU using your CSS fix, thanks for that, but I still see the actual links (without hovering on them with the mouse if it makes sense...) the same blue colour. What do I need to write in the CSS to get even those to change?


I have the same problem with the titles and top lines of the blocks on the side menus, they are blue and I can't change them no matter what I do... any idea as of how to change those too?


Thanks for your attention, even if you can't help me. Hope that if you can't, someone else can... please sad

In reply to Giulia Clifford

Re: New Theme Available :-D

by Anu Laitakari -

HI Giulia,

If you use Firefox you can use the Inspector in the Web Developer tools to find any particular bit of the page. That gives you the code which you can then cut and paste to the Custom CSS. All you then need to do is change it to the colour you wish.

Here is the one for block titles:

.block .header .title h2 {
color: #663D66 !important;
}


I did manage to get the links colour to change by using the BCU admin panel in Site admin- appearance- themes- BCU-colours.

Yours,

Anu

In reply to Anu Laitakari

Re: New Theme Available :-D

by Giulia Clifford -

Thanks for that CSS code Anu! Unfortunately I tried to change the colour of the links on that same page, Site admin - appearance - themes - BCU - Colours but it doesn't change anything, no matter what colour I put on. I have made a pdf file showing the problems. I apologise in advance about the poor quality of the pictures but it was the only way to show the three pictures and stay within the 100 kb limit...

Page 1:

as you can see, the colour in the boxes for "links" is #000000 which is black.

How do you change the blue lines that I highlighted, the ones under the title that you kindly showed me how to change? And since we're talking about lines, how do I change the colour of the white line underneath "my profile settings"?

How do I change the colour of the small text under "link colour" and etc?

Ignore the highlighted menu pictures. i thought they were in the theme pack but instead they were in the core pix section of the moodle script, I found them now so I can change them, no problem.


Page 2:

as you can see, even if the Link colour field above has been put to #000000, the colour of the links highlighted is still blue?


page 3: not as eye clashing as everything else, but how do you change the colour of that bar? Both the dark and the light grey?


Thanks for all your help everyone!

In reply to Giulia Clifford

Re: New Theme Available :-D

by Giulia Clifford -

sorry to be a pain. I thought I had found the menu pictures some of which I highlighted in picture one of my pdf above, but I must be mistaken because I changed all the pictures on the directory to black and they are STILL showing as grey? I thought that those pictures were in moodle/pix/a/ but they are obviously not. Where are they stored? sad

In reply to Giulia Clifford

Re: New Theme Available :-D

by Jez H -

Sorry I missed your point about those images.

I am sure you have your reasons for wanting the change the background like that but I would strongly advise you not to!

We added that setting so you could choose off white (which we experimented with and dropped) rather than choosing a strong color like the one you have. As you progress with this you are going to run into all sorts of problems, for example the icon colors which you see now will need to be changed and there are quite a lot of those.

Our users asked us to move to a white background as they felt it was clearer but also because staff were uploading images many of which had a white background and thus looked better if the site had a white background to.

You can continue with this if you like, its your site, but you really are making a rod for your own back and I don't think it will work as well for your users at the end of it.

At a minimum I would suggest you put together a couple of test courses, upload some images, see how well (or not) forums, quiz and other activities work with that background color. I think you will find they work much better if you just stick to a white background.


In reply to Giulia Clifford

Re: New Theme Available :-D

by Jez H -

Thanks Giulia, we will look at adding those settings in the next week or so.

In reply to Giulia Clifford

Re: New Theme Available :-D

by Anu Laitakari -

1. As my background is white, I haven't needed to change the line colours. The code for the text is:

.form-defaultinfo, .form-label .form-shortname {
    color: #999;
}

I would question why you have chosen a dark background though. With such variation in screen quality some users may have severe difficulty actually seeing the content. You would need to change all the input text to a lighter colour for a greater contrast. Also, as the colour settings are for a white background, you will have to change most settings.


2. Here is the code for links that I used:

a:link, a:visited, .tabtree .tabrow0 li a, .dropdown-menu.usermen > li > a {
color: #733BB0;
}

a:hover, a:focus {
color: #663D66;
}


I did have the same issue with the link hover color selector in the BCU colour settings, changing the colour value there does not reflect in the theme.

3. There appears to be many elements in the breadcrumb, so you would probably have to change them all to get a unified look.

I would suggest using the Inspector in Firefox to find out what the code is. You can find more about it here.



In reply to Anu Laitakari

Re: New Theme Available :-D

by Giulia Clifford -

Hi all,


thank you very much for all of your support. I've changed the background to a lighter grey (#cccccc) so now the text shows much better and also the icons. Thanks very much Anu for your help with the codes, now my links are finally black, and also the lines! 

The reason why I was using those colours is because they're our company colours and my husband wanted to have the website all set up with them. He doesn't like white backgrounds so it was hard for me to persuade him to change the grey to a lighter shade (which is not in our logo and company colours) but eventually even he had to admit it looked better.

I'll wait for the next update of the theme to see what improvements have been made. Up to then, thanks to all for being so patient with me!

In reply to Giulia Clifford

Re: New Theme Available :-D

by Jez H -

Hi Giulia,

Its pretty easy to add new color settings to the theme if there are still some missing.

Could you make label up a screen shot identifying all the issues, or if you need to use more than one screen shot add them to a PDF?

If we can make a list of all the issues / missing color options we can try and resolve them (add more color settings to admin).

Thanks

In reply to Bas Harkink

Re: New Theme Available :-D

by Simon Rediss-Whitfield -

All bow down to Bas, I have spent the last 2 hours trying to resolve this issue on my site and then I came across your code

In reply to Jez H

Re: New Theme Available :-D

by Bas Harkink -

Hi Jez,


This is an amazing theme! 


I am running it on a moodle 2.6 build (Moodle 2.6+ (Build: 20131122).


After installing i noticed that the FA-icons don't seem to be showing, i have an extra scrollbar in the main section and menu items (like block settings, activity settings) will not 'drop down'.


I have installed the latest version of Bootstrap (Bootstrap 3), hoping it would resolve the problem.


Any idea how i can resolve these problems?


Thnx and best regards,

Bas

Attachment SnapCrab_NoName_2015-3-9_15-29-51_No-00.png
In reply to Bas Harkink

Re: New Theme Available :-D

by Jez H -

Hi Bas,

Are you using FireFox? This seems to happen in FF more than other browsers, Usman reported something similar above but we never got to the bottom of it.

In reply to Jez H

Re: New Theme Available :-D

by Bas Harkink -

Hi Jez,

This seems to be happening on FF, Chrome, IE and Safari. 

The weird thing is that i've installed it on a different Moodle and there it seems to be working just fine... Looks like i'll be stuck on Elegance theme on that one ;)


In reply to Bas Harkink

Re: New Theme Available :-D

by Mike Grant -

Is your moodle site accessible publicly? Seems really odd that it would work on one and not the other, by all logic it should on both or none!

In reply to Mike Grant

Re: New Theme Available :-D

by Bas Harkink -

The one site that the them is not working on is not accessible publicly. I could make you and access account to have a look. The site on where the theme is working (ironically) is accessible publicly. :D


The difference might be that the site that has the problems is running Moodle 2.6 and the other is running Moodle 2.7?


I really do like this theme a lot! The only thing I am missing is the option to move blocks to the footer ;)

In reply to Bas Harkink

Re: New Theme Available :-D

by Jez H -

Hi Bas,

Do you mean the feature in essential that gives you a hidden area for blocks?

If so can you tell me what you use that for?

The one thing I can see that being useful for is the "main menu" block on the front page which I periodically have to show / hide to add site pages etc. I would be interested to know what other uses you have for this?

In reply to Jez H

Re: New Theme Available :-D

by Bas Harkink -

Hi Jez,


The 'admin only' region on the homepage is nice to hide the main menu block and to make an kind of 'custom admin dashboard'. Blocks like Side Wide Report, Configurable Reports and Admin presets, usualy find their way in there in my Moodle installs. :D


But in this case I was referring to the option of having an actual 'block region' in the footer. I usually put blocks like Administration, Calendar and Logged in user in there. That keeps the left / right regions free for blocks that are of import for learning activity blocks or social interface blocks.

Attachment Blocks_in_footer.jpg
In reply to Bas Harkink

Re: New Theme Available :-D

by Jez H -

Hi Bas,

That would be useful for us too, I have added it to our tracker, it should get done at some point smile

In reply to Jez H

Re: New Theme Available :-D

by Filipe Canito -

Hey guys, great theme.

On the theme_bcu_frontpage_blocks page there are the editors for the marketing blocks. It is possible to add a link to an image, but there isn't an upload method and the filemanager icon is not showing up within the editor. Why is that?

In reply to Filipe Canito

Re: New Theme Available :-D

by Jez H -

Hi Filipe,

No there is no uploader for the marketing blocks at the moment so you would have to upload them via ftp and link to them. It would make sense for us to add that feature but its not a priority for us so will probably be a long time coming sad

In reply to Jez H

Re: New Theme Available :-D

by Иван Иванов -

Hi. Can someone explain for me, how to hiding vertical menu, which includes navigation, administrative and other blocks, by default (but if user click on button "show blocks" the system must be save this condition)?

I think we need to edit funtion in custom.js file (onzoom function), but i'm not a programmist and dont know how to edit this function.

p.s. sorry for my very poor englsh.

In reply to Иван Иванов

Re: New Theme Available :-D

by Jez H -

Sorry I am not sure what you mean? Show / Hide blocks should save in the users preferences and persist between sessions / login.

Are you trying to disable that feature completely or reset it between logins?

In reply to Jez H

Re: New Theme Available :-D

by Yeisson Darío Mena Triana -

I've got this problem... Is this right? Can Ifix it?


Thanks,


In reply to Yeisson Darío Mena Triana

Re: New Theme Available :-D

by Just H -

Looks like an issue with language strings being missing.

In reply to Yeisson Darío Mena Triana

Re: New Theme Available :-D

by Jez H -

Hi Yeisson,


Sorry about that, it looks like an old but that crept back in, I think that has been fixed in the latest version on Moodle.Org, failing that try the latest version from our GIT repo.

On a side note its really nice to see translations appearing for other languages smile

In reply to Jez H

Re: New Theme Available :-D

by Dave Cartwright -


Loving the theme - really simple and effective in getting the relevant info up.

 

Just playing around with a few things on the surface - is it/would it be possible to allow the alert box to be 'Marque-ed' ? Bringing back the good ol' 1999 HTML scrolling ticker - we have a relatively large amount of 'urgent' information that would need to be seen by our students at any one time and a moving alert box at the top of the page would be great for that.

In reply to Dave Cartwright

Re: New Theme Available :-D

by Jez H -

Hi David,

I'm not sure about that, on one hand it may make it a bit more noticeable, on the other it could get really annoying seeing it appear on every page. I guess technically its pretty trivial to add and I guess does serve a purpose if you have a lot of text. What we tend to do is link a small message out to a page of information rather than put long winded messages directly in the altert.

I guess we could put that in at some point, it would be pretty quick to do.
In reply to Dave Cartwright

Re: New Theme Available :-D

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Sounds like a good use for the Generico filter set for Toggle. What would normally show is something simple like Click Me, or Click her for an important message, etc. When clicked you can have more info appear. 

Toggle is one of the supplied built settings for Generico which includes others that might give you what you want also: infobox, warning box, error box, etc. And of course, you can create your own. The advantage of using Generico is that it is independent of your theme and should work with any of them.

In reply to AL Rachels

Re: New Theme Available :-D

by Jez H -

That's an interesting idea, I am not sure if Generico would work for that field though, worth a try I guess.

In reply to Jez H

Re: New Theme Available :-D

by Bettina Abbott -

Hello. I'm going to apologize now this is a completely newb question, but I'm unable to get my logo to show properly. I've uploaded it in appearance->Themes->BCU, but I'm getting a broken image sign. This is on a clean install of Moodle 2.8.5 with BCU being the first addition to the install so no other major changes had been made. Developer Tools gives me the error: Failed to load resource: the server responded with a status of 403 (Forbidden). Any guidance with this would be greatly appreciated. Broken logo 

In reply to Bettina Abbott

Re: New Theme Available :-D

by Bettina Abbott -

The more I'm looking at what other people have with their BCU theme I realizing mines never changed from the color change I had input with the Clean Theme. I activated and selected the BCU theme, but it's not actually showing. 

In reply to Bettina Abbott

Re: New Theme Available :-D

by Jez H -

Hi Bettina,

You need to change colors in the admin settings of BCU theme specifically.

Changes made to Clean will not affect BCU theme.

Have you tried clearing your theme cache?

In reply to Jez H

Re: New Theme Available :-D

by Bettina Abbott -

I've tried clearing the cache and nothing. None of the BCU theme is showing up at all when I select it as my theme. I tried another theme (the FlexiBase) and every thing changed like it was supposed to, but I still can't get it to work on the BCU theme. 

In reply to Bettina Abbott

Re: New Theme Available :-D

by Jez H -

Hi Bettina,

Can you tell me which version of Moodle you are using?

It should work for 2.6+ but is better with 2.7+ (as docking is supported).

In reply to Jez H

Re: New Theme Available :-D

by Alex Bls -

hi, the theme is great!

I did run into one issue, may very well be my own misunderstanding of how it's supposed to work: on my home page I have "My Course" and a combo that shows categories+courses. As you can see in the screenshot, I can see the course description and image showing inside the tiles of the "My Courses" section. But nothing is showing in the tiles of the combo-based "Courses". What are these tiles supposed to show - should they also show the course description and image?


In reply to Alex Bls

Re: New Theme Available :-D

by Jez H -

Hi Alex,

I dont think it shoudl be rendering like that.

I see you have the older style tiles selected in the admin settings, could you try switching "Frontpage course boxes" to "Tiles /w overlay" in the settings for "Frontpage Courses" and see if that makes any difference?

I ask as we don't use that layout, it would be good to rule that out as the possible cause.

In reply to Jez H

Re: New Theme Available :-D

by Alex Bls -

Hi,

Thanks for looking into it. It was set to "tiles", now I tried to change to "tiles w/ overlay" and it looks a little different (shorter boxes) but still empty (see image attached). What do these boxes show when it's working correctly - the course description and image?

Attachment 2.png
In reply to Alex Bls

Re: New Theme Available :-D

by Jez H -

Hi Alex,

If forgot about this but we have seen this problem before but could not replicate it on a test system.

We will take another look at that.

I think in the mean time if you want to continue using this theme you would have to switch to "category list" rather than combo.

Our settings look like this at the moment and will work for you until we can resolve the issue on combo boxes:


In reply to Jez H

Re: New Theme Available :-D

by Alex Bls -

Jez - thanks for the reply. I tried to move from combo to category but it is not as good, would be better if the theme supported the combo option smile. Is it something you've started looking into already? I have a test system where this is 100% reproducible, if this helps fixing the problem.

In reply to Jez H

Re: New Theme Available :-D

by Janus Sam -

Hi. Has there been any solution to this. I have encountered this issue as well.

In reply to Jez H

Re: New Theme Available :-D

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Jez

Congrats! Yes, BCU is a very modern theme.

I wished though 'BCU' was in the subject line. wink Any particular reason why this discussion is in the General problems forum, not in the Themes forum?
In reply to Visvanath Ratnaweera

Re: BCU- New Theme Available :-D

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

It's magically going to appear in the Themes forum just now... hold onto your seats wink

In reply to Jez H

Re: BCU:New Theme Available :-D

by takashi niimai -

Thanks a lot for this interesting theme, i am using it at my lms 2.8, but i need make many clones of this, to use each one on each course set up diferent base color, it's posible make this? Could you seid me what is the right way? I am not be able to make this. Thank's a lot in advance.

In reply to takashi niimai

Re: BCU:New Theme Available :-D

by Jez H -

Hi Takashi,

I am afraid the settings only work at site level, not at course level.

I have not looked to see if any other themes have this feature, it is an interesting idea, but not something we would look at any time soon sad

In reply to Jez H

Re: BCU:New Theme Available :-D

by Chris Malanga -

I really like this theme... but am having issues cloning it.  I went in to every file, and changed every reference from "bcu" to "meta" which is what I am calling the cloned one.  I can activate the theme, but when the changed META theme is activated, I am no longer able to use the dropdown arrows/menus anywhere on the site.  Changing the theme to the main BCU one or any other fixes it.  

What could I be doing wrong?  Help appreciated.

Chris

http://moodle.treca.org

In reply to Chris Malanga

Re: BCU:New Theme Available :-D

by Mike Grant -

Hi Chris,

If you go to Developer > Debugging and set "Debug Messages" to developer. Do you get any errors?

Thanks

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Chris Malanga -

Hi Mike,

I've got that setting turned on now.  Where would I see errors?  I'm assuming the server logs, but where can I find those?

Sorry about my ignorance but I'm a total n00b.  smile

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Chris Malanga -

Got it figured out.  Forgot to make changes to one of the jquery files.  Thanks for the suggestion to turn on debugging smile

Looking forward to many more interactions on the forums. 

Average of ratings: Useful (1)
In reply to Chris Malanga

Re: BCU:New Theme Available :-D

by Bettina Abbott -

Now that I've upgraded to 2.9 I've made progress in things looking more like they should. Still having issues upload pictures like logos, user profile pictures etc., so any tips or workarounds  you know of for that would be completely awesome!

In reply to Chris Malanga

Re: BCU:New Theme Available :-D

by Jez H -

Hi Chris,

Out of interest why are you cloning it?

Are you going to fork the theme with custom developments or did you want two copies of it configured differently in the same site?

In reply to Jez H

Re: BCU:New Theme Available :-D

by Chris Malanga -

I am cloning it because I want two copies of it configured differently.  I want a public-facing copy with different logo, colors, etc. and an internal copy.  This seemed the best way to do it, and with the right setting turned on, I can use the ?theme= tag to change between themes.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Hello!

A beautiful theme!

Unfortunately, it not supports in the slider and marketing blocks the multilang filter.

Could you correct?

In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Mike Grant -

Hi Rudolf,

Could you send me some information about the multilang filter?

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Rudolf Henschel -
In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Mike Grant -

Thanks for this Rudolf, think I know what the issue is. So this should be in the next version of the theme that will be released shortly smile

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Please adjust the following files accordingly:

== 1) /theme/bcu/renderers.php ==

***** NEW ****************************

public function get_setting($setting, $format = false, $theme = null) {


        if (empty($theme)) {

            if (empty($this->theme)) {

                $this->theme = theme_config::load('bcu');

            }

            $theme = $this->theme;

        }


        global $CFG;

        require_once($CFG->dirroot . '/lib/weblib.php');

        if (empty($theme->settings->$setting)) {

            return false;

        } else if (!$format) {

            return $theme->settings->$setting;

    } else if ($format === 'format_text') {

        return format_text($theme->settings->$setting, FORMAT_PLAIN);

    } else if ($format === 'format_html') {

        return format_text($theme->settings->$setting, FORMAT_HTML, array('trusted' => true, 'noclean' => true));

        } else {

            return format_string($theme->settings->$setting);

        }

    }

*********************************


== 2) /theme/bcu/lib.php == 

****** OLD ****************

function theme_bcu_get_setting($setting, $format = false) {

    static $theme;

    if (empty($theme)) {

        $theme = theme_config::load('bcu');

    }

    if (empty($theme->settings->$setting)) {

        return false;

    } else if (!$format) {

        return $theme->settings->$setting;

    } else if ($format === 'format_text') {

        return format_text($theme->settings->$setting, $format = FORMAT_HTML, $options = array('trusted' => true));

    } else {

        return format_string($theme->settings->$setting);

    }

}

****** NEW ****************

function theme_bcu_get_setting($setting, $format = false) {

    static $theme;

    if (empty($theme)) {

        $theme = theme_config::load('bcu');

    }

    if (empty($theme->settings->$setting)) {

        return false;

    } else if (!$format) {

        return $theme->settings->$setting;

    } else if ($format === 'format_text') {

        return format_text($theme->settings->$setting, FORMAT_PLAIN);

    } else if ($format === 'format_html') {

        return format_text($theme->settings->$setting, FORMAT_HTML, array('trusted' => true, 'noclean' => true));

    } else {

        return format_string($theme->settings->$setting);

    }

}

***************************


== 3) /theme/bcu/layout/frontpage.php ==

OLD: <?php echo $PAGE->theme->settings->p1cap;?>

NEW: <?php echo theme_bcu_get_setting('p1cap', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->p2cap;?>

NEW: <?php echo theme_bcu_get_setting('p2cap', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->p3cap;?>

NEW: <?php echo theme_bcu_get_setting('p3cap', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->p4cap;?>

NEW: <?php echo theme_bcu_get_setting('p4cap', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->p5cap;?>

NEW: <?php echo theme_bcu_get_setting('p5cap', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->infobox;?>

NEW: <?php echo theme_bcu_get_setting('infobox', 'format_html'); ?>


OLD: <?php echo $PAGE->theme->settings->market1;?>

NEW: <?php echo  theme_bcu_get_setting('market1', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->market2;?>

NEW: <?php echo  theme_bcu_get_setting('market2', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->market3;?>

NEW: <?php echo  theme_bcu_get_setting('market3', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->market4;?>

NEW: <?php echo  theme_bcu_get_setting('market4', 'format_html');?>


OLD: <?php echo $PAGE->theme->settings->infobox2;?>

NEW: <?php echo theme_bcu_get_setting('infobox2', 'format_html'); ?>

Average of ratings: Useful (1)
In reply to Jez H

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Hello!

I have found the following problems:

1) The menu does not open with IE, Opera and Firefox (Safari and smartphone browser OK);

2) the languages can not be clicked, the menu is hidden.

BCU Screenshot

Can you help me?!!

In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Mike Grant -

Hello again! 

What version of the theme / moodle are you using?

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Moodle 2.9 (Build: 20150511)

BCU version   = 2015041600

BCU Release = 1.2.1

In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Gary Lynch -
Hi
I like this theme smile very modern and slick and heres the but! lol

I would like to remove the
My Home
Events
My Sites

I know i have to comment out in the renderers.php but when i comment out each 'tab' i end up with 2 home  tabs. I just want 1 that returns to home page (frt)
 Here is what i have done

public function navigation_menu() {
        global $PAGE, $COURSE, $OUTPUT, $CFG;
        $menu = new custom_menu();
        if (isloggedin() && !isguestuser()) {
            $branchtitle = get_string('home');
            $branchlabel = '<i class="fa fa-home"></i> '.$branchtitle;
            $branchurl   = new moodle_url('/');
            $branchsort  = 9998;
            $branch = $menu->add($branchlabel, $branchurl, $branchtitle, $branchsort);
        
        /*$branchtitle = get_string('myhome');
            $branchlabel = '<i class="fa fa-dashboard"></i> '.$branchtitle;
            $branchurl   = new moodle_url('/my/index.php');
            $branchsort  = 9999;
            $branch = $menu->add($branchlabel, $branchurl, $branchtitle, $branchsort);*/

           /* $branchtitle = get_string('events', 'theme_bcu');
            $branchlabel = '<i class="fa fa-calendar"></i> '.$branchtitle;
            $branchurl   = new moodle_url('/calendar/view.php');
            $branchsort  = 10000;
            $branch = $menu->add($branchlabel, $branchurl, $branchtitle, $branchsort);*/

            /*$branchtitle = get_string('mysites', 'theme_bcu');
            $branchlabel = '<i class="fa fa-briefcase"></i><span class="menutitle">'.$branchtitle.'</span>';
            $branchurl   = new moodle_url('/my/index.php');
            $branchsort  = 10001;*/



                     $branch = $menu->add($branchlabel, $branchurl, $branchtitle, $branchsort);
            list($sortedcourses, $sitecourses, $totalcourses) = block_course_overview_get_sorted_courses();

            if ($sortedcourses) {
                foreach ($sortedcourses as $course) {
                    if ($course->visible) {
                        $branch->add(format_string($course->fullname), new moodle_url('/course/view.php?id='.$course->id),
                                format_string($course->shortname));
                    }
                }
            } else {
                $noenrolments = get_string('noenrolments', 'theme_bcu');
                $branch->add('<em>'.$noenrolments.'</em>', new moodle_url('/'), $noenrolments);
            }

            if (ISSET($COURSE->id) && $COURSE->id > 1) {
                $branchtitle = get_string('thiscourse', 'theme_bcu');
                $branchlabel = '<i class="fa fa-sitemap"></i><span class="menutitle">'.$branchtitle.'</span>';
                $branchurl = new moodle_url('#');
                $branch = $menu->add($branchlabel, $branchurl, $branchtitle, 10002);

                $branchtitle = "People";
                $branchlabel = '<i class="fa fa-users"></i>'.$branchtitle;
                $branchurl = new moodle_url('/user/index.php', array('id' => $PAGE->course->id));
                $branch->add($branchlabel, $branchurl, $branchtitle, 100003);

                $branchtitle = get_string('grades');
                $branchlabel = $OUTPUT->pix_icon('i/grades', '', '', array('class' => 'icon')).$branchtitle;
                $branchurl = new moodle_url('/grade/report/index.php', array('id' => $PAGE->course->id));
                $branch->add($branchlabel, $branchurl, $branchtitle, 100004);

                $data = theme_bcu_get_course_activities();

                foreach ($data as $modname => $modfullname) {
                    if ($modname === 'resources') {
                        $icon = $OUTPUT->pix_icon('icon', '', 'mod_page', array('class' => 'icon'));
                        $branch->add($icon.$modfullname, new moodle_url('/course/resources.php', array('id' => $PAGE->course->id)));
                    } else {
                        $icon = '<img src="'.$OUTPUT->pix_url('icon', $modname) . '" class="icon" alt="" />';
                        $branch->add($icon.$modfullname, new moodle_url('/mod/'.$modname.'/index.php',
                                array('id' => $PAGE->course->id)));
                    }
                }
            }
        }

        if (!empty($PAGE->theme->settings->enablehelp)) {
            $branchtitle = "Help";
            $branchlabel = '<i class="fa fa-life-ring"></i>'.$branchtitle;
            $branchurl   = new moodle_url($PAGE->theme->settings->enablehelp);
            $branchsort  = 10003;
            $branch = $menu->add($branchlabel, $branchurl, $branchtitle, $branchsort);
        }
        return $this->render_custom_menu($menu);
    }

    public function tools_menu() {
        global $PAGE;
        $custommenuitems = '';
        if (!empty($PAGE->theme->settings->toolsmenu)) {
            $custommenuitems .= "<i class='fa fa-wrench'> </i>".get_string('toolsmenulabel', 'theme_bcu')."|#|".
                    get_string('toolsmenulabel', 'theme_bcu')."\n";
            $arr = explode("\n", $PAGE->theme->settings->toolsmenu);
            // We want to force everything inputted under this menu.
            foreach ($arr as $key => $value) {
                $arr[$key] = '-' . $arr[$key];
            }
            $custommenuitems .= implode("\n", $arr);
        }
        $custommenu = new custom_menu($custommenuitems);
        return $this->render_custom_menu($custommenu);
    }

regards
Gary

In reply to Gary Lynch

Re: BCU:New Theme Available :-D

by Jez H -

Hi Gary,

I know Mike has replied to you on this but for the benefit of anyone else wanting to do this it is now a feature in the theme settings, at time of writing you would have to download the latest version from our GIT repository:

https://bitbucket.org/jezh/moodle-theme_bcu/get/master.zip

This change will be in the next version we release.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Gary Lynch -

Hi Jez

Do you have a timescale for update release?

I tested your version and works great apart from the home 'buttons' links that are returning an error.
I sent the debug info to Mike.

I have to say i like the way you have set up the css files as its really easy to customise due to simple labeling and layouts, also to identify components to use custom css.

regards

Gary


In reply to Jez H

Re: BCU:New Theme Available :-D

by Diego Couce -

Awesome theme guys, and I adopt it as my new theme. cool

               On smaller screens the menu most likely doesn't work properly, sometimes does not open, hover stops working on drop down, sometime require two clicks or touch, etc.

               The menu I had configured consist of custom menues (some with submenues) and the default BCU items such as Language, My Sites, Events, etc.

               The small screens I tested:

  • Chome, IE, FF resizing windows manually and with "Responsive Web design" option.
  • Smartphone.

 I seek into the issue tracker the following resolved issues:

  • #163 - Fixed issue with menus on small screens
  • #164 - Fixed issue with language menu text on small screens

seems to have the same behavior.

               In some rare cases, I fully reload the page (CTRL+F5) and seems to open the menue, but when click in one item that has submenues, it does not drop down.

 

I can reproduce it in all my landscape:

 

Prod Site: Moodle 2.7.7+ (Build: 20150319) + BCU 2015051800 1.3

Dev Site: Moodle 2.9+ (Build: 20150514) + BCU 2015051800 1.3

Sandbox Site: Moodle 2.9+ (Build: 20150514) + BCU 2015051800 1.3

 

Also I’d cleared all caches (“Clear theme cache” and “Purge all caches” ).


Thanks in advance for your support.


Regards,

Diego.

In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Diego Couce -

I also turned on "Developer > Debugging and set "Debug Messages" to developer" and no errors showed up. sad

In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Diego Couce -
Nice bump.... big grin

I also tried a fress install and the theme with the same result. black eye

Moodle 2.9+ (Build: 20150514) + BCU 2015051800 1.3
In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Paul P. -

I am experiencing the same issue.  If anyone knows a fix, I would appreciate it.

In reply to Paul P.

Re: BCU:New Theme Available :-D

by Jez H -

Hi Paul,

Can you tell me what device / browser you see this on?

Also does clicking the icon (instead of the text in the links) make any difference?

I ask as last time we saw something like this clicking the icon worked but the text of the link did not, knowing whether this is the case here would be useful.

Thanks

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Jez,

In bcu/layout/columns3.php you have an includes/header.php being called just above <div id="page" class="container-fluid">

After that comes this...

    <header id="page-header" class="clearfix">
    <img src="<?php echo $OUTPUT->pix_url('nsl_logo', 'theme')?>" id="logo">
       
        <div id="course-header">
            <?php echo $OUTPUT->course_header(); ?>
        </div>
    </header>
    
    <header role="banner" class="navbar 2navbar-fixed-top<?php echo $html->navbarclass ?>">
    <nav role="navigation" class="navbar-inner">
        <div class="container-fluid">
            <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
            <a class="btn btn-navbar" data-toggle="workaround-collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <div class="nav-collapse collapse">
                <?php echo $OUTPUT->custom_menu(); ?>
                <ul class="nav pull-right">
                    <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
                    <li class="navbar-text"><?php echo $OUTPUT->login_info() ?></li>
                </ul>
            </div>
        </div>
    </nav>
</header>

Which is also included in the header.php so this is a duplicate and needs removing.

I don't have time to test it but there is definitely something wrong here.

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Hi Mary,

Thanks very much for taking the time to post that, we will take a look ASAP.

In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Jez H -

Hi Diego,

Thanks for reporting this, very sorry for my late reply.

I am afraid we have not been able to replicate this and cannot see a problem with it, it would help to know more specifically which devices / browsers you see this problem with?

One other point is that when we had this issue last time clicking the icon worked but clicking the text did not.

Would you be able to re-test zooming in on the small screen and clicking the icon next to the links instead of the links themselves and see whether that works? If so it may help us to track down the source of the problem.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Jez,

I have this in a development environment.  I check responsiveness by shrinking my browser until the Mobile menu icon appears.  This is what does not work.  I am not sure what you mean by clicking icons instead of text...?  I don't have icons and text.  I have attached a screenshot.  If I click on either Admin User or the three bar mobile menu icon, nothing happens.

Still having the issue with the background image from the navbar downloading when I click on a button.  Not sure if it would affect it but I have set up the header to be fixed (which works great by the way!).


In reply to Jez H

Re: BCU:New Theme Available :-D

by Diego Couce -
Hi Jez,

Fist came first, you two guys rocks....

The same happens in any browser FF, Chrome, IE in different machines (shrinking browser until the Mobile icon appears).

Here we have FF maximixed and the menu with two custome menues with submenues.


FF shrinked until the menu icon appears. If you click on it nothing happens.


On the other hand, with my diferent mobiles, my is Samsung Note 3, appears menu icon, the first time I press, the menu displays, but if you press any menu nothing happens, and if you press the icon menue again, it tries to roll up the menue but then roll down again.

Even if I press the icon flag for the language, nothing happens.


Thanks for your support.

Regards,

Diego.



In reply to Jez H

Re: BCU:New Theme Available :-D

by Laurie Swaine -

Hi Jez and Mike -

We have a site that's currently in development, but that we're pushing to go live with very soon - we have recently upgraded to Moodle 2.9+ and at the same time we updated to release 1.3 of the theme.  Since the upgrades, we are experiencing issues with the function of the mobile menu and the user dropdown (we had no issues before that - everything functioned properly).

The mobile devices I have immediate access to are an LG G3 (checked using Chrome and Firefox browsers) and and an Amazon Fire HDX ( checked using Silk browser) - another member of our development team has checked using a Samsung Galaxy Note 3 (I'm sorry, not sure which browser(s)).  On all 3 of these devices, tapping on the mobile menu icon has no result - the navigation will not open.  Also, we can tap the login link and are able to login, but once logged in the user dropdown doesn't open.

After reading posts from the other users experiencing these problems, I also tried shrinking my computer's browser window.  This brings on the same issues.  Everything functions properly until the window is made small enough to trigger the switch from the regular navigation bar to the mobile menu icon - at that point, the user dropdown no longer opens on hovering over the user name, and clicking the mobile menu icon does nothing.  I've tested this in Chrome and Opera browsers - same results in each.

Clicking on icons or text - it really doesn't make a difference, neither of these work.

Thanks so much for your work on this theme, and for your help with this issue - much appreciated!

Laurie

In reply to Laurie Swaine

Re: BCU:New Theme Available :-D

by Jez H -

Hi Laurie,

Sorry this has caused you and others a problem. I have seen this on some test sites I was given a link to by other users reporting it. I am afraid we had other work to do which took priority over looking at this but I think we should have time to look more deeply at this issue now, hopefully tomorrow.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Jez...

Why is this in the Version.php? Why is there not the parent theme/s added?

You don't need Course Overview!!!


$plugin->version   = 2015051800;
$plugin->requires  = 2013110500;
$plugin->component = 'theme_bcu';
$plugin->release = '1.3';
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
    'block_course_overview' => ANY_VERSION
);

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Hi Mary,

I think the reason the dependency on block_course_overview exists is because it is used to order the "My Sites" or "My Courses" list.

If you customise My Home and re-order your courses that same order is applied to the list of courses in the theme navigation, thus users can customise the order courses appear in that drop down list.

That was added a long time ago so I don't think its related to recent issues.

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Mike Grant -

We DO need course overview, we use it to provide the list of courses that the user is enrolled on. Giving them the same order that they have selected. Nice easy way for us to ensure that the list is consistently used.

Why re-order something in one screen and show the same data in a totally different order on a different one?

In reply to Jez H

Re: BCU:New Theme Available :-D

by Yenin Rodriguez -

Hi Mike,

we have found that the problem is with the Bootstrapbase (version 2015051100 ) , we installed the previous version ( 2014111000 ) and works well , however , we do not want to work with the old version .

We hope this information will be useful and if we manage to resolve this report.

We will continue trying to solve

regards


In reply to Yenin Rodriguez

Re: BCU:New Theme Available :-D

by Jez H -

Hi Yenin,

Thanks very much for pointing that out, I am sure it will help get to the bottom of this.

I did see your comment on bit bucket too, sorry that was not acknowledged. We are close to making the nextrelease of our theme, this is the main issue we need to resolve. Imam really hoping that will happen next week but we have some other tasks which are more pressing internally we have to take care of first.

In reply to Laurie Swaine

Re: BCU:New Theme Available :-D

by Mike Grant -

Hi Laurie,

I'm just testing a change for this, could you try downloading this, installing it on a test server. And letting me know if there's any improvements using it?

Thanks

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Laurie Swaine -

Hi Mike -

I'd be glad to try it out. smile  I've tried to install to our current site rather than a test site (no worries if there are issues - it's a development site, and we can revert back if we have to) but I'm getting an error - validation failed, invalid plugin name.  I know there's something that needs to be renamed, but I'll confess I'm new enough to Moodle that I don't know exactly what to look for and how to proceed.  If you could give me a bit of guidance, I'll go forward and see if your change makes a difference for us.  Thanks!

Laurie

In reply to Laurie Swaine

Re: BCU:New Theme Available :-D

by Mike Grant -
Hi Laurie, That's really strange, when you extracted the file that you downloaded. Did you just upload that folder straight the way? Or upload the contents of the extracted folder to the bcu folder on your server?


Thanks

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Laurie,

Have you checked to see if there is a 'bcu' folder inside the 'bcu' folder you extracted from the zip file?

I have had that happen to me sometimes.

Mary

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Laurie Swaine -

Mike and Mary -

Thank you both for your responses!

Mike - yes, I tried to install the zip exactly as downloaded.  I used the Install Plugins page - used the file uploader on that page.

Mary - after seeing both your post and Mike's, I extracted the zip file to my hard drive but didn't see a folder called BCU in there.

I've handed this over to a colleague of mine who has more experience with Moodle than I do.  I'm sharing your current posts with him, as well as any other suggestions you may have - and will post back to let you know how we make out with this, and/or any other questions we may have.  Thank you!

Laurie

In reply to Mike Grant

Re: BCU:New Theme Available :-D

by Dan Noonan -

Hi Mike,

I'm Dan and am working with Laurie to resolve the issues we are having with the BCU theme.

Is there a version ready that resolves the we are having. Excuse my repeat of Laurie's explanation; just wanted to make sure our issue was clear.

I am happy to help beta/test in any way that can help you.

Moodle 2.9+ (Build: 20150514)

BCU1.3 (2015051800)

Thanks,

Dan

Laurie's Post:

On all 3 of these devices, tapping on the mobile menu icon has no result - the navigation will not open.  Also, we can tap the login link and are able to login, but once logged in the user dropdown doesn't open.

After reading posts from the other users experiencing these problems, I also tried shrinking my computer's browser window.  This brings on the same issues.  Everything functions properly until the window is made small enough to trigger the switch from the regular navigation bar to the mobile menu icon - at that point, the user dropdown no longer opens on hovering over the user name, and clicking the mobile menu icon does nothing.  I've tested this in Chrome and Opera browsers - same results in each.

Clicking on icons or text - it really doesn't make a difference, neither of these work.


In reply to Dan Noonan

Re: BCU:New Theme Available :-D

by Jez H -

Hi Dan,

You can get the latest version from our GIT repo here which I think resolves most of those issues:

https://bitbucket.org/jezh/moodle-theme_bcu/get/master.zip

Just be aware that link will always be the latest version, the latest fixes... but potentially the latest bugs too.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Dan Noonan -

Thanks Jez,

The download unpacks as a folder called 'jezh-moodle-theme_bcu-ec59025a7415'

Excuse any easy answer questions. Is this what the folder should be called in the 'themes' folder of my moodle install? The existing folder is called 'bcu'

Thanks,

Dan

In reply to Dan Noonan

Re: BCU:New Theme Available :-D

by Jez H -

Hi,

You need to rename it to bcu lower case, once done you should see something like this (looking at folder contents)

moodle/theme/bcu/config.php

moodle/theme/bcu/config/jquery/custom.js

Hope that helps smile

In reply to Jez H

Re: BCU:New Theme Available :-D

by Dan Noonan -

Jez,

Thanks, will rename. Not sure what you mean by: 

"once done you should see something like this (looking at folder contents)

moodle/theme/bcu/config.php

moodle/theme/bcu/config/jquery/custom.js"

Do you want me to run those php and js strings from a browser?

Again thanks for the quick and great response,

Dan

In reply to Dan Noonan

Re: BCU:New Theme Available :-D

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Just replace the bcu theme folder in your moodle installation with the unzipped and renamed folder.  He was just trying to tell you what you should be seeing in there.  Once copied across, when you log into your moodle site, it should prompt to upgrade.

In reply to Emma Richardson

Re: BCU:New Theme Available :-D

by Dan Noonan -

Thanks Emma,

Did just that, no prompt for upgrade (except for the latest version of the LMS).

Of course that made sense as the theme version numbers were the same as the folder it replaced. (This from a bcu theme upgrade several days ago).

The mobile problems still exist.

Regards,

Dan

From version.php:

$plugin->version   = 2015051800;

$plugin->requires  = 2013110500;

$plugin->component = 'theme_bcu';

$plugin->release = '1.3';

$plugin->maturity = MATURITY_STABLE;

$plugin->dependencies = array(

    'block_course_overview' => ANY_VERSION

);

In reply to Dan Noonan

Re: BCU:New Theme Available :-D

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

I think I saw somewhere in this post that they have not fixed the mobile issues yet.  Shame but it appears that they are actively working on it and it is a great theme.  Hope they get them fixed soon.

In reply to Emma Richardson

Re: BCU:New Theme Available :-D

by Dan Noonan -

Yes, it is an excellent theme. We have a course that is going in for gov't approval and the mobile functionality is part of the submittal sad

Take care,

Dan

In reply to Dan Noonan

Re: BCU:New Theme Available :-D

by Jez H -

HI Dan,

Can you test the latest version which you can get here:


https://bitbucket.org/jezh/moodle-theme_bcu/get/master.zip

You will need to unpack and rename the folder bcu, and check that the files like config.php are directly below that directory like

/theme/bcu/config.php

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Jez...Just a couple of points regarding the BCU theme in general:

    1.  can you please add the bootstrapbase theme as a plugin dependency in bcu/version.php like so...
$plugin->dependencies = array(
    'theme_bootstrapbase' => 2015050500,
    'block_course_overview' => ANY_VERSION        
);

2. you also need to make sure that the 'custom' style sheet is listed LAST in the $THEME->sheets = arrary(); This is so that the CSS Custom Settings can override the CSS for the theme, otherwise your theme users will be complaining that the CSS they add is not being recognised.

3. remove this as it is not needed as that stylesheet does not exist,

$THEME->plugins_exclude_sheets = array(
    'block' => array(
        'html',
    )
);

Cheers

Mary

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Further to my last comment: It seems to work ok in Moodle 3.0 Development  @_

Well done...

Nice theme.

Mary

In reply to Jez H

BCU Theme Support

by Paul P. -

I made a short (1 min) video showing the mobile navigation bug.  It was made on a desktop using Firefox, but the behavior is exactly the same on my phone.  I hope it helps in tracking down the issue.

Thanks again for this excellent theme!

***If the video doesn't show, try opening this page in chrome***


(Edited by Mary Cooch  to change subject title- original submission Tuesday, 9 June 2015, 6:47 AM)

In reply to Paul P.

Re: BCU Theme Support

by Dan Noonan -

Paul,

I agree this is a super theme.

Our issue is somewhat different, in that on a mobile device the menu drop-down has no functionality at all. Also once logged in, the link to your user ID to be able to log off also has no functionality (It does work to allow you to log in).

Thanks, and many thanks to the team that has done all the hard work to make what we consider to be the best theme available on the Moodle platform.

Dan

In reply to Dan Noonan

Re: BCU Theme Support

by Jez H -

Hi Dan,

Thanks for the compliment smile

Could you also tell me whether you are using the latest GIt version (linked in reply to Paul a moment ago) and which version of Moodle you are using?

Thanks, Jeremy

In reply to Jez H

Re: BCU Theme Support

by Dan Noonan -

Hi Jeremy,

Moodle: Moodle 2.9+ (Build: 20150514)

BCU Version:

* Version details

 *

 * @package    theme

 * @subpackage bcu

 * @copyright  2014 Birmingham City University <michael.grant@bcu.ac.uk>

 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

 *

 */

defined('MOODLE_INTERNAL') || die;

$plugin->version   = 2015051800;

$plugin->requires  = 2013110500;

$plugin->component = 'theme_bcu';

$plugin->release = '1.3';

$plugin->maturity = MATURITY_STABLE;


Thanks,

Dan

In reply to Jez H

Re: BCU Theme Support

by Paul P. -

Hi Jez,

Thanks for your help and contribution.

I am running Moodle version 2.8.3+ (2014111003.02) and I used (what I thought was) the most recent version which I obtained from https://bitbucket.org/jezh/moodle-theme_bcu/get/master.zip.  According to the theme/bcu/version.php file, it is version 1.3 (2015051800).

Paul

In reply to Paul P.

Re: BCU Theme Support

by Jez H -

That should be the latest version.

Sorry this is taking a while to sort out, we have some deadlines to hit on other work this week  but will get back onto this shortly.

In reply to Jez H

Re: BCU Theme Support

by Dan Noonan -

Thanks to all, for your work.

Best Regards,

Dan

In reply to Dan Noonan

Re: BCU Theme Support

by Dan Noonan -

Jez,

Are the mobile fixes part of the work you are doing on the theme updates?

Thanks,

Dan

In reply to Dan Noonan

Re: BCU Theme Support

by José David Moreno Posada -

Hi,

I got a problem with the theme in Iphone or Ipad. When I log in and try to log out I can not see this drop menu:


As I told you before, this only ocurrs with Iphone or Ipad but not in Mac. I have the last version of BCU theme and moodle 2.9.2+. Do you know something about this problem?

In reply to Jez H

Re: BCU:New Theme Available :-D

by Dan Noonan -

Hi Jez,

Also there is no moodle/theme/bcu/config directory in the new package

Thanks,

Dan

In reply to Jez H

Re: BCU:New Theme Available :-D

by Andrew Longhurst -

Hello,

Firstly thanks for sharing a great theme. I am relatively new to moodle and we are testing this against a clone of our production site for implementation into a k-12 environment.  We have some questions about your theme. My knowledge isn't enough to know if they are theme or system related so feel free to direct as appropriate.

  1. The heading of the footer block1 doesn't seem to be displaying correctly. Screenshot included it should read Contact Us above the Institution name and address. Second block seems to work OK.
  2. We are using the enrolled courses grid and it seem to limit to displaying 10 courses on the front page and in the my sites menu.  Our students typically have more than this.
  3. If I add a picture to the course summary file it does not show up on the tile for the course. Default pictures work without error.

We are running version 2.8.5 and BCU Theme 1.3, we have some custom css to remove the messages menu and that is it.

Regards

Andrew Longhurst

Attachment Screen Shot 2015-05-29 at 1.32.31 pm.png
In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

I am assuming you added that Block as an HTML block? In which case I am also assuming you gave it a title of Contact Us. Is that right?

Cheers

Mary

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Andrew Longhurst -

Thanks for your reply Mary. I used the footer settings in the theme configuration pages. From inspecting the html it doesn't seem to pick up the title.

Regards

Andrew

In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Marketing spots! Sorry...my mistake. I am just testing it out now.

In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Its looking bad.

I have DEVELOPER mode debugging enabled and every page has errors on it!

Hells bells...what have they done to it!

Will try and debug it and get back to you tomorrow if I get time.

Cheers

Mary

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Hi Mary,

Any pointers you could give to help get it fixed faster would be greatly appreciated blush

Regards the mobile navigation playing up Mike found an issue with the bootstrap JS earlier but has not been able to resolve it yet.

Can you tell me which version of Moodle you are running this on?

We still have our prod site on 2.7, I am not sure if the issues being reported are solely down to a borked version of our theme or whether there are any changes in 2.9 contributing to it?

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

2.9 which is what the theme says it is suitable for.

theme_bcu_moodle29_2015051800.zip

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Hi Mary,

It was tested against 2.9 but that is not what we are running on our live site, so if there are any 2.9 specific issues they are not going to be as obvious to us.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

To be honest it is nowhere near ready for 2.9. So please remove that tag in the Plugins dowload area.

There are some coding errors you need to fix.

Debugging showed quite a few PHP warnings

To be truthful it's a bit of a mess.

Sorry

Mary

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Jez,

I have just tested this in 2.7 and works OK.

Although there is a missing 'echo' in the footer.php for the header of footer1header. 

Not sure why you have added a 'title' class to the h3. Unless 'headers' don't get picked up by screen readers, or something?

Cheers

Mary

In reply to Jez H

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Missing $string:

Invalid get_string() identifier: 'unreadnewnotification' or component 'message'. Perhaps you are missing $string['unreadnewnotification'] = ''; in lang/en/message.php?

    line 349 of \lib\classes\string_manager_standard.php: call to debugging()
    line 6656 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 235 of \theme\bcu\renderers.php: call to get_string()
    line 183 of \theme\bcu\renderers.php: call to theme_bcu_core_renderer->bootstrap_process_message()
    line 105 of \theme\bcu\renderers.php: call to theme_bcu_core_renderer->get_user_messages()
    line 56 of \theme\bcu\renderers.php: call to theme_bcu_core_renderer->render_user_menu()
    line 91 of \theme\bcu\layout\includes\header.php: call to theme_bcu_core_renderer->user_menu()
    line 27 of \theme\bcu\layout\columns2.php: call to require_once()
    line 1015 of \lib\outputrenderers.php: call to include()
    line 945 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
    line 68 of \theme\index.php: call to core_renderer->header()

EDIT: These are the only related $strings in moodle/lang/en/message.php

$string['unreadmessages'] = 'Unread messages ({$a})';
$string['unreadnewmessages'] = 'New messages ({$a})';
$string['unreadnewmessage'] = 'New message from {$a}';

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Thanks Mary,


Mike made a commit to our repo a few hours ago to fix messaing, not sure if that has resolved the issue you were seeing?

In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Jez H -

Hi Andrew,

Did you try the sample HTML in the readme file?

It is available on our GIT repo if it is easier:

https://bitbucket.org/jezh/moodle-theme_bcu/overview


In reply to Jez H

Re: BCU:New Theme Available :-D

by Andrew Longhurst -

Sorry I think I may not have been clear enough.  I haven't looked at the detail but the marketing spots seem to work ok. 

The error is showing up when we use the footer settings page on the theme, I did use the sample HTML but the block does not seem to show the heading that we set in the config page. Seems to be an issue for footer block 1 only as the others will display the heading.

Regards

Andrew

In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Andrew,

Try this footer.php instead.

It should fix the problem.

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Jez H -

Thanks for providing this, we will get that fixed.


Average of ratings: Useful (1)
In reply to Jez H

Re: BCU:New Theme Available :-D

by Andrew Longhurst -

Thanks Mary & Jez,

That has worked for us. Any ideas about the number of courses being capped at 10 on our frontpage and mysites menu.

I haven't been able to find any setting as such.

Regards

Andrew

In reply to Andrew Longhurst

Re: BCU:New Theme Available :-D

by Jez H -

Hi Andrew,

That's nothing to do with the theme its a core Moodle setting, go to:

Site Administration > Front Page > Edit Front Page Settings

and edit the number in "Maximum number of courses"


In reply to Jez H

Re: BCU:New Theme Available :-D

by Sara Bozzini -
Hello,
I had the same problem: 10 is the limit of enrolled courses visible in the home page.
I'm using a 2.7.8 release, with BCU (I love this theme!) and in the home page I want to show the list of all enrolled courses

In this case (I think it is the same for Andrew) BCU theme, before checking the "Maximum number of courses", in order to have the list of enrolled courses calls the function
block_course_overview_get_sorted_courses
that calls
block_course_overview_get_max_user_courses
that returns 10 courses.

This function uses the config variable: block_course_overview

You can change its value in Site Administration -> Plugins -> Blocks -> Course Overview, editing "Default maximum courses".

To be sure of the result I checked also "Force maximum courses", so students can't change this value.

I hope this helps,

Sara
In reply to Sara Bozzini

Re: BCU:New Theme Available :-D

by Jez H -

Hi Sara,

There is a setting in Administration > Front Page > Front Page Settings titled "Maximum number of courses".

Changing that should alter the max number shown on the homepage.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Diego Couce -

Hi Jez, Mike.

I investigate how to fully transtalte the theme menue item into spanish and I do the following:

  1. Create ../lang/es/theme_bcu.php
  2. Trasnlate strings into spanish
  3. Not all was translated (changes weren't taken)

To resolve this I had to change the following in:

/renderers.php:line 360
<<$branchtitle = "People";
>>$branchtitle = get_string('people', 'theme_bcu');

/renderers.php:line 387
<<$branchtitle = "Help";
>>$branchtitle = get_string('help', 'theme_bcu');

jezh-moodle-theme_bcu-f80d001a5a4b.zip" on Moodle 2.9+ (Build: 20150528).

regards,

Diego.

In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

The way you have added the translations is how we used to do it. now it is different. You need to go to https://lang.moodle.org/login/index.php sign up and login. Then you can find the file bcu/ lang/es and translate it. This then allows that file to be added to the ES Lang file in your Moodle site when you click Update installed Languages.

However it is good you found other missing Lang strings. Hopefully Jez or Mike can add those so that they too can be Translated via the AMOS translation software.

Cheers

Mary

In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Diego Couce -
Hi Mary, good to know how it works.

Thanks for your comments and guide us to make a better template.

Regards,
Diego.


In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Diego Couce -

Hi,

I've just translated 188 lang strings in the AMO Tool.

I hope they'll get approved and we can have a fully spanish temaplate translated. wink

Cheers,

Diego.

Average of ratings: Useful (1)
In reply to Diego Couce

Re: BCU:New Theme Available :-D

by Jez H -

Hi Diego!

Thanks for that, its really nice to see our theme in use beyond the English speaking world, and that you liked the Theme enough to take the time to do it!

In reply to Jez H

Re: BCU:New Theme Available :-D

by Diego Couce -

Hi Jez,

This is the spirit of sharing....

You two make this theme outstanding, so I'll help and collaborate as much as my knowladge let me to last longer trough moodle's versions.

Happy coding.

Regards,

Diego.

In reply to Jez H

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Hello!

Is it possible the theme set so, that the blocks remain hidden, when start the site?

In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Jez H -

Hi Rudolf,

No you cannot do that but I can see why you would want to. It would reduce the length of the page, make it look cleaner and I have wondered for a while whether that maybe a better approach.

I will add this to our issue tracker, if its simple to do we maybe able to get it done quickly which would allow us to rest with our own users before the start of the next academic year. If its going to be a significant amount of work it will have to wait because although I think its a good idea its not really a priority.

Give us a few days and I will let you know.

In reply to Rudolf Henschel

Re: BCU:New Theme Available :-D

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You can hide them using this CSS

.notloggedin.pagelayout-frontpage #block-region-side-pre, 
.notloggedin.pagelayout-frontpage #block-region-side-post {
    display: none;
}
.notloggedin.pagelayout-frontpage #region-main.span9 {
    width: 100%;
}

in the BCU CSS settings section in...

Site Administration > Appearance > Themes > BCU (General settings)

 

Average of ratings: Useful (1)
In reply to Mary Evans

Re: BCU:New Theme Available :-D

by Rudolf Henschel -

Hello Mary!

I want that the blocks are invisible on for guests. Do you have a solution for this?

In reply to Jez H

Re: BCU: Forum Search

by Rene Ouellette -

Hi,

I noticed that the Forum Search isn't available in the BCU theme.  I flipped over to Clean, and it seems to be available.

Not sure where to look to re-enable the search capability.

Thanks,

Rene

In reply to Rene Ouellette

Re: BCU: Forum Search

by Jez H -

Hi Rene,

We were looking at that a while back, from memory the variable used to render that search field does other things in different pages which was making it tricky. Looking at clean its positioned above blocks so maybe we can do something just for forums to get the search field in there.

In the mean time the only thing you could do is add the forum search block.

Sorry about this omission, we will get it back at some point.

In reply to Jez H

Re: BCU Theme support

by Mark Molter -

Hi I just got the BCU theme, great! I am having little trouble with the footer blocks.

The first footer block title is not displaying at all. Basically that text the footer title box doesn't display so I have to use a header tag in the content box so that it does.

In reply to Mark Molter

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi if you look at the bcu/layout/includes/footer.php you will find a line that adds the blocks and is missing an echo which effectively prints the line of code to the screen.

It looks like this,,,the missing echo is highlighted in green...

<footer id="page-footer">
    <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
    <?php if($PAGE->theme->settings->showfooterblocks) { ?>
    <div class="container">
        <div class="row-fluid">
            <?php if (!empty($PAGE->theme->settings->footer1content)) { ?>
            <div class="left-col span3" id="contactdetails">
              <h3><?php echo $OUTPUT->get_setting('footer1header', 'format_text'); ?></h3>
              <?php echo $OUTPUT->get_setting('footer1content', 'format_html'); ?>
            </div>
            <?php } ?>
            <?php if (!empty($PAGE->theme->settings->footer2content)) { ?>
            <div class="left-col span3" id="footer-faculties">
              <h3><?php echo $OUTPUT->get_setting('footer2header', 'format_text'); ?></h3>
              <?php echo $OUTPUT->get_setting('footer2content', 'format_html'); ?>
            </div>
            <?php } ?>
            <?php if (!empty($PAGE->theme->settings->footer3content)) { ?>
            <div class="left-col span3" id="social-connect">
              <h3><?php echo $OUTPUT->get_setting('footer3header', 'format_text'); ?></h3>
              <?php echo $OUTPUT->get_setting('footer3content', 'format_html'); ?>
            </div>
            <?php } ?>
            <?php if (!empty($PAGE->theme->settings->footer4content)) { ?>
            <div class="left-col span3">
              <h3><?php echo $OUTPUT->get_setting('footer4header', 'format_text'); ?></h3>
              <?php echo $OUTPUT->get_setting('footer4content', 'format_html'); ?>
            </div>
            <?php } ?>
        </div>
    </div>
    <?php } ?>

Hope this helps?

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: BCU Theme support

by Glenn Pillsbury -

Thanks for offering your help, Mary.

Unfortunately, that missing echo statement seems only to apply if you have the footer blocks turned on, which I don't.  Adding it to the file had no effect on revealing the "Moodle Docs for this page" link.

I tried looking at the rest of the file, and I'm not seeing code that would display that default text in cases where the footer blocks are off.  My experience with themes is limited though, so it might be something obvious to others.

Another anomaly is the presence of a "Purge all caches" link sitting flush-right at the bottom of the page:


Not sure why that administrative tool, of all things, is being displayed there.

In reply to Glenn Pillsbury

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Glen,

I hate this when themes are customised by the designer who leave out important bits of code becsue they don't like them. I think they are very useful especially since you can create your own set for your site, which is helpful for everyone.

OK the Moodle page links look like this in Clean theme.

https://github.com/lazydaisy/moodle/blob/master/theme/clean/layout/columns3.php#L102

so adding that line should put the Moodle doc link back.

As for the Purge all caches link well that is part of 'Debugging' and is only seen by the Admin when Debugging is enabled. I have Debugging this on all the time and use Purge all caches rather than Theme designer mode as that makes for a slow server. Refreshing the code after working on a theme is faster with a purge.

Hope that helps?

OK...anything else missing? LOL

Personally I'm more worried about Windows 10 I am dreading it.

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Glenn Pillsbury -

Perfect!  That was indeed the code I needed.  After a little trial and error I have the footer of the page looking the way I need it to look.  Thanks for your help.

And thanks, also, for the debugging info.  Not sure why that was turned on in the first place, but it's off now.

Thanks again!

In reply to Glenn Pillsbury

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Glad you got it fixed. The debugging is useful with new themes that are supposed to be stable but still have a few oddities.  It's the first thing you should enable if ever you get a problem in Moodle.

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Jez H -

Hi Mary,

We didn't leave out docs because we don't the feature, it was an oversight blush

The real story here is that it took six months for anyone to notice which is pretty damning on the usefulness of that feature tucked away in the footer which has me wondering whether it would be worth trying to add another option to render it in the main navigation.

Any thoughts on that?

In reply to Jez H

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Sorry Jez,

I had not noticed the help link was missing...and I had not noticed that there was help link in the navigation...but then I wasn't looking for it. Sorry if you thought i was questioning your design skills...I wasn't I was just having a general moan.

I just wish Themes were easier to adapt.  I sometimes think that Moodle developers are going one way and theme designers going in the opposite direction and getting further and further apart.

There is a lot of old stuff in Moodle that should be stripped out and restyled.

I even think we should get rid of Blocks and make pages differently.

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Jez H -

Hi Mary,

The help link just lets you add a link to a help page (if you have one) it does not link out to moodle docs, but it maybe possible to add that as an option.

On a side note could you add me to your list of contacts so I can reply to your earlier PM? I was able to message you yesterday but now it has reverted to "Mary Evans only accepts messages from their contacts".

Thanks

In reply to Mary Evans

Re: BCU Theme support

by Mark Molter -
Thank Mary!, that helped little, I can see the text in the source code but upon further inspection the CSS states the height for that particular element is 0px hence it is not visible.

Working on trying to fix the CSS



In reply to Mark Molter

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

How odd!

It's fixed in the version I have so I don;t have get that CSS.

If you added the echo to the file, after saving it did you Purge all cache?

In reply to Jez H

Re: BCU Theme support

by Glenn Pillsbury -

Wasn't sure where to post this, so it's in both the theme download page and here.  smile

Using Moodle 2.9 and v. 2015051800 of BCU. Maybe I've misconfigured something in the setup, but the "Moodle Docs for this page" links no longer appear at the bottom of my pages. I'm not using any footer blocks.  When I switch the theme to Clean, the usual footer information appears. What am I missing?  Love the theme otherwise!  See screenshot:



In reply to Glenn Pillsbury

Re: BCU Theme support

by Jez H -

Hi Glenn,

I'm afraid the missing docs link was an oversight on our side, I just added an issue in our tracker to put that back.

In reply to Jez H

Re: BCU Theme support

by Glenn Pillsbury -

Yes, it felt like a simple oversight once I saw the code that was missing.  It's a useful thing to have on the page though, because it's the only way to invoke Moodle's "help" pages.

Thanks!

In reply to Glenn Pillsbury

Re: BCU Theme support

by Jez H -

Hopefully it will be back next week some time, there is some other work we need to wrap up before returning to theme, this is one of five issues we intend to fix before making another release.

In reply to Glenn Pillsbury

Re: BCU Theme support

by Jez H -

Hi Glenn,

Help link should be back in the version on our GIT repo if you want to try it.

In reply to Jez H

BCU Theme Support: Buttons in Marketing block

by Joanna Beaver -
Picture of Plugin developers

Hello

I have uploaded the BCU theme and it looks great!

My issue is that I do not seem to have the blue buttons on the Front Page Info and Marketing Blocks and wondered how to add these? 

I have never worked in code before and have managed to do the rest of the customisation from the Site Administration area. Do i need to go into the code? 

blue buttons missing

Kind regards

Joanna

In reply to Joanna Beaver

Re: BCU Theme Support: Buttons in Marketing block

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

This ia the sort of code you need to add:

Frontpage Marketing Block HTML structure

    <div><img src="/someimageURL.jpg" class="marketimage"></div>
    <div class="internalmarket">
    <h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod</h3>
    <a href="#" class="submit">My Home</a>
     </div>

The part that is the button is higlighted in green.

The file where all the Hints and Tips are is in your bcu/README.txt

Hope this helps?

Mary

In reply to Mary Evans

Re: BCU Theme Support: Buttons in Marketing block

by Joanna Beaver -
Picture of Plugin developers

Hi Mary

Yes that is a great help, thank you smile 

Joanna

In reply to Joanna Beaver

Re: BCU Theme Support: Buttons in Marketing block

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Joanna,

All that code I posted above is classed as HTML, and so as such needs to go into HTML part of the HTML editor area designated for the marketing spots in the BCU settings page.

More of this HTML can be found in this page...

http://getbootstrap.com/2.3.2/components.html#buttonDropdowns

which tells you how to add all the Bootstrap components which Moodle Themes like BCU have the styles already in place, so all you need to do is add the HTML save the settings and admire how Moodle and the BCU styles it all for you.

There is more about how to do this in a post I made some months ago.

https://moodle.org/mod/forum/discuss.php?d=267662

If you want more help with this kind of thing please do not heistte to ask for help.

Cheers

mary

In reply to Mary Evans

Re: BCU Theme Support: Buttons in Marketing block

by Joanna Beaver -
Picture of Plugin developers

Thanks Mary, the links are really useful! I have now set it up and all is working well. Perhaps you could help me with another query? I hope here is an okay place to post it, it is related to the BCU theme.

I would like to use my Moodle also as my website particularly since the BCU theme looks so great. So from those Marketing Block buttons on the Front Page I would like to link to individual pages with e.g. course details, deals, etc - that site visitors are able to click on and view just from visiting the Front Page (so without log in). I am probably going about this completely the wrong way (!) but I have set up hidden courses and put Moodle 'Pages' in them, then linked to them from the front page. However I think this means that I will need to allocate guest access to the courses where these pages are stored, meaning the site visitor would need to log in as guest to view course descriptions/deals which I would like to avoid, it really stops it from working as I would like. It s also starting to feel as though I am making it far more complicated than it needs to be! 

Is it possible to achieve the above somehow? 

Thanks for your help with everything so far

Best wishes

Joanna

In reply to Jez H

Re: BCU Theme support

by RAMON AGUIRRE -

Hello Jez

thanks you for you themes. I dont speak english but i try to explain my problem

I use moodle 2.9 .I installed bcu themes. 

In my frontpage , i cant slider resize ....

Can you say me. the exact location of file , for this?


thnaks very much

Attachment bcu.jpg
In reply to RAMON AGUIRRE

Re: BCU Theme support

by Jez H -

Hi Ramon,

There are no settings to alter the what that slider renders at the moment so you need to find image sizes that work.

We use images which are 1140 x 300 and they work ok. I think that is all you can do in the short term.

In reply to Jez H

Re: BCU Theme support

by Dan Noonan -

Hi Jez,

Totally out of context, but I can't figure out how to start a new thread.

Are the mobile fixes in the latest rollout of the theme?

Thanks,

Dan

In reply to Dan Noonan

Re: BCU Theme support

by Jez H -

Hi Dan,

There are mobile fixes in this latest version but we have only tested on a limited number of devices, hopefully there wont be too many problems. There is still an issue with the menu on iPad (probably something to do with the screen size) which means menus do not collapse as they should but it is usable.

Regards your question on posting a new thread this is a thread within the "themes" forum, you cannot post a thread within a thread!

Look at the breadcrumbs above and you will be able to jump up to the themes forum where you can add new posts.


In reply to Jez H

Re: BCU Theme support

by Dan Noonan -

Hi Jez,

Very nice work. Almost all mobile 'issues' that we have seen are fixed!

The only platform that is behaving odd now are the 'i' devices. The menu dropdown is fully functional now smile and the only thing we see is on the dropdown when you touch your logged in username it does not open to allow for logoff, etc.

All android's' are excellent.

Many thanks once again.

All the best,

Dan

In reply to Jez H

Re: BCU Theme support

by RAMON AGUIRRE -

Thanks Jez

these size is perfect .

Thank you very much for sharing this fantastic theme and give your time to answer queries

In reply to Jez H

Re: BCU Theme support

by Chris Mat -

Hi,

Thanks for this great theme. Could you please advise on how to show the 'Moodle Docs for this page' in the footer?

I'd like to show them for administrators only.


Regards,

Chris


In reply to Chris Mat

Re: BCU Theme support

by Jez H -

Hi Chris,

A new version went up on Moodle.Org today, if you update to that it should put the docs link in automatically.

It only appears on pages for which there are docs, if you go in and edit course settings for example you will see the docs link appear in the centre of the footer.



In reply to Jez H

Re: BCU Theme support

by Diego Couce -

Hi guys,

One of the students reported that he couldn{t find where to change his password.

I've looked and I weren't able to find it.

Any ideas?

I'm using last version of moodle and BCU.

regards,

Diego.

In reply to Diego Couce

Re: BCU Theme support

by Jez H -

Hi Diego,

We have a ticket open to add more profile navigation including the "preferences" page for 2.9 which is where you need to alter your password now:

https://bitbucket.org/jezh/moodle-theme_bcu/issue/93/add-more-profile-navigation

If you "watch" that issue when that feature is added you will be able to update from our GIT repository, it shouldn't be long before that is added.

In reply to Jez H

Re: BCU Theme support

by Paul P. -

Hi Jez,

I went ahead and modified my theme to put in the "preferences" link in the users drop-down before I saw this.  The link above isn't working, so in case you haven't added it yet, here is the code to make it work:

In layout/includes/header.php, after line 108 ( it can really go anywhere in that section)


  <?php if (!empty($PAGE->theme->settings->enablepreferences)) { ?>
    <li><a href="<?php p($CFG->wwwroot) ?>/user/preferences.php" title="preferences"><i class="fa fa-file"></i><?php echo get_string('preferences') ?></a></li>
  <?php } ?>

In settings.php, after line 190 (or anywhere in that section)

    // Enable View Settings.
    $name = 'theme_bcu/enablepreferences';
    $title = get_string('enablepreferences', 'theme_bcu');
    $description = get_string('enablepreferencesdesc', 'theme_bcu');
    $default = true;
    $setting = new admin_setting_configcheckbox($name, $title, $description, $default, true, false);
    $setting->set_updatedcallback('theme_reset_all_caches');
    $temp->add($setting);

An finally, in lang/en/theme_bcu.php (can go anywhere)

$string['enablepreferences'] = 'Preferences';
$string['enablepreferencesdesc'] = 'Display a link to the users preferences page';
$string['preferences'] = 'Preferences';

I hope this makes your like a tiny bit easier smile

Paul



In reply to Paul P.

Re: BCU Theme support

by Larry Turner -

Hello,

I was wondering could grades be added the same way as prefs to the drop down menu for 2.9?  Is there a ETA on an update for this theme on Moodle 2.9?

Also,  I would like to move the blocks on the front page to the center of the page.  I was looking at the frontpage.php file and see where I can make changes, but if someone with more experience can assist me on this, I would greatly appreciate it.

Thanks in advance for any assistance.

Larry

In reply to Jez H

Re: BCU Theme support

by Joe Mee -

Hi Jez,


Just wondering on a solution for the front page only showing 10 courses?

I see Andrew Longhurst has this issue, and you said to go to Front Page Settings and alter the number of courses, however the Default is already on 200, and it is still only showing 10 courses?


Many thanks in advance, your theme is fantastic!


Joe

In reply to Joe Mee

Re: BCU Theme support

by Jez H -

Hi Joe,

Are you showing "enrolled courses" or "list of courses"?

If its list of courses it should show up to the maximim of 200 (if that is what you have it set to).

If you set it to "enrolled courses" and you are NOT enrolled it will behave like "list of courses" and show all up to your maximum.

If you set it to "enrolled courses" and you ARE enrolled on courses it will show ONLY those you are enrolled on.

If you could clarify what your settings are it would help.

I should also add there is still an issue using "combo list" with this theme.

In reply to Jez H

Re: BCU Theme support

by Joe Mee -

Hi Jez,

When logged in i'm showing Enrolled Courses, and i am enrolled in around 15-20, and it's still only showing ten.


Cheers

Joe

In reply to Joe Mee

Re: BCU Theme support

by Jez H -

Hi Joe,

Could you let me have a screen shot of the front page settings page so I can try and replicate it?

Thanks

In reply to Joe Mee

Re: BCU Theme support

by Andrew Longhurst -

Apologies for being quiet, I have been away.  I'm pretty sure my guys solved this problem by configuring the courses overview block in the plugins menu.  Change the default of 10 to 0.

Regards

Andrew

Average of ratings: Useful (2)
In reply to Jez H

Re: BCU Theme support

by Daniel Cheow -

Hi , 

Its a great theme , but im having some troubles customizing to my needs. Would be great if you could help me out with it.


Am i able to customize the names of the links shown as 'my courses' to maybe 'my something else'? If so how should i do it?


Regards

Daniel

In reply to Jez H

Re: BCU Theme support

by Dana Johnson -

I love the BCU theme, not too many issues thus far.  Can someone help modify "MySites" in the header.  We are located in the US and "MyCourses" would be easier for our students to identify with.    I am using version release = 1.3.


Thanks in advance.

Dana

Attachment MySites.jpg
In reply to Jez H

BCU twitter hashtag

by Bill Steele -

Hi

I think that BCU is a terrific theme and we intend to start using it from September. There is one thing I would like to do but I don't have the technical skills to tackle. In the header it currently shows the Course Full Name and I would like to display either the the Course Short Name or the Course ID Number (not sure which would be the easiest as some background manipulation would be required to get the format wanted). The intention would be to supply a twitter hashtag for every course. Any suggestions as to how I could go about this?


Bill

Average of ratings: Useful (1)
In reply to Bill Steele

Re: BCU twitter hashtag

by Jez H -

Hi Bill,

To do that currently you would need to edit the php files, this would need to be re-applied after every update, or you would need to maintain your own git repo where changes could be re-applied.

I think an admin setting would be a useful feature, most of our course names are too long to display so it may be the case that our own users would prefer to move away from this too.

I have added a tracker for this which you can "watch" to receive updates on whether it is added:

https://bitbucket.org/jezh/moodle-theme_bcu/issues/183/add-option-for-title-display


In reply to Jez H

Re: BCU twitter hashtag

by Bill Steele -

Thanks Jez. The intention was to use the CourseID rather than the course name as the potential twitter hashtag. Do you have any idea where within the php files this would need to be changed to include the courseID along with the Course Title? Sorry but I am not into programming if I can avoid it

In reply to Bill Steele

Re: BCU twitter hashtag

by Jez H -

Hi Bill,

To modify the theme now you would need to look in:

/layout/includes/header.php

On line 140 you could change from:

$header = theme_bcu_remove_site_fullname($PAGE->heading);

To use either the course id or shortname:

$header = theme_bcu_remove_site_fullname($COURSE->id);
$header = theme_bcu_remove_site_fullname($COURSE->shortname);

and if you want to add the '#' in front:

$header = theme_bcu_remove_site_fullname('#' . $COURSE->id);
$header = theme_bcu_remove_site_fullname('#' . $COURSE->shortname);

My own thoughts on this are that I like the idea of being able to create a hashtag but the header is not how I would do it.
I would also want to ensure the hashtag was unique to my organisation / course, in our case something like #bcu_shortname.

What may work better is to do this in a block which could be added on a per course basis.

If it were to go into our theme then perhaps it could be added as an option under the "this course" list, the problem with that being its all or nothing sitewide, not something you could use on a per course basis.

I would be interested in learning more about what you are using Moodle for and how twitter fits into that, I know other systems make better use of social media than Moodle and I think its worth thinking about.

Anyway, hope that helps and feel free to PM me if you have other ideas on this smile

In reply to Jez H

Re: BCU Theme support

by Yenin Rodriguez -

Hi Jez, 

Problem when i want to change the color of the bottom edge of the navigation bar

We try to change the color of the line under the menu  using the  BCU theme in the color section but despite saving changes, the color # b7b3ef  was continued.

It was found that the problem is that when i try to update bcu theme at the 2015070100 version, the menu.css file has the fixed color and not as a variable.

it could solve, when we modify the menu.css, changing the following line.

#navwrap {

     clear: both;

     border-bottom: 3px solid setting: navbarborder;

    // Border-bottom: 3px solid # b7b3ef; commented to make it configurable by GUI

}

 ; )

In reply to Yenin Rodriguez

Re: BCU Theme support

by Jez H -

Hi Yenin,

That should be an admin setting, I am not sure why this is not working. If there is a problem we will fix it shortly.

On a general note (though I think you are aware of this) if you alter settings in the admin page they do not always reflect until you move to other pages like the homepage, also clear caches if something doesn't apply.

In reply to Jez H

BCU as parent theme?

by Alexander Lebeth -

Dear Jez,

we like the BCU theme a lot – what's the recommended way to customize it in order to benefit of future updates? I could not find an example of using BCU as an parent theme in the internet, maybe it's not meant for building childthemes with it?


In reply to Alexander Lebeth

Re: BCU as parent theme?

by Jez H -

Hi Alex,

You should be able to overide from a child theme as that is how Moodle works but we never built the theme with that in mind and I think it would be a painful process"

If your changes were generic and would be of use to others it maybe possible to add them as options.

Another option would be to fork our GIT repo and merge updates back in from time to time.

In reply to Alexander Lebeth

Re: BCU as parent theme?

by Jez H -

Hi Alex,

You should be able to overide from a child theme as that is how Moodle works but we never built the theme with that in mind and I think it would be a painful process"

If your changes were generic and would be of use to others it maybe possible to add them as options.

Another option would be to fork our GIT repo and merge updates back in from time to time.

In reply to Jez H

Re: BCU Theme support

by Erin Mucci -

Hello,

Is there a way to adjust the font size or style in the theme?  I see the area to adjust the percent but it doesn't give any indication as to which text size is adjusted.  I'd like the course titles to be much smaller on the frontpage.  I'd like the font style to be different in the header.  Is there a place to make these adjustments?

Thank you!

Erin

In reply to Erin Mucci

Re: BCU Theme support

by Ken Farrimond -
Picture of Plugin developers

Hi Erin

I have changed the size of the course title by adding the following CSS


#frontpage-course-list .coursebox-content, #frontpage-course-list .coursebox-content a {  font-size: 60%; }



Ken

In reply to Jez H

Re: BCU Theme support

by Jack Senechal -
Clicking on Site Home in Navigation links to the home page complete with slideshow, etc.


But clicking on Home in the header menu or clicking on the logo sends you to 'yoursite.com/my'


I changed the Home on the header menu editing the public function navigation_menu in renderers.php.

I am having difficulty finding the logo link.

Where do I edit the link that happens when someone clicks on the logo so that it will go to the site home and not the dashboard?

Thanks for your help.


In reply to Jez H

Re: BCU Theme support

by Sue Kirkland-Smith -

Really like this theme have just installed. However I'm having trouble getting images to display in live view  after saving in front page blocks. Images are displaying in the edit mode. Can you help? Cheers Sue

In reply to Sue Kirkland-Smith

Re: BCU Theme support

by Julian Jordan -

Im having the same problem. Did you find out how to fix it?


In reply to Julian Jordan

Re: BCU Theme support

by Andrew Longhurst -

Hi Julian,

We changed the Default maximum courses setting on the Course Overview block and that seemed to do the trick.

Regards

Andrew

In reply to Julian Jordan

Re: BCU Theme support

by Julian Jordan -

I finally was able to make it work by using a image url outiside the moodle image repository.

In reply to Jez H

Re: BCU Theme support

by FeKuLa Novi -

Is there any way to show tiles in frontpage for categories (not only courses)?

Thank you in advance.

In reply to FeKuLa Novi

Re: BCU Theme support

by Jez H -

Hi Luis,

The tiles for courses rely on a core moodle feature for "course image", without a similar feature for "category image" such a feature would be limited to a single default background image. I think it would be a really nice feature if such a category image could be added to core, I will see if there is a tracker for this and if not raise one and see if we can build interest in such a feature.

In reply to Jez H

Re: BCU Theme support

by A. A. -

Hi, in my local moodle installation (php version 5.5.7) I get errors in the header section. So, instead of showing the header image I get these type of errors:

Notice: Undefined property: stdClass::$from in C:\ApacheServer\Apache24\htdocs\moodle\theme\bcu\renderers.php on line 141

Notice: Trying to get property of non-object in C:\ApacheServer\Apache24\htdocs\moodle\theme\bcu\renderers.php on line 141

This does not happen in my on line installation.


In reply to Jez H

Re: BCU Theme support

by Emma mASON -

Hi I am trying to add a border colour to my blocks but am having no luch finding the correct area within the css sheets to do this? I want to add it to the sheets rather than add it as additional css.

thanks

In reply to Emma mASON

Re: BCU Theme support

by Jez H -

Hi Emma,

Things like that are best added as colour pickers in the admin settings. I will open a ticket for that feature.

In the mean time if you look at the file:

/style/extras.css

You need to alter the border of the color in line 22, shown in the code block below:

.coursebox.panel {
    border-radius: 2px;
    position: relative;
    background: #fafafa !important;
    border: 1px solid #e8eaeb;
    height: 210px;
    margin-bottom: 20px;
}
and also in /style/custom.css

#marketblocks .internalmarket {
	padding: 10px 15px 30px;
	text-align: center;
	border: 1px solid #e8eaeb;
	border-top: 0px;
	background-color: #fafafa;
}

In reply to Jez H

Re: BCU Theme support

by Daniel Cheow -

Hi , sorry to trouble you all again , but i'm having an authentication issue.

Whenever i try to login with an incorrect password or username , it will show the following error message.



May i know what can i do to resolve this issue?

Regards

Daniel

In reply to Daniel Cheow

Re: BCU Theme support

by Jez H -

I think you may have posted this in the wrong place, this is a thread for theme support, that error is being thrown by a cas authentication plugin.

I very much doubt this is anything to do with the theme unless you have tested with standard themes like Clean and it works?

In reply to Jez H

Re: BCU Theme support

by Daniel Cheow -
Thanks for the reply, will post it in the revelvant thread. 
In reply to Daniel Cheow

Re: BCU Theme support

by Daniel Cheow -

Not to sure if the next question im about to ask is in the right section , or do advise me where i should post this question if im wrong. 

Question: For embedding swf files as hyperlinks, for example as a URL , is there anyway to be able to open the URL as embedded format but display like a popup format, however selecting popup format displays the URL of the swf file and also when it opens in popup , the URL is shown again.

The reason for me doing this , is so that i can hide the swf urls to my users so they cant provide the url to others but yet be able to allow the content to be viewed in a bigger windows size than the default size whe 'embedded' portion is selected.

Appreciate again if any moderators could help. Kudos to you guys.

Settings Page 



Current Appearance

In reply to Daniel Cheow

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

You could add the SWF files in a course theme and once in Moodle will not be able to view from outside unless you are a student enrolled on the course.

Other than that I am not sure
Mary

In reply to Jez H

Re: BCU Theme support

by Raquel Barra -

Hi, I have a problem.


My icons of Bootstrap in all browsers gone.




I need your help, pls!


.-.

In reply to Jez H

Re: BCU Theme support

by Glenn Pillsbury -

Hi,

How do I style the purple horizontal line and the color of the Block names?

Thank you!

In reply to Glenn Pillsbury

Re: BCU Theme support

by Sue Kirkland-Smith -

Yes I would like to know the answer to this one also. Can someone respond with answer? Cheers Sue

In reply to Sue Kirkland-Smith

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

Just find what the class or id css selectors are using Web Developer tools in your browsers Tool box. Or use the quick key control F12 Or if you prefer use Firebug.

Once you locate the element you want to restyle look for the CSS related to that element using the tools mentioned above.  Make a copy of that CSS and add it to the theme's Custom CSS section within the Theme custom settings page. Alter this CSS as needed.

Cheers

Mary

In reply to Glenn Pillsbury

Re: BCU Theme support

by colin evans -
Hi,

you've probably solved this by now, however if its the same purple line i have had problems with then place the following into custom css and change the hex code for the color you want.

#navwrap {
    clear: both;
    border-bottom: 3px solid #b7b3ef;
}
In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

When viewing a lesson as a student, the footer (black bar in image below) moves up the screen leaving empty white space below. The position of the footer varies on every page depending on how much content is on the lesson page and is distracting from the actual content. Is there any way to solve this? 


In reply to Joanna Beaver

Re: BCU Theme support

by Jez H -

Hi Joanna,

It will do that if you have little content and have blocks hidden, or blocks with little in them.

If you show blocks or have more content it will push the footer back down.

We will have to see if there is anything that can be done to improve that.

In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

Hi Jez

On the page where the resource is added there are 5 blocks on the LH side of the screen, but when I click and enter the lesson all of those blocks disappear and the footer rises up the screen.

The blocks also disappear when I view other resources (such as page, book) but the footer sticks at the bottom with those. With Feedback, Footer has also risen and white band can be seen.

Appearance is worse when viewing on a larger screen - on a regular laptop, no white band below the footer; on a larger monitor the white band below the footer can be seen. 

In reply to Jez H

Re: BCU Theme support

by Larry Turner -

Hello,


I noticed on Moodle 2.9, the grades link are not appearing under the login area at the top left of the screen.  Is there a way I can fix this?

In reply to Larry Turner

Re: BCU Theme support

by Jez H -

Hi Larry,

I think you mean under the user menu top right?

I am afraid there are some missing for 2.9, preferences and grades, we will get those added shortly.


In reply to Jez H

Re: BCU Theme support - gradebook issues

by Barbara Taylor -

Hello,


We are using Moodle 2.8.7 and are having an issue with the gradebook.  The drop down menu at the top category of the gradebook is displaying the text as vertical instead of horizontal.  I am attaching an image to show what I am trying to describe.  How can we get this fixed?  We are now live and hope to get a fix asap.


Thank you,

Barbara

Attachment moodle_gradebook_setup.png
In reply to Jez H

Re: BCU Theme support

by Joe Mee -

Hi Jez,


I think i'm having a forgetful moment, however i was wondering if you could help.

At the top of the Navigation bar we have Home, Dashboard, Events, My Sites.

How do i change what these are called? For example My Sites to My Subjects?


Many thanks

Joe

In reply to Jez H

Re: BCU Theme support

by A. A. -
Hi, I installed the Theme on my online moodle site and on my local computer.
While online it is ok, on my local computer it gives me this header:

This happens as soon as I login. Before logging in it does not show these errors.
What could be the reason of these errors.

Thanks
In reply to A. A.

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

What versions of Moodle are you running?

  1. On your online server
  2. On your local machine?
In reply to Mary Evans

Re: BCU Theme support

by A. A. -

Moodle 2.9 on both.

In reply to A. A.

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

In that case I am curious as to why one and not both had a problem?

Whatever...it needs reporting in the BCU Issues on the Plugin page.

Sorry I can't help.

Mary

In reply to Jez H

Re: BCU Theme support

by Frankie Kam -
Picture of Plugin developers

Hi Jez H

Thanks for a great theme! I am using it on my production site. I do have a problem. Just this morning when I accessed my site, I noticed DUPLICATE course tiles. I have never seen this before and have no idea how it occurred or what triggered it. Any ideas?


Cheers
Frankie Kam

In reply to Frankie Kam

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Are you sure it's not something you did Frankie?  smile

Also have you seen the responses you are getting here -> https://moodle.org/mod/forum/discuss.php?d=233859

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Frankie Kam -
Picture of Plugin developers

Hi Mary

Thanks for you reply. It could be something that I did. Just doesn't come to my mind yet. Thanks also for replying to https://moodle.org/mod/forum/discuss.php?d=233859 (I've just relooked it up).

Frankie

In reply to Frankie Kam

Re: BCU Theme support

by Frankie Kam -
Picture of Plugin developers

Hi Mary

I found out the 'error'. And I don't know whether to laugh or cry.


It was because I had earlier selected both "List of courses" and "Enrolled courses". Duh. Dumb and dumber and dumberer. I've since selected only "News items" and "Enrolled courses". That did the trick.

Regards
Frankie Kam 


Average of ratings: Useful (1)
In reply to Frankie Kam

Re: BCU Theme support

by Jez H -

I see you have resolved your "problem" blush , your course tiles look nice.

In reply to Frankie Kam

Re: BCU Theme support

by rohit katare -

could you please tell me how to use different pictures for each course


In reply to rohit katare

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The image used in the course blocks is the image added to each course.

Please, notice that BCU has no support. See the link above and upgrade to Adaptable.

In reply to Jez H

Re: BCU Theme support

by Barbara Lawrence -

Hi Jez

Thank  you for  your excellent work on the BCU theme.

I'm having some problems when I try to embed my twitter widget in one of the Marketing blocks:  the block just displays the link to the twitter feed, not the actual tweets.

The widget works fine when embedded in a label or html block in the front page.

Do you have any suggestions on why this is happening? (I'm currently using Moodle 2.6).


Barbara

In reply to Jez H

Re: BCU Theme support

by Bill Steele -

Sorry but I have an issue in that the the Link Colour is not accepting the setting in the theme. I am using Moodle 2.8.7. 

Bill

In reply to Bill Steele

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

What CSS markup are you using and where are you adding it?

In reply to Jez H

Re: BCU Theme support

by Andrew Snowden -

Just upgraded from 2.5 to 2.9 - love the theme - great work!

Is it possible to hide the slider after login?

thanks

In reply to Andrew Snowden

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Yes, if you prefix the slider CSS with .isnotloggedin and then Purge all cache. This will allow the slider to only work prior to being 'logged in'.

Hope that helps?

Mary

In reply to Mary Evans

Re: BCU Theme support

by Andrew Snowden -
A little confused, to what do I add the prefix .isnotloggedin ?

Thanks

Andrew

In reply to Andrew Snowden

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Sorry, looking at the code it not as simple as I first thought.

I think you really need to ask the theme authors for help with this.

Mary

In reply to Jez H

Re: BCU Theme support

by Tim Gildersleeve -

Hello

I'm pretty new to these forums - lurked for a while but not posted much at all.  I hope I am posting in the right place!

I have just put BCU on our Moodle site at Bradford College and we're all (well most) pleased with it.  However I have noticed one problem - which may not be related specifically to BCU  - it may be simply related to custommenus but I havent been able to find an answer so far.

Some of our tutors have courses that they are working on and need to access regularly but have hidden them from students.  I know they could just not have students enrolled on them but the way they work is to just hide the course instead when they are working on it and want to deny access to students.   The problem is that when a course is hidden it doesnt show up on the "My Sites" drop down and so tutors are finding it hard to locate their course pages.   I know they can use the Dashboard but this is less than ideal for them and in an attempt to reduce the grumbling I was wondering if there was a way to make it show courses that are hidden - but you have teacher (or higher) rights to.

Does anyone have any idea?  I don't know if this is code from BCU's theme - or just calls routines from elsewhere but hopefully someone can give me a clue where to look.

Kind regards,

 

Tim Gildersleeve
VLE Developer
t.gildersleeve@bradfordcollege.ac.uk

Q8 Old Building, Bradford College, Great Horton Road, Bradford, BD7 1AY

Direct ext. 1631 or 01274 431631   


In reply to Tim Gildersleeve

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Tim,

I am not sure about this but I think it could be possible to do this in the renderer where the 'my sites' is generated.

However, the Dashboard should be the place to work from as those courses should be listed there already.

Cheers

Mary


In reply to Tim Gildersleeve

Re: BCU Theme support

by Jez H -

Hi Tim,

We did that deliberately as we had staff enrolled on a lot of older hidden courses and we wanted to reduce clutter showing only courses which were actively being taught.

We need to do more work on that menu to group older courses by year (sub menus 2013, 2014 etc) and could look at adding another for "hidden".

We are working on another version at the moment with a lot of enhancements, once that is done I think this will be high on the list for future improvements, but it will be some time before we get onto that.

I would add that we have been working with newschoollearning.com on this latest version and if you were able to fund this or other tweaks we could integrate them back into the main release. They work fast and as such their rates dont break the bank. If you were interested in doing that you can message me. 

In reply to Jez H

Re: BCU Theme support

by Frankie Kam -
Picture of Plugin developers
Hi Jez

May I know I can change the default names of the links "Home", "Dashboards" and "My Sites"?



I would like to change "Dashboard" to "My Dashboard". And "My Sites" to "My Subjects". Hope you can help me out here and point me to the right direction.

regards

Frankie Kam

In reply to Frankie Kam

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Frankie,

You should be able to change these in the bcu/lang/en/theme_bcu.php file using Site Administration > Language > Language customisation

Or do it manually in the file itself

cheers

Mary


In reply to Frankie Kam

Re: BCU Theme support

by Jez H -

Hi Frankie,

You shoudl be able to do that in Moodles language pack customisation.

All strings *should* be setup via the language pack, if you do fond any that are missingplease let me know.

In reply to Jez H

Re: BCU Theme support - translate

by Mikhail Bauman -

For better translations, in my local copy of BCU theme I replace string 365 in renderers.php file (Moodle 2.9): 

$branchtitle = "People";

to 

$branchtitle = get_string('people', 'theme_bcu');

Am I right?

In reply to Mikhail Bauman

Re: BCU Theme support - translate

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I would say YES you are right, as it looks like a proper title and as such the word 'People' in this case needs to be a string so that it can be translated into any language, for example Russian 'люди'.

smile

Mary

In reply to Mikhail Bauman

Re: BCU Theme support - translate

by Jez H -

Hi Mikhail,

You may be better switching over "Adaptable" theme which is based on BCU, can be configured to look exactly like BCU but has many more features and settings, including many missing language strings, and if you do find any missing it is being actively developed and we can add them very quickly.

In reply to Jez H

Re: BCU Theme support

by Krutik Patel -

Hello all,

I am using BCU theme and want to customize the width if the container to be 980px (Fix) and it will be same for all page and also whole moodle structure will resides in the same width of 980px container.

Can anybody help me to fix these customization,

In reply to Jez H

Re: BCU Theme support

by Bartosz Jankoś -

Hi. I'm quite stuck with modifying your theme. Well modifying is a strong word I wanted to change some colors and as you can see I can't change the white font anything I do just doesn't change it and I need to make the header brighter because my logo is black.

Attachment theme.png
In reply to Bartosz Jankoś

Re: BCU Theme support

by Jez H -

Hi Bartosz,

There will be a new version out soon with a lot more color pickers which will solve your problem. I am guessing it will be available on GIT for you to download / test in a couple of weeks time.

In reply to Jez H

Re: BCU Theme support

by FeKuLa Novi -

I'm working in a child theme of BCU.

Is absolutely necessary copy the files lib.php and renderers.php to my new child theme?

I replaced all "theme_bcu" to "theme_xxx" in that files, but:

What about:
public function bcublocks($region, $classes = array(), $tag = 'aside')?
Is necessary rename it to bcuxxx (where xxx is the new name of my child theme)

Thank you.
In reply to FeKuLa Novi

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

If you have made BCU the parent theme, then NO you do not need the renderers or the lib.php unless you have made changes to either the renderer or the lib.php.

You need the settings.php, which needs changing where you see theme_bcu you put theme_xxx

In reply to Mary Evans

Re: BCU Theme support

by FeKuLa Novi -

There are a lot of bugs if I don't include lib.php and renderers.php (and then replace strings)
Check out the attachment...


In reply to Jez H

Re: BCU Theme support

by Josh hernandez -

Hi!

I like bcu theme very much. It's great. I'd like remove the search course box from frontpage (in header). Is it possible?

Thanks!

In reply to Josh hernandez

Re: BCU Theme support

by Jez H -

We are working on a new version where there is an option to switch the search bar out for social links which maybe an option (see screen shot below)


If you dont add social links it doesnt show anything in that area but its a bit of a hack, if necessary we could look at an option to disable it entirely in the future.

I think we will publish a URL for the download of that version next week so people can test it, I am not sure how long it will be before it is updated in the Plugins directory.


In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

Hello

Is it possible to change the colour of the Top Alert Box that appears in the header?

Thanks

Joanna


In reply to Joanna Beaver

Re: BCU Theme support

by Jez H -

No but it should be! I will get that added in the not too distant future.

In the mean time you could use the custom.css field in the theme to override it. For example if in the "Custom CSS & JS" you add the following to the top box (for css) it will turn the background white:


.customalert{
    background: #ffffff none repeat scroll 0 0;
    border-bottom: 1px solid #f2b535;
    color: #be1e2d;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
}


In reply to Jez H

Re: BCU Theme support

by jose m. cordero -

Hello,
I would appreciate information on how to remove the blue space where the logo is located as pointed by the arrow in the picture.

Sorry for the translation ....

thank you

José Manuel


logo

In reply to jose m. cordero

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Hola Jose Manuel,

you can change this colour from the theme administration. In the 'Colours' section, change the Main Colour.

If you want different colour from the #above-header then add this code to the custom CSS:

#above-header {
    background-color: the hex colour;
}
 
 
In reply to Fernando Acedo

Re: BCU Theme support

by jose m. cordero -

Hola Fernando,

Gracias por tu respuesta, pero lo que realmente necesito es eliminar ese espacio ya que no lo necesito para el logo y subir hacia arriba el menu y slider. Algo así como en este montaje.

Muchas gracias


cap

(Edited by Gareth J Barnard - original submission Sunday, 4 October 2015, 12:28 PM) - To save agro with forum rules, in this case an exception, translation:

Hello Fernando,


Thanks for your answer , but what I really need is to eliminate that space because I do not need to climb up logo and the menu and slider. Something like this assembly.


Thank you

In reply to jose m. cordero

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Jose,

if you need support in Spanish please ask in the Spanish forum. Here is only in English.

You can remove the header area adding the next CSS code into your custom CSS textbox:

#page-header {
    display: none;
}
In reply to Jez H

Re: BCU Theme support

by Clément Prudhomme -
Picture of Plugin developers Picture of Testers

Hi,


Thank you for yout work. I have a question about "full screen view" and "Hide blocks".

I would student have only one view with "full screen" (1 column) and "no blocks". Can we edit "config.php" to do that or it isn't a good idea ?


Best regards.


In reply to Jez H

Re: BCU Theme support

by T K -

I have recently applied the BCU theme onto my Moodle site, and I would like to set the Front page to contain only some info, sliders and lists of course, without the blocks on the side, how do I achieve this?

In reply to T K

Re: BCU Theme support

by Jez H -

I am not sure which version you have but later ones have a block region at the bottom of the front page which is only visible administrators.

If you remove all blocks you dont need and drag the fixed ones like "administration" down into that area then you will not be showing any blocks on your front page.

"Hopefully" (I have not tested this) the rest of the content area will expand to fill the space.

If the version you have does not have that block region you can download a version that does here:

https://bitbucket.org/bcu/moodle-theme_bcu/get/master.zip

In reply to Jez H

Re: BCU Theme support

by Clément Prudhomme -
Picture of Plugin developers Picture of Testers

Hi,


Just to confirm it's working fine like this. I use BCU and front page with blocks region ("administration" + "navigation") only visible for administrators.

With this setting, student have a full page view on the front page with slider, ressources/activities and list of courses (all full width).


Best regards.

In reply to Jez H

Re: BCU Theme support

by T K -

My version:2015070100

Is your version newer?

In reply to T K

Re: BCU Theme support

by Clément Prudhomme -
Picture of Plugin developers Picture of Testers

Hi Karishma,


I use the same version like you and Moodle 2.9.2.

To hide all blocks for students, you can follow this step by step :  https://docs.moodle.org/28/en/Blocks_FAQ#How_do_I_make_a_front_page_block_visible_to_teachers_but_not_students.3F

You need to go on the front page and change permission. You can do that for navigation and administration blocks. In my case, student see the full-width front page and full-width course page if I don't add other block.


Regards.


Clément

In reply to Jez H

回复: BCU Theme support

by Daniel Lo -

Looking for help ...


How can I set different images for different courses showing up on the front page for the BCU theme?

Thanks

In reply to Daniel Lo

Re: 回复: BCU Theme support

by Simon Rediss-Whitfield -

Go into course & category management in site administration>courses


Select the course settings icon for the course to apply the image to and put your image in the course summary files section.


This image will now display on the front page with the course title and description if you have entered this

Average of ratings: Useful (1)
In reply to Simon Rediss-Whitfield

回复: Re: 回复: BCU Theme support

by Daniel Lo -

Wonderful ... thank you so much ...

In reply to Daniel Lo

Re: 回复: Re: 回复: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Just a quick note for future readers that Simon's advice covers all themes, not just BCU smile

The course settings and the summary file there (where you can add an image) are standard moodle core features, not for any particular theme - how the theme styles that image may vary though!

Average of ratings: Useful (1)
In reply to Jez H

Re: BCU Theme support

by Kimber Warden -

I really like the idea of using tiles to show available courses. Is there any way to use them for enrolled courses on the Dashboard, not just on the front page?

In reply to Kimber Warden

Re: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

At the moment no - the code is quite different as the user dashboard list of pages gives a lot more information, such as unread forum posts and upcoming assignments, so it would need some different developments I believe.

However, the course overview used on the dashboard page is actually just a block, so it should be possible to create an alternative block that could be used in its place.

In reply to Jez H

Re: BCU Theme support

by Dana Johnson -

Hello,


I am using the BCU theme version 1.3.1 and love it!  Does anyone know a way to add alt text to an image that is used in the frontpage slider? The text was added in the picture caption area.  The alt text shows up in a opaque black box with or without the use of a mouse.  Any suggestions?


Thank you in advance.

Dana


Attachment FrontpageSlider.jpg
In reply to Dana Johnson

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

The reason it is not showing up is more than likely the browser. In FireFox it doesn't but title="Same text as alt" will show up.

So try adding title="3 Online Degrees" as well as the alt tag.

Hope this helps?

Mary

In reply to Jez H

Re: BCU Theme support

by A. A. -

Hi,

I am using the BCU Theme in different Moodle 2.9.3 e 3.0 installations.

In one of them the user menu shows an item (Private files) that is not present in other installations.

So, is there an easy way in this theme to change the user menu, adding or removing menu items?

Thanks

In reply to A. A.

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can disable this menu in:

In reply to Fernando Acedo

Re: BCU Theme support

by T K -

I want logged in user to only see their enrolled courses. Suddenly i realised that the user is also able to view All Folders link. How do i remove this link?


tt

In reply to T K

Re: BCU Theme support

by T K -

One more question, on the logged in user frontpage, is it possible to group the enrolled courses in their categories, instead of having the courses scattered about?


In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

No, as far I know. This is a moodle feature and it is supposed that the student is enrolled in a few courses not enough to be divided in categories.

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Redirect the logged user to the Dashboard instead the frontpage and you will see only your courses.

 

 

In reply to Fernando Acedo

Re: BCU Theme support

by T K -

How can i do this?


Does this mean students go to dashboard straight? Who would see the frontpage then?

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is the information to redirect logged users to Dashboard.

https://docs.moodle.org/29/en/Dashboard

In BCU you can add the Dashboard menu to the navbar. Guest will see the front page, after login they will be redirected to Dashboard and they could go at any moment using the "Dashboard" menu.

 

 

In reply to Fernando Acedo

Re: BCU Theme support

by T K -

My moodle 2.8 uses My home instead of Dashboard. How can i change it to Dashboard? It sounds better in our context

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

In the existing version, BCU uses the default moodle label. In version 2.8 was 'My Home' and from version 2.9 is 'Dashboard'

In the beta version you can change this label.

 

 

In reply to Fernando Acedo

Re: BCU Theme support

by T K -

2.9 is beta version now?

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The new BCU Beta version is available in: https://bitbucket.org/covuni/moodle-theme_bcu

The direct link to download the theme is: https://bitbucket.org/covuni/moodle-theme_bcu/get/master.zip

Still in Beta so do not use in production sites. It runs in moodle 2.8, 2.9 and 3.0.

It has many more features and settings. It takes some time to configure the theme and for the moment no documentation available until the development finish that I hope will be soon.

Suggestions, comments and bugs are always welcome.

In reply to Fernando Acedo

Re: BCU Theme support

by Ricardo Groiso -

Hi, Fernando

In BCU Beta version

To make the issue of translation, to translate the file lang > en > theme_bcu.php

I create a directory lang > pt_br and put the translation of this directory before doing the installation?


In reply to Ricardo Groiso

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Ricardo,

this is at your choice, you can translate the strings before or after installation.

Anyway, even I do not expect more changes in the lang file, my advice is to wait a few days to get a stable version. Then I will start also the translation to spanish and other languages.

And we'll be glad to add your translation to the theme.

In reply to Fernando Acedo

Re: BCU Theme support

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Plugins on the plugins database no longer need to include other languages as files.  You can use AMOS -> https://docs.moodle.org/dev/AMOS_manual?redirect=no and therefore anybody can go in and translate strings.  The translated strings are then available in the language pack itself.  Also see:

In reply to Gareth J Barnard

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thank you Gareth for the information. But we are talking about the new version that still in Beta and I don't know when will be published yet. For now, the new version has about 500 strings more than the existing.

If someone want to start the translation then can do it now using the lang file and import the file to AMOS later (or share it here and I will upload it if don't have an account).

Personally I prefer this procedure because I work better with my editor than the AMOS page.

 

In reply to Fernando Acedo

Re: BCU Theme support

by Ricardo Groiso -
Hi, Fernando

I have
already installed the previous version. When I tried to install the beta version, error gave the name of files to the root Fixing in hand, it still does not install as an upgrade in the previous version, only deleting the previous version.

Any change
can send me that I test here.

In reply to T K

Re: BCU Theme support

by T K -

anyone knows how to remove the "all folders" link from the frontpage?

In reply to Jez H

BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Alexander Lebeth -

I migrated our moodle instance to a local development server and everything is working except one thing: because the site logo is not displayed, I went to 'site administration > appearance > themes > bcu > header' to check settings, but it is not possible to reach the settings. There's a message shown 'Can not read file, either file does not exist or there are permission problems'.

Since everything else is working, I dont't know what to do!

In reply to Alexander Lebeth

Re: BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Did you move the moodledata folder also?

This error is displayed when moodle tries to find a file that can't be located, in your case the logo image. If you move a moodle site must move files, database and moodledata. This error is not related to BCU theme directly.

 

In reply to Alexander Lebeth

Re: BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Dan Noonan -

We also have the same error in the Header section of the theme. 

I believe it has to do with information that goes to the 'data' directory. We had a problem that required us to rebuild that directory and ever since have had the exact same problem.

Maybe this extra info could help in finding a resolution?

Great theme, great support. We would never think of leaving this theme.

Dan

In reply to Dan Noonan

Re: BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Alexander Lebeth -

Dear Dan, what do you mean by "rebuild that directory"? How can I do this?

In reply to Alexander Lebeth

Re: BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Dan Noonan -

Hi Alex,

Well, I have a server that we do tests with. Copied over its data directory to be used by the server that I had mangled. But there is enough difference (so it seems) that everything did not work. For example, my language pack stopped fully functioning. All my fault, as I had backups of the html server and the database, but not the data directory location.

A reinstall of the language pack had the same affect as a reinstall of the BCU theme had. As in it still did not function completely. So there appears to be other 'stuff' going on (way above my level of understanding) with the core interaction.

Why does the error show up only in the header section? My low level of understanding would say a reinstall of the theme should restore functionality.

I turned on debugging at nothing showed up either.

Sorry I cannot be of any help to you. Unless someone sees this and has a 'ta-da' moment.

Regards,

Dan

In reply to Dan Noonan

Re: BCU header not editable after server migration: "Can not read file, either file does not exist or there are permission problems"

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

To fix the problem in BCU:

  • Open the moodle database with PHPMyAdmin
  • Select 'config_plugins' table
  • Find 'theme_bcu' in the plugin column
  • Find 'logo' in the column name
  • Remove the value

You should be able to enter the settings page now. Add the logo image again and will works.

This fix the theme problem. If you have more files in the site they will be lost if you can't recover the /moodledata folder.

In reply to Jez H

Re: BCU Theme support

by Dirk Meyer -

A fantastic theme that opens up real possibilities for us.

A question: Could the 'This course' dropdown have a 'Course Home' link possibly? We generally define topic zero as the course home page. We disabled the Moodle breadcrumb trying to avoid double and sometimes tripple horizontal menus (when using certain course formats) . We like to be able to offer in addition to the navigation block to access the course 'home page'. The 'This course' dropdown seems ideal for this we think.

Below is an example of what the 'Course Home' would link to

https://ourmoodleURL/course/view.php?id=10510&section=0


Thank you very much.

In reply to Dirk Meyer

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Dirk,

it is not expected to add this feature because the menu is used for the course activities not as a topics list.

An easy solution could be to add an HTML block with the link to the course or you can use this block: https://moodle.org/plugins/block_course_contents

 

.

In reply to Fernando Acedo

Re: BCU Theme support

by Ricardo Groiso -
Hi,

Suggestion

Setting
the Appearance -> Theme -> BCU -> Courses of the homepage, should have an item enabling the visualization of link direct course to the summary of the course without being redirected to the login screen. Only used for visitors.

Ricardo
In reply to Ricardo Groiso

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Ricardo,

thanks for the suggestion. This could be a nice feature. We will keep in mind.

 

In reply to Fernando Acedo

Re: BCU Theme support

by Dirk Meyer -

Thanks for the explanation Fernando.

Maybe another option could be to use the 'Current Course' link from the existing navigation block as a separate item next to 'My Courses', 'This course', 'Course Home'. Doing so would allow us to teach our users (K-12) to focus on three tabs on the menu to find and drill down into their courses.

Thanks

In reply to Dirk Meyer

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Dirk,

I think I understood why you would like the course link in the 'This Course' menu.

In fact this menu is a copy of the navigation menu so I think that could be easy to do. Will keep in mind for future releases. Thanks for the suggestion.

 

In reply to Jez H

Re: BCU Theme support

by T K -
1) Is it possible to change the colors for block & the block header?

2) How do i set the frontpage blocks to appear in the middle, arranged horizontally?

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

1) In the existing version you can change the block box and header modifying CSS as usual. The new Beta version have this feature included.

2) The blocks area is divided depending the number of blocks. If you want to add horizontal blocks, use the Info Boxes.

In reply to Fernando Acedo

Re: BCU Theme support

by T K -

I am new to CSS, is there somewhere i can find the guide to accessing the CSS for BCU?

In reply to T K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

BCU CSS files are located the style directory inside the theme like any other moodle theme.

You need to use Firebug or Web Developer tools to find the style and change it using the Custom CSS box. Do not apply the changes directly or an update will overwrite the changes.

In reply to Fernando Acedo

Re: BCU Theme support | Logo question

by Derek Chirnside -

I got the suggested size from here: https://moodle.org/plugins/theme_bcu (Thanks Fernando)

The default logo is 185x55px and the max. width is 250px

But when I use this it is positioned like this:


Just asking: it seemed a bit unusual to have a logo aligned top like this, and not to be the whole height.

Is this a feature or a bug?

I'd probably like the text lined up - or maybe make a fuzzy bordered logo.

I really like the simplicity of your Moodle at BCU.  http://moodle.bcu.ac.uk/

-Derek

In reply to Derek Chirnside

Re: BCU Theme support | Logo question

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Derek, in my dev and test site and I see the logo with some margin.

I'm using an image with a size of 170 x 80px and looks well.

In reply to Jez H

Re: BCU Theme support

by Ajay Kumar -

Hi,

I Have added one video in Front page block  in  BCU Theme from admin panel (using tiny mice editor ) but in admin panel link is displaying well. 

But in front end the URL is coming like brokenfile.php example:

<video width="100%" preload="metadata" id="yui_3_17_2_2_1449659988646_81"><source type="video/mp4" src="hostname/brokenfile.php#/5/user/draft/150451661/Home%20Page-Friction-Block%20on%20Inclined%20Plane-1.mp4"></source> </video>


Please Help ?


In reply to Jez H

Re: BCU Theme support

by Chris Pratt -

Hi

Great theme! Installed on my test server and done a few tweaks. But having an odd issue with the breadcrumb when going a few levels down (see pic). 

Any help appreciated

Thanks

Chris


Attachment bcuissue.png
In reply to Chris Pratt

Re: BCU Theme support

by Chris Pratt -

This seems to only happen on one course I've found so far and looks like this on a the clean theme (see below). Somehow a blank part of the breadcrumb trail is appearing?

Attachment bcuissue2.png
In reply to Chris Pratt

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Chris,

it is clearly a moodle issue not a BCU issue, but to find the real problem would will help a full screenshot and the URL to see what page are you.

 

 

In reply to Fernando Acedo

Re: BCU Theme support

by Chris Pratt -

Yes I agree Fernando, it does appear to be the case. It occurs when browsing to a forum on one particular course. The URL is: http://vle.wilberforce.ac.uk/mod/forum/view.php?id=29899

Not sure why the breadcrumb trail has two section points together with no 'name' between the two?

In reply to Chris Pratt

Re: BCU Theme support

by Just H -

Would that forum be in a topic with no name by any chance?

Average of ratings: Useful (1)
In reply to Just H

Re: BCU Theme support

by Chris Pratt -

We have a winner! Yes it sure is smile

In reply to Chris Pratt

Re: BCU Theme support

by Just H -

Thought it looked familiar. We hit this issue a while back and "meant" to look into it in more depth and raise a bug report if required ... but after applying a hack to fix it in the theme we use, I guess with the workload, that intention fell off the radar.

I'll have a look when I get to work again tomorrow (not sure how dirty the hack was) and get back to this thread.
In reply to Fernando Acedo

Re: BCU Theme support

by Just H -

Hi Fernando

As I mentioned we noticed this issue when we where testing another theme (Essential) so not sure how much use the following is. We tracked the issue down to it being a topic without a name(which from memory was actually just a space). Our hack to hide the blank breadcrumb was to add the following to the custom.js file (called from the footer):

if (window.jQuery) {
                $(window).load(function(e) {
                                M.util = M.util || {};
                                $('.breadcrumb').find('li').each(function() {
                                                if (!$(this).find('a').length) $(this).css("display", "none");
                                });
                });
};

Regards

H


In reply to Just H

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi, 

I was looking at the BCU theme and noticed some coding errors that seemed to stem from misplaced " or ' depending on how they were being used. 

The file s the core_renderer, so perhaps you need to go through this with a fine toothed comb To find the bugs.

Cheers!

Mary

In reply to Mary Evans

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

For the moment there are no plans to fix issues in 1.3.1.

There are a Beta version available in BitBucket where all these bugs are already fixed

In reply to Just H

Re: BCU Theme support

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi H,

This is pointless:

M.util = M.util || {};

And the way it is loaded outside of AMD makes it susceptible to being run before jQuery is loaded.

It is a common trick to use a space for an empty topic name, so far better to not output in the first place here: https://github.com/gjb2048/moodle-theme_essential/blob/MOODLE_29/classes/output/core_renderer.php#L100-L104 - something I'll think about.

Cheers,

Gareth

In reply to Jez H

BCU Theme and Turnitin Bulk Download

by Bill Steele -

We are using this excellent theme but an issue has arisen with Turnitin and its latest plugin. When you attempt to do a bulk download of student submissions the drop down menu to allow the selection of the original files or customised list does not appear. The menu does appear using Clean or More

Bill

In reply to Bill Steele

Re: BCU Theme and Turnitin Bulk Download

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Bill,

could you provide some screenshot?

In reply to Fernando Acedo

Re: BCU Theme and Turnitin Bulk Download

by Bill Steele -

We have just found that if you click the Download button and then click on a blank section of the page then the menu appears.


In reply to Bill Steele

Re: BCU Theme and Turnitin Bulk Download

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

As far I can see, the tabs are not part of the theme and Turnitin should use BS to display the content. The download button looks out of place in the images.

I can't setup a test environment with Turnitin for now then I can't test it. I will add it as a task to the issues tracker and will be tested soon.

Thanks for your testing and comments.

 

In reply to Jez H

Re: BCU Theme support

by T K -
Is there any way to remove the 'search courses' box from the header bar? Ive tried some other solutions on moodle forum but nothing helps so far.
In reply to Jez H

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Remove the default logo and add this code to the custom CSS box:

.pagelayout-frontpage#logo {
    background-image: your_image_path
}

It should display the logo only in the frontpage.

In reply to Jez H

Feedback ?

by Clément Prudhomme -
Picture of Plugin developers Picture of Testers

Hi,


Are you interested by feedback ? In my case I did little modifications on your theme to adapt it to user feedback. I can share them on Bitbucket or here if you want.

Regards.


Clément

In reply to Clément Prudhomme

Re: Feedback ?

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Clément

Could you share what modifications did it?

Then will take a look and will glad to add it.

Merci beaucoup.

 

In reply to Jez H

Re: BCU Theme support

by Dee K -

Hi there,


I'm really loving this theme. Thank you very much for making it.

I have recently installed and started knowing in and out of this theme. As this theme doesn't come with social media links integration settings, thought of doing it on own. I was searching for good social icons and found a great site which generates css and html code. The site is http://perfecticons.com/ .

I'm finding it hard in getting the code on to my site. I tried adding the css to custom css, html code to footer block and icon files to pix folder but nothing seems to work. I can get the block with only colors and no icons.  Please guys help me.


Thank you

In reply to Dee K

Re: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

If you download the latest version of the flexibase theme, one of the parts of the theme is a 'plugins' folder and one of the features in that folder is the social icons.

There are instructions in that folder of how you can add that feature into any other theme, such as BCU/Clean/etc

You don't have to install and use the flexibase theme, just extract the /flexibase/plugins/social folder, add it to BCU as the per the instructions in the ReadMe file in that folder and add the required links to the relevant files, again as per the instructions.

Richard

In reply to Richard Oelmann

Re: BCU Theme support

by Dee K -

Hi Richard,

Thank you for your quick reply. To be honest stuck exactly where I'm stuck when I was trying to do perfecticons.com thing.

First I'm not expert in php,html or css but some how I started learning things few months back and still getting on it.

I can do all the folder copying and know the directory structure. But coming to adding paths and linking files is very hard for me to understand. 

If you don't mind can you please guide me on how to link and add path. For example say I need the social icons block in one of the four footer blocks of the bcu theme. Base on this please guide me how to do it.

Thank you.

Dee

In reply to Dee K

Re: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Ah - the code from the flexibase doesn't go in a block, it goes in the layout files of the theme (or at least the bit that displays the icons does, the rest of it goes according to the instructions in the readme file to create the settings, language file etc)

OK, taken from the readme file for the social icons:

1. BCU already has fontawesome so there is no need to add the cdn again

2. Where you want the social icons to appear in the layout - note this is not suitable for adding into a block it has to be in the theme layout file

    require($CFG->dirroot .'/theme/bcu/plugins/social/social.php');

3. In the language file - probably just beofre the end of the file

    require($CFG->dirroot .'/theme/bcu/plugins/social/sociallang_en.php');

4. In the settings.php - just above the final $ADMIN->add('theme_bcu', $temp); bcu has a single settings page so you need to use the alternate settings file

    require($CFG->dirroot .'/theme/bcu/plugins/social/socialicons_settings_alternate.php');

If you want to add the social icons into a block then I would suggest a different approach. Simply download a set of icons from somewhere like iconfinder, add them as images to the block and make them hyperlinks to the various social media hyperlinks. Its simple and effective and can be done in a block without adding anything to the theme itself.

In reply to Dee K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can add easily the icons from perfecticons site in the footer.

 

1. Add the CSS from perfecticons in the Custom CSS Box

2. Add the HTML code in one of the footer section available in the Footer settings.

 

Beta version already include the icons based in Font Awesome in the header.

 

In reply to Fernando Acedo

Re: BCU Theme support

by Dee K -

Hi Fernando,

Thank you for your reply. Could you please tell me where I can get the beta version?



In reply to Jez H

Re: BCU Theme support

by Dee K -

Guys,

I'm now seeing this notification. 

Enabling the PHP setting display_errors is not recommended on production sites because some error messages may reveal sensitive information about your server.

what should I do now. I'm using godaddy shared hosting. I can't find the php setting.

Thank you.

In reply to Dee K

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is not related to moodle or themes.

In a shared hosting you can disable the display errors adding or modifying the .htaccess file in the root folder:

Add this line in the file

php_flag display_errors off

And the warning will not displayed

 

In reply to Jez H

Re: BCU Theme support

by Suryo Danar Saputra -

Hi, Jez

Let me introduce, My Name is Danar from Indonesia

I just want to ask, why my footer section 1 have a different appearance than other just like this pic below


The footer 1 section title was not appear sad


Please, Help me to solve this problem.

Thank You


In reply to Suryo Danar Saputra

Re: BCU Theme support

by zam zam -

Hi

You probably work with older version. Updat to Latest version

In reply to zam zam

Re: BCU Theme support

by José David Moreno Posada -

Hi,

I have the version 1.3.1 2015070100 as you can see in the picture below 



In reply to José David Moreno Posada

Re: BCU Theme support

by Jez H -

Hi Jose,

That is a known issue in the version here on Moodle.Org.

I have a fix for that somewhere but no longer work at BCU and cannot update their repository.

Myself and Fernando just released a Fork of BCU which you can see here:

https://moodle.org/plugins/theme_adaptable

If you try that instead you will see it has many more features and is being actively developed.

Average of ratings: Useful (1)
In reply to Jez H

Re: BCU Theme support

by José David Moreno Posada -

Thanks for you help, I'm going to try it. 

Have a nice day!

In reply to José David Moreno Posada

Re: BCU Theme support

by Jez H -
Ok, well if you have any questions just post then in the support thread for that theme.
In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

Hello

I am using the BCU theme v1.3.1 in Moodle 2.9. 

In the Navigation settings, if 'Default Home page for Users' is set to Dashboard


both the  link to the Dashboard page. 
When 'Default Home page for Users' is set to Site, Home links to the Site Home, and Dashboard links to Dashboard.
Is there a way of setting this so that Home links to site home when default home page is set to dashboard? 
Thanks
Jo



In reply to Joanna Beaver

Re: BCU Theme support

by Jez H -

Hi Jo,

This theme isnt really being supported / developed at the moment but another ("Adaptable") which is based off it is pending review in the Moodle.Org plugins database, I am hoping it will be approved next week, assuming HQ dont find any major issues with it.

Adaptable has the feature you are looking for.

You can see a demo here: http://3-bits.com/demo/adaptable/

Download the latest version here: https://bitbucket.org/covuni/moodle-theme_adaptable/get/master.zip

Report bugs here: https://bitbucket.org/covuni/moodle-theme_adaptable/issues?status=new&status=open

Average of ratings: Useful (1)
In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

Hi Jez

Adaptable looks great smile 

I have spent quite a while setting up my site around the BCU theme so will stay with it for now smile Is there anything that I can do to fix it so that Home links to site home when default home page is set to dashboard? I guess it is somewhere in the coding (I am not a developer)? 

I would really like learners to log into the dashboard if possible but can leave it set at site if no easy fix. 

All the best

Jo

In reply to Joanna Beaver

Re: BCU Theme support

by Jez H -

Hi Jo,


You will need to edit line 315 of /bcu/renderers.php changing it from:


 $branchurl   = new moodle_url('/');
 to

 $branchurl   = new moodle_url('/?redirect=0');
 
You will need to re-apply this change should the theme ever be upgraded.

If you are going to do this on your PC then https://notepad-plus-plus.org/ will let you find the line and edit the file.

Average of ratings: Useful (1)
In reply to Jez H

Dialog window out of viewport in firefox

by Alexander Lebeth -

If you are using firefox and want to delete for example a file in a course, then in some cases the dialog window is appearing partly out of the viewport and it is not possible to scroll to the button and click them.

See screenshot attached:dialog window out of viewport

In reply to Alexander Lebeth

Re: Dialog window out of viewport in firefox

by Jez H -

Hi Alex,

I not longer work at BCU, do not have write access to their GIT repository to fix things like and we cannot really support this theme any more.

What we (myself and Fernando) have done is to fork the theme which adds many new features and improvements which we have released as a new theme called "Adaptable".

You can download that here on Moodle.Org:

https://moodle.org/plugins/theme_adaptable

I would suggest you try switching to that theme which is being actively supported, and being based on BCU will allow you to keep whatever layout you have now whilst benefiting from MANY new features.

In reply to Jez H

Re: Dialog window out of viewport in firefox

by Alexander Lebeth -

Yes, i saw the new fork an hour before and since there's an upgrade instruction from bcu to adaptable, I think we'll give it a try! Thank you!

In reply to Alexander Lebeth

Re: Dialog window out of viewport in firefox

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Can you not click and drag the box back to the top of the page?

In reply to Mary Evans

Re: Dialog window out of viewport in firefox

by Alexander Lebeth -

No, even when the windows appears in the middle of the screen, it's not possible to drag the window around.

In reply to Jez H

Re: BCU Theme support

by Joanna Beaver -
Picture of Plugin developers

Hi Jez

I seem to be missing the 'Preferences' link from the drop down menu next to my name when logged in so cannot access the screen to subscribe to Event Monitoring rules. 

I guess there will be no fix with the theme now not supported? sad

I have seen that there is an upgrade instruction from BCU to Adaptable - does that retain all of the BCU settings/colours, i.e. (forgive my naivety here) after upgrade will it be configured the same or will I need to re-do it from scratch? I would like to retain that layout and I also have a lot of work hidden in guest courses attached to the front pages (application forms, and course info pages). 

A slight tangent but the slider in Adaptable only contains two images - can that be changed to 5 as in BCU?

Best wishes

Jo



In reply to Joanna Beaver

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

BCU has all the issues fixed in a Beta version available in BitBucket:

https://bitbucket.org/covuni/moodle-theme_bcu

You can see in the issues tracker all the fixes done.

Or you can upgrade to Adaptable. The process is easy and as indicated. You can keep almost all the data. Only the images uploaded using themes can not be updated because are located in moodledata.

Follow the instructions https://moodle.org/mod/forum/discuss.php?d=326470

Adaptable allows up to 12 slides. I don't know why you say only 2 because always had at least the same than BCU. And that's only one of the many features included.

My advice is to create a test environment and try Adaptable.



In reply to Jez H

Re: BCU Theme support

by Chaya Gordon Burstyn -

I have taken over work on a moodle site that was created by someone else.  It seems to be using the BCU theme, but the banners etc on the homepage are all in teal (see screen shot), how do I change that color on the homepage?  I am not a developer and don't know code very well. Thank you.


In reply to Chaya Gordon Burstyn

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Colours can be changed in the administration. The banner probably is the infobox and can be changed using CSS. The screenshot is not complete so I can't give you more information.


In reply to Fernando Acedo

Re: BCU Theme support

by Chaya Gordon Burstyn -

Does changing something in CSS require coding?  I am not a developer.  Here is a screenshot of the entire page, does that provide you with more information?  Changing the colors in the appearance menu does not affect those green borders, that is what I am trying to change (the logout button, featured courses, upcoming courses, etc, everything in green).


In reply to Chaya Gordon Burstyn

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

BCU has many settings to change colours. You must change all the needed to get the desired design.

I recommend you to upgrade BCU to the latest Beta version available in BitBucket: https://bitbucket.org/covuni/moodle-theme_bcu/get/a26fc63b372e.zip

And the best choice is to move to Adaptable where you can change from the administration all the colours. Remember that BCU has NO MORE support.

In reply to Fernando Acedo

Re: BCU Theme support

by Chaya Gordon Burstyn -

Thank for you for the suggestion.  I downloaded the zip file for Adaptable, but when I try to install it and choose "theme" as the plugin type I get this message

invalid Plugin type location /var/www/html/course/theme is not writable
Can you please give me some added direction on who to install the Adaptable theme?

Thank you,

Chaya

In reply to Chaya Gordon Burstyn

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The error message is very clear. Change the permissions of the theme folder.

Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: BCU Theme support

by Chaya Gordon Burstyn -

I am very new to Moodle, and not a developer.  Can you explain to me the steps I need to take to change the permissions of the theme folder. I have tried, and searched the boards but cannot figure out how to do it.

Thank you.

Average of ratings: Useful (1)
In reply to Chaya Gordon Burstyn

Re: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

That will depend on how your site is hosted - Linux or Windows, shared hosting, VPS or dedicated server, the hosting admin system (CPanel etc), what kind of access you have to the folders (ssh/ftp), rather than Moodle. So you would probably need to speak to your website hosts about that.

In reply to Chaya Gordon Burstyn

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi, If you upload the zip file for the Adaptable theme, offered in this forum, then it will not work as the ZIP file is wrong and should not be used unless you unzip it first and then rename the extracted file to adaptable

After doing that you should compress it into a zip file and then upload it to Moodle.

There should be no reason for you to alter your server files as most companies have these set up.

In all the years I have been working on with Moodle I have NEVER had to alter Moodle file permissions.

So sorry you are having so much trouble.

The Adaptable theme is a fast changing theme so you may experience a few more bumps on the way.

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Mary,

While the zip file may well be incorrect and needs to be sorted out (or at least ensure that the version linked from the plugins database is used rather than the early link Fernando gave before it was actually released. Just like github, bitbucket branches like the master one linked to in the one post that announced that adaptable was 'coming soon' tend to give incorrect folder names but I think the released zip in the database looks fine), the error message above clearly states that the folder is not writable. The UI gives this error before it even tries to upload and extract the zip, so the advice to check folder permissions to allow the front end UI to permit the installation of the theme from the front end is valid.

I have installed Moodle in a number of different situations and while (like you) I have never had to change permissions on my own installs (I set them up as 777 in the first place on my test servers), I had to get our IT team to change permissions on the server in work to allow the plugin UI to work when that first came out (I believe they had made them more restrictive themselves after the initial installation in line with what they believed to be server security - I still had ssh/ftp write permissions to the folders but the front-end UI didn't) and have also often had to change permissions on sites that have been set up using web-host 'automated' solutions.

In reply to Fernando Acedo

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Fernando,

It is also very clear to me that the Adaptable ZIP file offered in this discussion is not the easiest of things to manage, especially if you upload it directly into Moodle as it does present the user with errors that they cannot control.

So to that end then , could you please ensure that the link to the theme is at least a workable version?

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Mary,

not sure why are discussing about Adaptable in the BCU thread. Anyway, the first line of this thread is very clear and takes you to the Moodle plugins Directory and not to the repository.

If you download BCU or Adaptable from its repositories then you should know what you are doing and take the risk because it means a non stable version. In the case of BCU is still more risky because is not a maintained version and any bug found will not fixed.

But the problem indicated is in any case a theme problem as Richard and I explained before. The error message is very clear:  the /themes folder is not writeable (probably one of the clearest error messages that moodle can display)

So it is a server side problem that must be fixed by a system admin if the moodle admin has not enough skills or simply has no access to the server.

And believe me, the error is very common in some servers or configurations. Not all the servers are identical and they don't share the same configuration. A common issue related to permissions when you upload the files is keep the FTP user as owner (which is different of the apache user). In this case you probably will need to set 775 and 664 instead of the default 755 and 644. I believe this is the real issue in this case. And if moodle is installed in a shared hosting then I would bet a beer for it.

In reply to Fernando Acedo

Re: BCU Theme support

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Fernando,

I was wrong...sorry I had assumed it was the BCU zip listed in the parent discussion from which this thread evolved:

https://moodle.org/mod/forum/discuss.php?d=276325&parent=1331326

So many discussions threads...

I better leave you to it then. smile

Cheers

Mary

In reply to Mary Evans

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

No problem Mary. But we should try to avoid duplicated threads in order to improve the support.

In reply to Jez H

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Jez H

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

BCU, Essential, Adaptable or any other moodle theme SHOULDN'T BE USED with Joomdle wrapper.

UYou can download the JoomdleBS (https://moodle.org/plugins/theme_joomdlebs) theme from the moodle plugins directory which is intended to be used ONLY in Joomdle sites. This theme has some common parts removed like the login, header, footer, ...

Anyway, in Joomdle, you can enable 2 themes: one for the wrapper and other as moodle stand alone.

Using JoomdleBS will solve the problem.


Average of ratings: Useful (1)
In reply to Fernando Acedo

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Fernando Acedo

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

What code did you add to the config.php?

What config file: moodle or theme?

What moodle version?

What theme is bootstrap_orig?

I think you modified core files and you break the site. No idea what theme is bootstrap_orig and why it is used. JoomdleBS is based in Bootstrapbase as many other moodle themes.

My advice is reinstall all the themes from scratch and only use the themes needed.


In reply to Fernando Acedo

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Did you read and follow the Joomdle documentation?

Did you setup moodle with Allow themes by URL?


A blank page means normally a permissions issue. Turn on debugger to Development mode and post the error.

In reply to Fernando Acedo

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Jez H

Re: BCU Theme support

by ChinhFong Hang -

HI Jez , I just start use moodle and your theme. My problem is I want to edit the slideshow (width and height) can you tell me where to do it????

Thank !

In reply to ChinhFong Hang

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Please, read the first post. BCU theme has no support. Use Adaptable instead.

In reply to Jez H

Re: BCU Theme support

by Daniel Williams -

Hi, I'm running Moodle 3.2.2 with Windows Server 2012 with IIS 8, PHP 7.13, and a fresh database in MySQL 5.7. I was interested in BCU, but after successfully upgrading my database and selecting the theme, I got an internal server error.

What could be causing that?

I know that it's something on my end because you have plenty of folks who are using this theme.

In reply to Daniel Williams

Re: BCU Theme support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

As you can see in the Moodle Plugins directory, BCU was stopped the development more one year ago and forked to Adaptable.

You could see BCU is not compatible with moodle 3.x so it is normal to get errors even internal server  error.

You must upgrade to Adaptable to get a version compatible with many more features. See https://moodle.org/plugins/theme_adaptable

In reply to Fernando Acedo

Re: BCU Theme support

by Sam Geppi -

I am running 2.8 and it is stable with BCU .. 
I was wondering how to make the logo the full size rather than having the log auto-resize ..
yes I know that it is recommended to upgrade to 3.2 etc. - but can you help me render the logo the actual size.