[Adaptable] This support discussion is now CLOSED

[Adaptable] This support discussion is now CLOSED

by Jez H -
Number of replies: 455

THIS SUPPORT DISCUSSION THREAD

IS NOW CLOSED

PLEASE USE THE NEW THREAD

THANK YOU

cheers!

LINK TO NEW ADAPTABLE THEME SUPPORT THREAD

This is the support thread for the Adaptable Theme. Please post queries here as we are subscribed to this thread.
Please make use of the following links:

We hope you have fun with our theme!

(Edited by Mary Evans - Removed link - original submission Monday, 18 January 2016, 2:10 PM)

(Edited by Mary Evans - original submission Monday, 11 April 2016, 1:53 PM)

(Edited by Mary Evans - original submission Thursday, 21 April 2016, 9:54 AM)

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

Re: Adaptable Theme Support

by Mahmut TEKER -

Thank you for this beautiful theme.

I get admin/adaptable/pix/layout.png was not found on this server. Why would this happen?

Moreover, is it possible to make "Header Navbar" sticky when scrolling below. Just an idea it would be good in my opinion.

Best regards,


_Mahmut

In reply to Mahmut TEKER

Re: Adaptable Theme Support

by Jez H -

Fernando is adding a screen shot of the layout to be linked from some admin pages. This is to help users make sense of the settings. It seems he has forgotten to add the image, I am sure he will put that back shortly.

In reply to Mahmut TEKER

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

@Mahmut

the layout.png issue is already fixed. Download the theme from https://moodle.org/plugins/theme_adaptable

About the sticky navbar at the top, we will add it to the To Do list. Thanks for your suggestion.

Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

How can i hide the Login button and the search courses box from the login page only?

Any CSS to direct the login page, or delete the Login form appearing in header from code and the search box.

?


Thankyou for the help


In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Actually there are only two options: button or login box.

We are considerating to remove the button in future versions and then you can redirect the users to a login page or add a login block.

As a workaround you can hide the button using CSS.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

Quiz Navigation doesnot allow numbers greater than two digits to be displayed,

What to change so that numbers greater than 99 are displayed fully

A screenshot is attached


In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Could you try the quiz using Clean theme?

When in the quiz page, could you take a full screenshot?



In reply to Jez H

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Can you move the sections, as shown, for marketing Spot mention at 2 places makes bit of confusion. Either send it down or bring that up - whatever you feel logical.


Also, a small visual guide is definitely needed for there are so so many settings that makes me confused which ones does which, like  in case of Font, I still couldn't figure out which settings will change COURSE HEADER fonts. So something like that could point out which part represents which settings (Like labeling the page(s) with font options etc showing which setting will change which font)


Noticed that "Performance Info" only shows time taken to render the page, can other info be displayed?

Also, is FRONT PAGE INFO BOX is as same as FRONT PAGE CONTENT available in other themes like Essential/Elegance?  ---- Just tested it and it looks like it, but just confirm me!


Once again, well done guys! can say enough about this new addition.

In reply to Usman Asar

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks Usmar, we take note to change the order in the next release.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Jez H -

It is not the order that is wrong but the heading, if you look at the field names they relate to navbar not header.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Hi Fernando, congratulations, the theme is very professional and customizable.

I'm testing and I need to increase the number of slides in the frontpage of 5 more units.

How can I do it?

Thanks.

In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

We will look at making the number of slides definable in the near future so you coud add as many as you needed, at the moment there is no easy way to do it.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Thanks Jez,

I'm customizing my site with your theme, I need to change the expression: "my courses" by "my modules" or "course" by "module".

How can I do it?

It can be done from the custom CSS?

Thanks for your attention.




In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

@Diana,

Open /lang/en/theme_adaptable and change "My Courses" in line 916.

"Courses" is used in many strings so you need to find and replace manually. Don't do it automatically.

In reply to diana palacios

Re: Adaptable Theme Support

by Just H -

Rather than change in the theme files (which would get overwritten on upgrade and therefore you'd need to redo them every time) customise the language strings the recommended way which carries over regardless of upgrades.

Average of ratings: Useful (1)
In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

You should use Moodles languave customization.

Search for the variable "mysites" and you should find it:


Average of ratings: Useful (1)
In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

The latest version (linked at top of this page) allows you to select the number of slides you want to use. It has a few more improvements in there too.

It would be good if you could test this.

Latest version here: https://bitbucket.org/covuni/moodle-theme_adaptable/get/master.zip

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Thanks Jez, Fernando, for their previous contributions, with this update the theme is very nice, congratulations.

In slider style 2, on my smartphone, I see a label with text below the corresponding slide, I think it's called h3, this is color “white”, I can change the color of the label, e.g. “transparent”.

How can I do it?

Thank you for your attention.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can enter any valid value for a color, so transparent can be used instead the Hex value or any other valid format colour.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Jez H -
There isnt a color picker for these slider elements at the moment, they are hard coded in slider.css, I will add them.
In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Thanks, I forget to ask about the following changes:

1. Change color of infobox 1 and 2 of promotional blocks.

2. Change the time of transition the slides.

3. Change color the slide navigation button in slider style 1.

4. Change color the label below the slides in slider style 1.

Thanks for your attention.


In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

3 and 4 are were done last night, there are now color pickers in the slider settings.

If you have not done so you can download the latest version (link at the top of this page).

If you swtich between different sliders then different color pickers will appear so save in between selecting the type of slider and updating colors.

I will take a look at 1 and 2 at some point but want to sort out a few gripes and get the next release out first.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Hi, Jez

I tested the version yesterday and today and I can not see changes color (bg, text, submit and button slider down slides) by H3 and H4, both for style slider 1 and style slider 2.

Thanks for you attention.


In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

Can you dowload the updated version from the Plugins directory and purge all caches (under admin/development).

Were you saving the page between switching, by that I mean select "slider 1", go bottom of the page and save. Select slider 2, go to the bottom of the page and save.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -
Hi Jez, I followed your advice, download the latest version of the plugin and purge all caches, but still can not change the color of the labels and text for that they look transparent or of other colors on my mobile and my laptop, it may be because I'm using mood 3.0.0 instead the current version 3.0.2+. 


Thanks for you attention.

In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

I just tested on Moodle 3.0 again and it was ok.

Are you pasting the code snippet using HTML view in the text editor?

Can you send me a screen shot of the admin settings and of the front page where it is supposed to be displayed?

Better to attach those as a file to save space.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Hi Jez,

I thought I could change the colors of the labels h3 and h4 in both styles 1 and 2, without using html. Because when I use html the white space generated in mobile it gets bigger and it's what I wanted to avoid.

I attached some snapshots of slides in mobile without html that is what I wanted to change of color indicated in red by h3 and analogously by h4.

I apology for the trouble.

Thanks for you attention.


Attachment Query.png
In reply to diana palacios

Re: Adaptable Theme Support

by diana palacios -
Hi Jez, I need your help, I am testing the new version of its theme and now when I drag a slide to its corresponding area, indicated me that my browser does not support drag and drop, although I'm using the latest version of Chrome and Mozilla with updated plugins to drag and drop. In previous versions this warning does not appear.

I have tried everything and can not be loaded slides.

I need to install software or plugin mood to do it?

Thanks.


In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Diana,

did you test it the drag and drop, for example to upload a picture to your profile?

I personally use FF and Chrome and the drag and drop works well. And  in any case this is a moodle element, not an Adaptable or a theme element.



In reply to diana palacios

Re: Adaptable Theme Support

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

Just to say, I tested the new version and have no problems adding drag and drop images to slides.

I would suggest testing by:

1. While in Adaptable, go to your user profile and check whether you can drag and drop an image into your user profile image (as Fernando suggests)

If there is still a problem

2. Change theme to Clean and test the same thing

If there is still a problem, remove any other 3rd party plugins you have and test again. If it works then, add the plugins back in one at a time, to see if (and which one) is potentially causing the problem.

At each stage you should use your browser tools to check whether there is a javascript error.

In reply to Richard Oelmann

Re: Adaptable Theme Support

by diana palacios -
Thanks Fernando and Richard, I will follow your advices and if necessary I will reinstall my moodle. 

Regards.

In reply to Jez H

Re: Adaptable Theme Support

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

Jez,

I have started preliminary testing of your latest release.  Before I start my list of requests, let me just say that this is one of the most exciting Moodle Themes I have seen in a long time.  (Not that there are not some great ones out there but this theme just really appeals to my design sense).

I have only just started but thought I would get this thoughts out before I dig any deeper!

1.  The marketing spots.  Love the look and the layout.  But would really love it if you could make them link to url of choice (my thought is that that is the purposing of marketing spots - to show the user something or somewhere else..).  Bas in Elegance made the whole marketing block a link which is an awesome feature and on the settings page, there is place to put the url.  Also, the Enable Marketing Blocks check box does not seem to work.  Marketing blocks show up when it is not checked??  Also, they do not adjust height consistently.  Again, in Elegance, when you expand one of the marketing spots to have more content, the height of the other ones adjust as well.

2.  The block layout builder.  This might be one of the most powerful additions to this theme.  Great layout builder (you might want to add somewhere on the settings page that you have to save changes before the preview will show you your specific layout).  Also, for the very anal of us, I would like the option to have a consistent height for the blocks in the same way I requested for the marketing spots.  Currently they just adjust to the size of the content which might work for some, but I think they would look better all the same size even if there was white space in the block itself.  If you were to do that, perhaps having the height default to the largest block in the row would be a good solution.  That way you wouldn't ever get content cut off but you would be able to have tidy rows.

See the image below to see what I mean.

Thanks again for all the work on this!

Average of ratings: Useful (1)
In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma,

did you take a look to the README.txt file included in the theme?

You will find there some code snippets for the marketing blocks where you can create the same styles that the demo site shows.

A simple HTML and CSS will create your own design.

About the links, just add a Bootstrap button. You can find the information, and how it looks in Adaptable, in the demo site. In the top menu you can find Theme Features > Typography with several buttons samples. It's really easy to add a button with the same theme style.






In reply to Fernando Acedo

Re: Adaptable Theme Support

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

Yes, I did look at the readme.  

I did figure out that display:flex will adjust the marketing blocks height and I can add links.  Just find it a little cleaner in the Elegance style and easier to set up.  Nothing wrong with wanting it all in one theme, right??!!!

I have yet to figure out a fix for the height issue in the blocks -hopefully someone else might and could post it?

In reply to Emma Richardson

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Yeah! Manual Returns clown

That's why I always preferred manual transmission over automatic, gives you more control.

In reply to Emma Richardson

Re: Adaptable Theme Support

by Jez H -

Hi Emma,

What is it that makes elegance easier to setup?

I will load those code snippets conditionally in admin, so when you choose a given styule it will give the html code for that settign in admin.

I will also add notice to "save" you mentioned in another post.

In reply to Jez H

Re: Adaptable Theme Support

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

I am just being lazy about the urls but also realize that a lot of people don't want to drive manual, as Usman puts it!  Even though it gives you more control...and we do all like control!!  I was really thinking more big picture as a theme that is basic user adaptable...not so much that I couldn't put a button in with a link attached to it...more that there are a lot of people that wouldn't know how to do that and wouldn't have time to learn!

Several other themes use the marketing spots primarily as url's and so the settings have a url entry place and then the marketing spot or the marketing spot header just link to your url without having to pull out the a href code etc..

As for the consistent height, I put in an issue on bitbucket and am discussing with Jeremy too.  That is something that I think should be part of the theme.  I believe that the marketing spots and the blocks in a specific row should all be the same height...it would be cleaner and not so disjointed...

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
Emma,

this is a sample of the code used in the demo:

<div style="text-align:center; background: #ffffff; height: 240px; padding: 7px;">
    <i class="fa fa-font fa-5x"></i>
    <h3 style="color: #333333;">TITLE</h3>
    <div style="text-align:center;">Add your text here</div>
</div>

Add the height in the container div and all the blocks will be identical. Just find the right height for all of them.

To add a button in a link, add one of these BS samples:

<a class="btn btn-default" href="#" role="button">Link</a>
<button class="btn btn-default" type="submit">Button</button>
<input class="btn btn-default" type="button" value="Input">
<input class="btn btn-default" type="submit" value="Submit">

Adaptable uses the same classes but adapted to the buttons style created in the theme.

Hope it help you.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Fernando, Cheers for the code!

Can you as well update readme file with possible codes, as I assume plenty of theme users (that includes me) will have difficulty hard coding the marketing spots, if possible, a PDF file with images and their code would really be helpful for references.

In reply to Usman Asar

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Usman,

I'm writing some documentation about how to customize the marketing blocks, the info boxes and the footer boxes.

Basically is:

<div style="text-align:center; background: #ffffff; height: 240px; padding: 7px;">
    <i class="fa fa-font fa-5x"></i>
    <h3 style="color: #333333;">TITLE</h3>
    <div style="text-align:center;">Add your text here</div>
<a class="btn btn-default" href="#" role="button">Link <a/> </div>


In the <div> container add the background color and fix the height. The padding willhelp you to beautify the code inside the block.


The <i> adds a Font Awesome Icon. See the list in: http://fortawesome.github.io/Font-Awesome/icons/

The <h3> is an optional title. Change the colour if needed.

The <a> tag  is a link converted in a button.


But the best place to find code snippets is the demo site where you can find all the code using Firebug.

Hope to publish soon more code snippets.




In reply to Fernando Acedo

Re: Adaptable Theme Support

by Rob Skeet -

Hi Fernando!

I have a very strange issue related to above.

I have 3 marketing HTML blocks and used your sample code to populate them.

<div style="text-align:center; background: #ffffff; color: #511F27; height: 230px; padding: 0px;">
    <div><i class="fa fa-laptop fa-5x"></i>
    <h2 style="color: #511F27;">Comprehensive Courses</h2></div>
     <div style="color: #222222; text-align:center; padding: 5px;">Resume Construction<br>Interview Skills<br>Networking<br>Negotiating </div>
<div style="color: #222222; text-align:center;"><a href="/login/index.php">More...</a></div></div>

This works fine in 2 of the blocks but the one on the left (Doesn't matter which one I use)
turns all text into a hot link with an <a href="#" and all the text is a rollover.
I have tried numerous ways to disable this but simply can't .

any ideas?

Also I have 1 slider graphic on the home page with no link but I get the same <a href="#" and can't make it go away even though I have left the link blank in the administrator settings.  

I absolutely love this theme but these 2 little issues have consumed the last 2 days.

Help!

Rob



In reply to Rob Skeet

Re: Adaptable Theme Support

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

Is your site online or on a test server?

if accessible online can you let me have the URL to your site?

you can send in a message if you want to keep it anonymous?

cheers

Mary

In reply to Rob Skeet

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Upgrade to latest version. It fixes a bug related to < a > tags

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Rob Skeet -

Thank you Fernando.

I upgraded to the newest version.

It fixed the issue of the marketing block but  not the slider.  It still has a  <a href="#"

over the whole thing.

Also I have set the help link in the nav bar to go to the client's web site and open in a new window but it

stays in the same window and navigates away from the moodle site.

Help?

In reply to Rob Skeet

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

If you try the latest version from our GIT repo the help link target should work.

You should clear chaches after updating, also turn caching time to 0 in the navbar settings when this otherwise you wont see changes apply for x minutes.

In reply to Jez H

Re: Adaptable 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 Jez, 

Please can you explain to me how the Slider gets from the settings page and into the front page, Try as I might I just cannot figure it out.

Thanks

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

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

Frontpage.php layout file calls the get_frontpage_slider function in renderers.php

echo $OUTPUT->get_frontpage_slider();

That function makes use of the settings (some of them through a loop eg. p1, p1url, p2 p2url, etc)

renderers.php L803-849

which uses some of the settings from /settings/frontpage_slider.php to provide the content.

Some of the other settings are then css and are processed through lib.php using an array from the settings, rather than identifying each individual setting as in most css lib processing (neat and clever way to do it at a first glance - haven't seen that before)

HTH

Richard

In reply to Richard Oelmann

Re: Adaptable Theme Support

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

That's way too complex for me...Its easier to add the HTML for the Carousel into an HTML block and add then uplload inages via  the Text editor..

I think I found an error in the Renderers.php here...

return "<div class=\"$type\">$message</div>";

I thick this is wrong an should be this...

return '<div class="$type">' . $message . '</div>';

Otherwise all the rest of the renderer gets out of sync...notice the lack of coloured code that differenciates between variables and text et. al...see screenshot.

Rendere

In reply to Mary Evans

Re: Adaptable Theme Support

by Jez H -

Hi Mary,

That is not a bug but the fact bit bucket is not interpreting the "\" escape characters properly.

I have just changed this so the color coding does not break when viewed online.

In reply to Rob Skeet

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

Regards your comment:

"I absolutely love this theme but these 2 little issues have consumed the last 2 days."

I would suggest:

  1. You try and set things up on a test server before applying to a live site (if you are not already doing this)
  2. You report issues sooner rather than later, it sounds like there are some bugs we need to look into here
  3. If you are sure there is a but report it in our issue tracker including screen shots / recordings if possible. Screen recordings are a great way to demonstrate a problem if your test system is not available online. You can make them with http://screencast-o-matic.com/home put them in dropbox and add the link into an issue tracker

I will take a look at the issues you report ASAP.

In reply to Rob Skeet

Re: Adaptable 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 Rob,

Thanks for the link and access to your site.

I may be wrong, but I suspect that the problem you are experiencing with the slider is actually a feature in that the image is enveloped by the <a></a> tag. That being so the only way to get this removed is to ask that the link be an option in the setting. It may also be party to do with the fact you did not add a 'caption', but I am not 100% sure of that.

So over to Jez and Fernando for a solution!

Cheers

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

by Jez H -

Hi Mary, Rob,

The way this *should* work is that href should only be present when you add a "slide link url". That feature was added so you could use images in sliders with a link without having to add a caption.

If you are using captions which have a link then you would not want / need to do that as you can add the link in the caption itself.

I will take a look at this shortly.


In reply to Jez H

Re: Adaptable 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 Jez...

Well I can verify Rob, has uploaded a single image with NO URL or Caption and gets an a tag wrapping the image...so something is amiss then.

Thanks for looking at this.

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

by Jez H -
Hi Mary,

This will be easy to fix, I have some other changes half done I need to commit before picking this up, should get it done over the weekend.
In reply to Mary Evans

Re: Adaptable Theme Support

by Jez H -

Hi Mary, Rob,

If you download the latest versoin from Bit Bucket (linked in the first post at the top of this forum) you should find this is fixed now. It will only add that link to the slider if you enter a slider url.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by agus muhtar -

Hi Everyone...

I have disabled "Marketing Block", but it is still appear in the front page. I have difficulties to remove this section (red arrow), since it will appear as "large empty room" when I use my Ipad or phone (screen size: 5,5").

I am a new user in Moodle and I need help to solve this problem.

Thank you very much.

Please visit my Moodle website in: gemanesia.com

Attachment Empty section in Marketing Block2.JPG
In reply to agus muhtar

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Agus, This then must be BLOCK REGION, have you got everything disabled in BLOCK REGION as well?

Average of ratings: Useful (1)
In reply to Usman Asar

Re: Adaptable Theme Support

by agus muhtar -
I have disabled "block regions on the front page" and it works!
Thanks Usman,
In reply to agus muhtar

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Agus,

verify you are using latest version and "Enable Marketing Blocks" setting in the marketing Blocks section is set to Off (unchecked)

Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Adaptable Theme Support

by agus muhtar -

I have disabled "block regions on the front page" and it works!

Thanks for your help Fernando.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Hi Fernando, I tried to link a URL of a PDF file with several marketing blocks, so that when a user clicks block, a popup window will open to read the file pdf corresponding. Linking I did it from the link button (ctrl + k) for each marketing block, also I tried to link with URL of web pages.

What is the procedure I should follow to do so?. I can store the pdf file in my private files or has to be on the front page?

Thanks.


In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

You would need to add it to the front page, you can put it in the hidden blocks region at the bottom of the page. Copy the url once you have addeed it and then add a link to the file in the text editor.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Hi Jez, thanks for your answers,

I configured my zone of marketing blocks with 1 horizontal row of 4 blocks. When I select a block and linked it with the corresponding URL, the block linked move it to the right, pushing the blocks adjacents in the same row, so that the last block of the row moves and located to below of first block, defacing the selected arrangement.

I did my custom blocks in JPG with different dimensions (from 600x600 px to 100x100 px) and in all cases after the executing the link, the blocks in JPG moves to the right.

This is normal behavior of these blocks or I am doing something wrong?

Please, how I can prevent displacement of the custom blocks in JPG, to avoid the moving to the right after executing the link with URL corresponding and preserve the selected arrangement in the zone the marketing blocks?

Thanks.


In reply to diana palacios

Re: Adaptable Theme Support

by diana palacios -
Hi Hez and Fernando, you can give me your opinion respect my consultation.  


Thanks.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Diana, could you install the latest version from Bitbucket and try again?

https://bitbucket.org/covuni/moodle-theme_adaptable/get/master.zip

In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Hi Fernando, I'm doing my custom marketing blocks and I wanted to know, if it is possible to combine the samples BS buttons (that you have cited above) with a png image, if so, how I can move the BS button horizontally and vertically upon png image for center it in anywhere vertical. I tried, but just get put it up and down the image.

Thanks.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Using the image 'alignment' you can position the image around the button (or a text)

This question is more related to CSS than the theme itself. Adaptable , like many other moodle themes, only use Bootstrap as a base.

Any snippet of CSS running in Bootstrap or any standard CSS you can find about this topic should work in Adaptable.

I would need to see what you want to do to give you more details.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Hi Jez and Fernando, good day, I'm setting my site and I want to remove of the drop-down menu the upper right part of navbar main of the account of students, the following items: "edit profile", "private files" and "preferences" for that my students are not distracted of their lessons. I did not find a link or items to turn them off directly. There any way to do it, I can do it from custom CSS?

Thanks for you attention.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can add or remove the items from the User menu in:

Site administration > Appearance > Themes > Adaptable > Header User

In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Thanks Fernando, menu item "my preferences", I can not remove from the "adaptable / header user", check and uncheck the option corresponding. How to proceed in this case?

Thanks.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Diana,

this setting has a bug and can't remove the item from the menu. I open an issue to fix it asap.

Anyway, keep in mind that if you disable this option, the users couldn't change password, language, editor, badges, ...



In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Thanks Fernando, my idea is that the administrator or corresponding teacher, deliver to students a basic configuration according to your requirements, so that students are not distracted by settings and focus more time to their studies, the teacher must manage all items and make corrections necessary, to avoid uncontrolled changes, misconfigurations, lost of information, unauthorized upload files, among others.

Also I wanted to comment following: what should I do for I get a notice upgrade in my web site when a new update of theme adaptable is available, usually what I do is verify moodle plugins page, every so often.

I will wait the theme upgrade, that is very good and nice.

Regards.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can try to disable some features using roles. I just finish a project where students and teachers are unable to change settings and have access only to a few options. Only a manager have some permissions to enrol students (but not unenrol). This is probably the best way to manage a 'closed' site.

From now we will publish new updates in this thread so you will know it before moodle show the warning.

Anyway, you can try the latest version from the repository: https://bitbucket.org/covuni/moodle-theme_adaptable


In reply to diana palacios

Re: Adaptable Theme Support

by Jez H -

Hi Diana,

We just relesed version 1.2.1 in the plugins database which fixes the issue with the preferences setting not working.

In reply to Jez H

Re: Adaptable Theme Support

by diana palacios -

Good day Jez and Fernando, thanks for your previous answers, I have a little problem when I enroll a new student in a course, for example, in the math course, now when any visitor enters the site and browse the courses available, the visitor can see the category (student), names and last name of the students enrolled in the math course. This did not happen previously.

As I can avoid this, I do not know what happened, I try to correct it by editing the student role but does not work, the category (student), names and last name are in sight of all in the math course. Please, what can I do in this case?

Thanks friends.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
Looks like you have a roles problem. The themes do not have control over the courses access.
In reply to Fernando Acedo

Re: Adaptable Theme Support

by diana palacios -

Thank Fernando, please, I want to confirm the working of 03 items of frontpage courses: "Show course contacts", "Show all course contacts" and "Show course contacts role". I have activated and deactivated the options and I do not see the changes on my site.


For who is the term "contact" is someone who is enrolled in a course?

Thanks.

In reply to diana palacios

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Contact means all the teacher roles. So if you want to display the teachers in the course box when hover the mouse then you must enable this setting.

Use the default values to see if only one teacher is displayed in the course box:

Show course contacts
Default: Yes

Show all course contacts
Default: No

Show course contacts role
Default: Yes

These settings will display one Teacher with the role teacher before the name.

In reply to Jez H

Re: Adaptable Theme Support

by Sam M. -

This looks like a great update from BCU! Thank you for your work on it!

I've attached a picture that shows what's troubling us. We have been able to change the link colors to the dark blue that you see here, but I can't find a color setting that will let me change those light green colors. I think I've dug around all the settings, but I must be missing something.

Thank you!

In reply to Sam M.

Re: Adaptable Theme Support

by Jez H -
Hi Sam,

Can you try editing line 115 of adaptable/style/adaptable.css and chang:

color: setting:linkcolor;
to:

color: setting:blocklinkcolor;
then purge all caches.

Note: I cannot get that code to format properly here on Moodle.Org, in the file you will see it wrapped in double brackets. All you need to change is linkcolor to blocklinkcolor.

Please let me know whether that works / causes any other issues. If that is ok we will correct it in the next release.
In reply to Jez H

Re: Adaptable Theme Support

by Sam M. -

Thank you for the help, I found it in the block settings. It was throwing me off because the links are changed in color settings but certain other elements within the blocks are changed within the block settings. When you mentioned block settings I checked there and sure enough...

Thank you for the help!

In reply to Jez H

Re: Adaptable Theme Support

by Rob Brunken -

Anyone?

I could use some help. Is there anyone out there that can help a newbie out with setting up Adaptable? I kind of got thrown to the wolves in my new job and I'm not afraid to say I'm over my head. I would love to use this theme, from what I've seen and read however I don't know even the basics.

Is there some sort of tutorial on the basics of setting up a theme. I think I know what I want it to look like, I just don't know how that translates to the settings.

Thanks.

In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

My advice would be to install the theme with default settings and enable it for yourself in your profile or enable Moodles theme URL switching which will allow you to switch between themes by putting theme=adaptabe, theme=clean into the URL:

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

Thus you can work on configuring the theme without it being live on your site and also show other users.

As you try to configure it if you run into problems post specific questions in the forum and we can help you.

We will be working on documentation for this theme in the coming days.

In reply to Rob Brunken

Re: Adaptable Theme Support

by Derek Chirnside -

This is far too general a question Rob.

Do you have a dev server?  Have you installed Moodle and got Adaptable in there as a theme?  You may then need to upload a few courses to play with.

If so you are ready to start as Jez says.  If you haven't, maybe you just have an existing server and no dev server then the pathway may be a little different.

We need more information before we can really help.

And: have you read any Moodle documentation?

-Derek


In reply to Derek Chirnside

Re: Adaptable Theme Support

by Rob Brunken -

Derek,


Thanks for your reply. I have been able to find my way around (a little). I was able to load the theme without letting all the other users see it, using the ?theme=adaptable extension on the URL. This has been helpful. I am slowly trying to play with settings in order to see how the sight looks. This may take some time for me to slowly go through everything.

I really appreciate how quickly you guys have been on responding and willingness to help out.

I  don't think we have a dev server, but I'm not sure. I've heard that term thrown around, but I don't think for moodle.


Thanks again,

Rob



In reply to Rob Brunken

Re: Adaptable Theme Support

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

Sounds like you are on the right track.  It can take a while to get a new theme just right especially with the multitude of settings but it is definitely worth the time.

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma,

it takes to me about 2 hours to set and test all the settings to create a different style from the default. And then you must add the content, so take it easy wink

I attach a screenshot from one of the beta testers sites we testing the theme in production. In this case I created only the main design and the owner added all the content: text and images.

The icon in the site title can be added using a i tag with the desired icon. See http://fortawesome.github.io/Font-Awesome/examples/ for more information about how to add an icon.

 

 

 

In reply to Fernando Acedo

Re: Adaptable Theme Support

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

Nice job!!  I plan to spend a few weeks with the theme but then I have a million others things going right now too!

In reply to Emma Richardson

Re: Adaptable Theme Support

by Jez H -

Hi Emma,

Check out the layout builder we are working on, I think this may make it easier to setup the front page:


In reply to Jez H

Re: Adaptable Theme Support

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

So those are actual Moodle blocks that you are putting in the Marketing spaces?  Did you read my mind or what???That is awesome.  However, will they then take on the same block settings as the blocks on the side of the page (borders etc...) or can you style the marketing blocks separately?

Any chance of a fixed navbar too???  

In reply to Emma Richardson

Re: Adaptable Theme Support

by Jez H -

Hi Emma,

You cannot style them independently at the moment, but we are working on that. Fernando is talking about making an enhanced version of the HTML block to help with this.

By fixed navigation I think you mean run the sidebar up alongside the marketing blocks? If so I am going to look at that too, it is something the administrator of one of our Moodle sites asked abot, but it would remain below the top slider, if you are using that.

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

Re: Adaptable Theme Support

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

You may be able to through customcss as (if I understand correctly) they are a block region, so that block region should have a class or id identifier to target the blocks inside it - that way they would get restyled while they are in that region, but change back to standard if they are ever dragged back into one of the sidebars smile

In reply to Jez H

Re: Adaptable Theme Support

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

No, I mean the navbar at the top of the page.  Like on this page where you scroll up and the top bar stays static.

In reply to Jez H

Re: Adaptable Theme Support

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

How soon do you think you might release this feature?  

In reply to Emma Richardson

Re: Adaptable Theme Support

by Jez H -
Hi Emma,

If possible I would like to release in the next few days. Would you be willing to help test it? It would help if you could.
In reply to Jez H

Re: Adaptable Theme Support

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

Yes, I would love to help test.  I bet Usman would too!  Just let us know when ready and let us know the git link.  Thank you for all your work on this theme - groundbreaking stuff!

In reply to Emma Richardson

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Touché to that Emma, I had been downloading the version from Git, but I believe they haven't changed the version number in that one, for it shows older release so automated upgrades not possible had to remove and install, and nothing really was changed so thought of waiting for Jez's call on test.

In reply to Usman Asar

Re: Adaptable Theme Support

by Jez H -
Hi Usman,

The link to the master download at the top of the page has these changes in. There is a new admin page "block region builder" (or similar) and the marketing blocks page also has a builder so you can use eithe / both static blocks and block regions.

I had planned to replace static with blocks which is what that video showed but decided to leave both in.
In reply to Usman Asar

Re: Adaptable Theme Support

by Jez H -
Also you dont need to reinstall, just purge all caches. Ill bump the version number later.
In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

You can set Moodle up on your PC really easily to test using the Bitnami installer:

https://bitnami.com/stack/moodle

Make sure to note your password as recovering it is a pain as you have no mail server to recover it using the usual Moodle process.

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

Re: Adaptable Theme Support

by Derek Chirnside -

Is there a setting to get rid of these links:



-Derek

In reply to Derek Chirnside

Re: Adaptable Theme Support

by Derek Chirnside -

Tx for the reply Jez.  Darn it, missed this setting page and I thought I looked everywhere.  

This is great!!  Really powerful choices of upper menus on the home page.  Only one more problem to solve.  The Administration menu scroll of death. (Well maybe not the only next problem)

Off to do other things now.

-Derek

In reply to Derek Chirnside

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Derek,

In the Header Navbar you can show/hide the menu items

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

Re: Adaptable Theme Support

by Derek Chirnside -

Is it possible to choose your banner image at course level?  or category level?

I thought it was, but I may have mistaken the "select course image" setting for this

-Derek.

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

Re: Adaptable Theme Support

by Rob Brunken -

I am trying to set an icon for each of my frontpage courses. So far it looks like I can only put a default image up for all of the courses. I drop a picture in the file upload and it applies to all the courses.  How can I set a picture for each course loaded on the frontpage?


-Rob

In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

You can upload a default image in the theme settings which will show if there is no image for a given course.

Course images are set within the individual course.

Go to "edit settings" in your course and upload an image under the "summary files" field.

You should see that image used in the tiled layout of "My courses" on the front page.

In reply to Jez H

Re: Adaptable Theme Support

by Rob Brunken -

Great! Thank you. I think it's starting to come together. I love the look of my site now, thanks to your theme.


One other question, can I set it up to allow certain users to access the sight, without giving everyone access?

If they use the /?theme=adaptable extension, then I'm guessing they can use it?


-Rob

In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

Yes you can do that. I would give users two links, one to enable the new / test theme and a second to get them back to the current theme.

You can also set the theme for individual users in their profile.

I would be interested to see your site if you have a screen shot?

In reply to Jez H

Re: Adaptable Theme Support

by Rob Brunken -

Jez H,


It's not exactly where I want it yet, but it's coming along.

For instance, I don't know how to get the headers back above and below my marketing blocks.

My top header is huge and I'm not sure how to fix that, but I think I can play around with it to figure out that part.

And I would like to put more menus in the header instead of on the side and the search box in the header.


Other than that, my boss is pretty excited. He thinks it looks great. Many kudos to you guys for helping me get it together. It's been a learning experience. I know my site now better than I ever have.

-Rob

Attachment Screen Capture.JPG
In reply to Rob Brunken

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

@Rob,

the regions above and below the marketing blocks are called Info Box. Verify they are enabled and have content.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Rob Brunken -

So the Infobox above and below the marketing boxes are links to web pages? Or are they marketing blocks (just stretched). Do I need a website to link to?

Attachment Infobox.JPG
In reply to Rob Brunken

Re: Adaptable Theme Support

by Rob Brunken -

I'm not able to get my marketing blocks to have proper spacing and be centered on the webpage. Do they auto size according to the courses windows?

Attachment Market boxes.JPG
In reply to Rob Brunken

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers
if not marketing blocks, then must be front page info boxes, you don't need to provide link in marketing boxes.
Regarding alignment of Marketing boxes, I would recommend waiting a little as things are on the way to be changed specifically in marketing blocks, so try not to put effort now as you may have to re-do the work later.
Average of ratings: Useful (2)
In reply to Rob Brunken

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You are using images and then the spacing you can see is between the images and not the blocks.

Try to add a border or a background to see the result:

<div style="text-align:center; border: 2px solid #000000; padding: 10px;">
    <img src="YOUR_IMAGE" />
</div>

In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Hi Rob,

I am working on a layout builder and other improvements to marketing blocks. I think I will be ready to test tonight / tomorrow.

if you are willing to test that version it would be a help, I could address any issues quickly, post video walk throughs to help you.


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

Re: Adaptable Theme Support

by Rob Brunken -

I would like to do that, but you would have to walk me through that also.

In reply to Rob Brunken

Re: Adaptable Theme Support

by Jez H -

Are you working on a test site or your live site?

I ask as to try the new features you will need to download a verson from our GIT repository (which I will give you a link for). It *should* be ok, we have been testing it but cannot guarantee it.

In reply to Jez H

Re: Adaptable Theme Support

by Rob Brunken -

I'm now working on a live site, but I let everyone know that changes would be coming over the next few weeks. I can switch back if needed, so not a big deal.

In reply to Rob Brunken

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The idea is to keep the theme alive with new features based also in users suggestions.

Thank you for using Adaptable and feel free to write your thoughts here.

Could you share a screenshot from your site? Would be good to see how it looks once finished.

In reply to Rob Brunken

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

They are just full width blocks. But you can add a link or any other HTML tag in the content.

In reply to Jez H

Re: Adaptable Theme Support

by Lester Merklin -

I am very excited about this theme!  I am a Moodle Manager and course developer for 6 related entities.  Although the courses are entered from one site, the different entities have their own courses.   The Adaptable Theme allows me to do a lot of creative work with each without needing to "bother" the technicians who have access to code level.

One item that appears to be missing for our needs, though, seems to be the multi-language filter.  My current courses have worked well with the Adaptable theme on my development Moodle, but since the courses included are in 4 different languages I need to be able to use the multi-language filter on the Front Page so each "Student" sees the welcome and intro in her language. Will this be added?

In reply to Lester Merklin

Re: Adaptable Theme Support

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

The multi-language filter is not part of the theme and (if its enabled on your site) should work on any content area that uses the html editor to add content - it wont work on plain text entry fields (I don't think).

Can you say where on the front page its not working?

In reply to Richard Oelmann

Re: Adaptable Theme Support

by Lester Merklin -

Thanks, Richard.  I would have thought the theme shouldn't be responsible for this; but I did run into someone having the same issue with another theme.  I have a "label" on the front page which introduces the three types of courses and then uses a table to show/link the courses. The courses titles on this menu are of course in their respective languages; but the descriptions of the categories are in 3 languages presently (in the "More" Theme) and by using the "multilang" class code in the label only the language of the browser shows.  Now in the Adaptable Theme, all languages show--as if the code wasn't there.

In reply to Lester Merklin

Re: Adaptable Theme Support

by Lester Merklin -

Sorry to bother you all!  It is working now.  I misread the multimedia filter as the multilang one and thought it was enabled!  We are ready to migrate the theme into our active Moodle!

In reply to Lester Merklin

Re: Adaptable Theme Support

by Usman Asar -
Picture of Plugin developers Picture of Testers

Lester, I would recommend holding on a bit before making this active on your live production moodle, for theme is working perfectly alright to be use in production, but then there are new things coming in based on feedback/suggestions from community members. I definitely don't want you to spend time giving it a face, and then you have to re-do some of the work again in next update.

Why not keep testing the theme with newer beta updates downloaded from link mentioned? It wont be more than a few days away!

In reply to Jez H

Re: Adaptable Theme Support

by Antonio Penalva Lozano -

First congratulations on the fantastic theme and secondly apologize for my poor English (I have not mastered the language well).

I am introducing the topic in my moodle and need to display the custom menu moodle on the main page without having to be registered, how can I do ?.

Muchs thanks for the help

In reply to Antonio Penalva Lozano

Re: Adaptable Theme Support

by Jez H -

Hi Antonio,

Does this video answer your question:


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

Re: Adaptable Theme Support

by Antonio Penalva Lozano -


Dear Jez H , thank you very much for your answer. The problem is not in the header menu , the menu is in default Moodle . Only what I can see if I am registered and I browsed the Web, I can not see when I access the home page . I bring you a picture. Thank you

Attachment Pagini.JPG
In reply to Antonio Penalva Lozano

Re: Adaptable Theme Support

by Jez H -

Hi Antonio,

Can you post an image of what you see when you ARE logged in?

This should be easy to fix, I just want to be sure I understand the issue properly.

BTW, I like what you are doing with your site, can you share the link or a full screen shot of the front page?

In reply to Jez H

Re: Adaptable Theme Support

by Antonio Penalva Lozano -

Muchas gracias jez H por tu amable comentario. Estaré encantado de publicar un enlace a mi web. No lo hago en este momento porque lo he borrado todo y estoy empezando de 0 pues me daba varios problemas.

Te adjunto 2 capturas de pantalla, una sin registrar en la web y otra registrado. En la de abajo veras que el menú de navegación de moodle ya aparece.

Gracias

....

This forum is for discussions in English only. If you'd like to participate in a discussion in English, please stay around; if you'd prefer Spanish, please go to Moodle en Español

Translation:


Jez H thank you very much for your kind comment . I 'll be happy to post a link to my website . I do not right now because I deleted everything and I 'm starting to 0 it gave me some problems.


I enclose two screenshots , one unregistered on the web and other registered . At the bottom you will see that the navigation of moodle longer appears.


(Edited by Gareth J Barnard - original submission Wednesday, 27 January 2016, 12:28 PM)

Attachment captura5.png
In reply to Antonio Penalva Lozano

Re: Adaptable Theme Support

by Jez H -

Hi Antonio,

There is an option in the theme to "disable moodle custom menus" or somethign along those lines.

Using that allows sites that run multiple themes to use moodle custom menus in those themes but disable it in this one and use the custom menus in this theme instead.

That does duplicate work but as you can see the custom menus dont render well.

I guess we should look at moving custom menus into the upper header and getting them working properly. The reason they render in the lower navbar is a legacy from BCU theme.

I will look at this at some point, but for now would suggest you disable them in this theme and put them into the upper menus.

In reply to Jez H

Re: Adaptable Theme Support

by Jenny Maud -

Hi Jez and co,

Congratulations on a great theme, I have been having a lot of fun playing with it, you have made it available just when we are thinking of upgrading our theme!

I can see you are already busy making even more improvements (the layout builders are great), so I hate to give you more to do.

The only part of the site I haven't been able to get how I would like is the header region.  Is it possible to add even more "adaptability" here?. This of course appears everywhere on the site and it is nice to be able to have it looking great. 

I'd like to be able to:

-Set a colour for hover over the menu items, and possibly a colour for the "home" button which can be different from the rest of the menu

-Choose whether to have both the upper header and the navbar visible. I need relatively few menu items and for having both makes the header region unnecessarily large. Could I have an option to not have the upper header, moving the log in box to elsewhere (perhaps the region of optional social icons in the main header)

Probably wishful thinking on the second one, but a bit more colour personalisation might not be too hard?

Thank you again for your hard work!

Jenny

In reply to Jenny Maud

Re: Adaptable Theme Support

by Jez H -

Hi Jenny,

Improving the header is something I would like to do. For example adding a choice of header layouts and the option to collapse into a smaller header in course pages. Some of our users have complained about the header being too busy.

However for the time being I am focussing on improving what we have rather than adding more features, i.e. bug fixes, accessibility (there are issues on screen readers) and other minor tweaks and gremlins.

We also need to write some documentation.

If the color pickers are easy to add I will look at those but the header options wont be looked at for some time.
In reply to Jez H

Re: Adaptable 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 Jez,

I downloaded the zip file linked to.

It installed OK but have got a load of PHP warnings/errors.

[MAIN CONTENT GOES HERE - ZWCPgiVKDM]

being one of them.

Is there a newer version available?

Thanks

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

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

ERRORS in latest download from Moodle plugins

Notice: Undefined property: stdClass::$slideroption2 in C:\wamp\www\moodle30\theme\adaptable\settings\frontpage_slider.php on line 71

Notice: Undefined property: stdClass::$slideroption2 in C:\wamp\www\moodle30\theme\adaptable\settings\frontpage_slider.php on line 105

In reply to Mary Evans

Re: Adaptable Theme Support

by Jez H -

Hi Mary,

If you pull the latest version of master linked in the first post of this forum it has some fixes for these issues.

I need to do more work on this and will release a new version on Moodle.Org in the next day or two.

In short, the admin settings use loops and conditional statements depenent on previous settings. Once you save theme settings these should go away, but more needs to be done to set them via lib.php and trap any errors in the renderers on installation.

In reply to Jez H

Re: Adaptable Theme Support

by Sebastian Wz -

Hi there,

nice work on the theme!

I played around with your demo page (using firefox) and noticed that the frontpage blocks don't resize properly on smaller screen sizes (below 1200).

best regards

Seb

Attachment 2016_02_01_10_24_04_Adaptable.png
In reply to Sebastian Wz

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The demo has the blocks height forced to 240px. That's the reasons the text is truncated. And still using version 1.0.0 that doesn't includes the layout builder.

Since the blocks can be customized using CSS you can use other properties like min-height to avoid the problem.

It's a simple CSS question.





In reply to Jez H

Re: Adaptable Theme Support

by Sebastian Wz -

A few more things I came across (using firefox/chrome, Adaptable 1.1.0, Moodle 3.02, no custom css/js):

1) In the block layout settings, blockmainbordertopstyle is called "block header border style", and the description text is also the same as the one for the header where it should actually reference the main area.



2) In the Marketing Spots settings page, the link to the readme.txt doesn't work. (returns "The requested URL /adaptable/README.txt was not found on this server.)

3) The linked Marketing Spot area overflows the marketing spot itself in standard view, so if you hover in the "white space" somewhere next to it, clicking will still take you to the link even though you're nowhere near the marketing spot.



4) The combo list on the front page doesn't display properly, it just shows an empty bordered box. Course list, category list and search box work fine. (front page course boxes style: tiles w/ overlay)



5) The quiz review page has a scroll bar next to the short summary at the top which shouldn't be there.


Best regards and thanks for your work on the theme,

Seb

In reply to Sebastian Wz

Re: Adaptable Theme Support

by Sebastian Wz -

Ok, 3) doesn't have anything to do with the marketing spots apparently, but there's still a large link area on both sides of marketing spots and front page blocks linking to the front page (like the logo in the header), which is unneccessary because we already are on the front page.. am i missing something here?

In reply to Sebastian Wz

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Sebastian,

Thank you for using Adaptable. 

I will answer your questions:

1) The lang file is really complex with such number of settings and using a legacy file from BCU, so some strings are duplicated and a few are wrong. In this case the variable is correct and the title and description are wrong. Block Main is the content part of the block and block header is obviously referred to the header block.

We have already an open issue and hope to solve it soon.

2) Already fix it in the repository. You can update the theme form there or waut until a new release in MPD.

3) Can you paste the code you added to the marketing block?

4) Unfortunately this feature is still not available. If you set the 'Combo List' in moodle then the result is not controlled by Adaptable.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by Sebastian Wz -

Hi Fernando,

thank you for looking into it!

The Marketing blocks just contain a bit of filler text and and an image each, no links.

The entire marketing block area (including the space next to it) seems to have a #-link for some reason:


It's the same with the slider (.slides contains <a href="#"> which then contain the actual slider images) which also links to the page itself even though the slider pics are not linked to anything in the slider menu.

Also, as someone mentioned already, turning off the marketing spots in the settings doesn't do anything, they still show up. (purging cache didn't help)

Another thing:

The custom block regions layout doesn't work in some cases and puts blocks below others when they should be next to them, which is probably because of the horizontal 2.5641% margin which causes blocks to break to the next row too early. Looks fine and lines up nicely with the marketing spots when I remove the margin.


Best regards,

Seb


In reply to Sebastian Wz

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
We are fixing in the marketing spots issue.

I will take a look to the blocks issue and let you know.

In reply to Jez H

Re: Adaptable Theme Support

by A. A. -

Hi,

thank you for developing this nice theme.

I have upgraded to the 1.1.0 version from the 1.0.0 version.

In this new version I have got the marketing block area and another area below it that is always visible, irrespective of the setting of the show marketing block parameter.

Another problem is with the My courses option of the navbar. When the course description is very long, it leaks out of the dropdown box.

I send a picture of the marketing block area and another area below (that i do not know what it is and how to use) that I cannot get rid of.

Thanks



Attachment Theme Adaptable.PNG
In reply to A. A.

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Version 1.1.0 includes a new feature called "Marketing Block Layout Builder" where you can create your own layout for the marketing blocks. Go to the Adaptable settings and change the layout.

Another new feature is the "Block Region Builder". You can drag&drop moodle blocks to these area and create your own layout too. If you don't want to use this feature you can disable in the theme settings.

About the course title spills out the dropdown, it is really odd because the title is truncated to 30 characters and tested with several ths and languages to verify is always displayed correctly.

Could you take a screenshot?


In reply to Fernando Acedo

Re: Adaptable Theme Support

by A. A. -

Thanks Fernando,

finally I was able to hide the two areas. Anyway, I think that the marketing blocks should not appear when the "Enable marketing blocks" parameter is set to no, even if the Marketing Block Layout Builder define some Marketing Block Rows.

I attach a picture to shows the problem of the "My courses" menu option with descriptions of courses that extend beyond the drop down box.


Attachment Adaptable My courses.jpg
In reply to A. A.

Re: Adaptable Theme Support

by Jez H -

We just fixed this, if you download the latest verson from Moodle.Org it should work now.

In reply to Jez H

Re: Adaptable Theme Support

by Guilherme Veríssimo -

Hello guys...


Im having some issues with the Frontpage slider.

When I fill the URL for which the slide will be referring to, all the other slides and info boxes, not to mention the marketing blocks and the html blocks that follow the slider are also connected to that link from the first image on the slider.

Any idea why this is happening and how to solve it?

Thanks for your help.



My moodle page is http://popoutconsultoria.com.br/cursos and the link highlighted is from the page I want the slider to redirect to.

In reply to Guilherme Veríssimo

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Sorry but I can't understand the issue.

I was taking a look to your site and there are no links in the Marketing Blocks or Info Box. The slideshow has two slides with a different link. 

All the links in the front page boxes are created manually using HTML and the slides links must be added in the Frontpage Slider configuration. So they are totally different.

Could you post a most clear information about the issue?






In reply to Jez H

Re: Adaptable Theme Support

by A. A. -

Hi,

is there a way to force hiding blocks for a specific course?

I would like to create a course with  a social format, with only a forum in it and avoiding the students get lost with all the menus in the blocks.

Thanks

In reply to A. A.

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Blocks located in a course are part of the course not the theme. Just remove them.

In reply to A. A.

Re: Adaptable Theme Support

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

Select Social course format to provide a forum only based course - core Moodle feature

Tutor can hide any blocks as Fernando says - they are controlled by the course creator/tutor not by the theme.

In reply to Jez H

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

will this theme work where  there is no internet connection?

i.e the font awesome icons are retrieved from the internet or stored on disk within the theme?

sorry but u have no experience with this font-awesome concept..

if they are on disk within the them folder, can anyone point me the location? cannot find in any folder of the theme

In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

A simple view of the source code will show you that Font Awesome and Google fonts are downloaded by the theme. The rest of libraries are included with the theme or Bootstrapbase.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

Will they be downloaded each and everytime, the moodle page is opened or once?

As i need to run this theme on a local network where there is no internet, and i am not allowed to attach an internet connection.

So if I copy paste the theme folder from my pc, to the local environment without internet, will the font awesome and google fonts be copied with it?

If not, then what should i do to make these fonts local to the theme?

thankyou for the help

In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Jez H -

Hi Nadirshah,

It would be possible to download Font Awesome and include it within the theme. You would have to modify the theme to reference your local (to your Moodle install) copy as opposed to FA CDN.

If you look at line 117 of /adaptable/layout/includes/header.php you can see where this is loaded:

https://bitbucket.org/covuni/moodle-theme_adaptable/src/90f47d66f7658d04763619da9ae1ed7f85fca4bc/layout/includes/header.php?at=master&fileviewer=file-view-default#header.php-117


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

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

Header Navbar

How to add more menu items to this bar, by coding.

Please note using custom menu option in the them settings doesnot help, as those settings do not support the font awesome icons.

I need to keep more links like About Us, Library and so on.

Also note that the tools option for the Navbar is not useful as it doesnot have the capability of changing the icon for each tool menu item like,

icon About Us, icon Library, icon Our mission and so on

Thankyou

In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Did you read the information in the top of the 'Navbar Tools Menu'?

You will find a complete explanation about how to add tools menu with icons.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

thanks but yes i did, my question was clear enough i guess.

""You can configure links to be shown under a tools menu (in main navigation bar). The format is similar to that used for Moodle custom menus but allows you to add fa icons to menu items:"

I dont want it under a Tools menu with a spanner icon! I want it separate like main menus..


Well heres the answer I came up with to add other links to the header navbar menu, if theres a mistake like the branchsort number??


File to change: theme\adaptable\renderers.php

After line number: 1014

Code to add

            //if (!empty($PAGE->theme->settings->enablemyhome)) {

                $branchtitle = "About us";

                $branchlabel = '<i class="fa fa-university"></i> '.$branchtitle;

                $branchurl   = new moodle_url('/mod/page/view.php?id=54');

                $branchsort  = 20009;

                $branch = $menu->add($branchlabel, $branchurl, '', $branchsort);

           // }


In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

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

That was what I did in my earlier themes  smile

the only difference is I used negative numbers because I added menu items to the front of the nenu not the back.

Cheers

Mary

In reply to Jez H

Tárgy: Adaptable Theme Support

by József Somogyi -

Hello Jez

First of all this theme is a very great work it is my favorite smile
I would like to ask can I set a wallpaper for the login page only. Is it possible to set or create somehow?

Thank you

Best regards
J. Somogyi

In reply to József Somogyi

Re: Tárgy: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable uses the same id as any other theme in the login page.

#page-login-index #region-main,
#page-login-index {ADD YOUR BACKGROUND IMAGE OR COLOUR HERE }



Average of ratings: Useful (1)
In reply to Fernando Acedo

Tárgy: Re: Tárgy: Adaptable Theme Support

by József Somogyi -

Thank you so much your help.


If it is not problem I have 2 more question smile

Can I hide the footer blocks from the login page because I would like to set the footnote only on down of the login page?

And can you help me how can I set horizontal (what is originally vertical) dock menu in CSS or in php?


I wish you a nice weekend smile

Regards
József S

In reply to József Somogyi

Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
You can select different views for the footer blocks in:

Site administration > Appearance > Themes > Adaptable > Footer > Footer Blocks Placement

There are no options to display or not the blocks in the login page only so if you want to remove the blocks only in the footer will need to add some CSS:

#page-login-index blockplace1 {display: none; }
Note: add blockplace2 and blockplace3 if you are using more than 1 footer blocks row.


I don't understand when you say:

"And can you help me how can I set horizontal (what is originally vertical) dock menu in CSS or in php?"

Moodle system menus are always vertical and located in blocks. You can add or remove the blocks, or hide them using the "Hidden blocks" feature. Docking blocks should not be used with adaptable cause you have the hidden feature.

These blocks can be converted to horizontal menus in the Navbar. The most you can do is move the blocks to the centre using the Blocks builder layer.









In reply to Fernando Acedo

Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by József Somogyi -

Thank you for your answer.
I tried your code but that isn't working (left side on the picture).
I would like use the footer blocks all pages on the site ("Sitewide") except the login page because there are some not public informations.

(My other question was (right side on the picture)
What do you think can I rotate the docked block items to horizontal position. I tried it by CSS but it is not so nice and not working properly.)
Sorry if I misunderstood your answer.

 

Regards 

-József-

Attachment questions1.jpg
In reply to József Somogyi

Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
Sorry, the CSS is not correct. This must works:

#page-login-index .blockplace1 {display: none; }

About the docking. The label is part of the moodle core and not the theme. Rotate the label means modify the area width. If the goal of docking blocks is to free space for the content, rotating the label will take almost the same space than a block.

Also, Adaptable has the option to hide the blocks, then the docking feature is totally useless. In fact, docking should be disabled by the theme.
 


Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

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

'Also, Adaptable has the option to hide the blocks, then the docking feature is totally useless. In fact, docking should be disabled by the theme.'

Surely hiding and docking are two different features - I frequently have several blocks that I keep docked. It means they don't scroll with the page and I can always access my quickfind course and user blocks when I'm giving support to staff. That wouldn't be possible if they were hidden.

Average of ratings: Useful (1)
In reply to Richard Oelmann

Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Jez H -

I agree this is the case, I regularly log in as users who have the blocks region visible but have one or two blocks docked as is their preference.

The show / hide all blocks is most useful when viewing reports or pages that take up more space in which case you can quickly hide the blocks for more screen space.

Docking is something we see users applying sitewide and sticking with whatever setup they choosed independently of the show / hide blocks feature.

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

Tárgy: Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by József Somogyi -

Hi,

Yesterday I worked on the docked elements and items by css. The results became not so perfect...but working cool 

I would like to ask your help again.  If I put a block for docking the page width will be narrow (you can see attached picture). Can you help me how can I set (setting/css/php) that the page keep the original width ?

Thank you
- Jozsef -

Attachment dock2.jpg
In reply to József Somogyi

Re: Tárgy: Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The docking styles and layout are part of Bootstrapbase theme and Adaptable just apply them.

If you replicate the same with Clean will see the same effect.


In reply to József Somogyi

Re: Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Jez H -

I think the ability to hide footer links only on the login page would require an enhancement to the theme, I will raise an issue tracker for that one.

Average of ratings: Useful (1)
In reply to József Somogyi

Re: Tárgy: Adaptable Theme Support

by Jez H -

Hi Jozsef,

Custom login pages are a feature I really like in some other themes and would like to add a custom login page but it may take a while as there are other things that  need doing first.

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

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

Can anyone help me on how to hide a particular course block using CSS on the

http://localhost/LMS/?redirect=0 page that is "site page"

Please see the attached file, then the below description will be simple to understand.

I am using this course as a dummy where the admin adds events to the calendar for a particular cohort sync group(i.e south). (therefore only that cohort (south) can see the events on their calendar, others regions like north cannot see it, as they are not enrolled). This dummy course doesnot contain anything else except make events visible to a particular list of users.

Note: I did search hard for a plugin, a way to make the calendar distributed region wise, or lets say category wise but nothing only a tracker of 2009

The organization doesnot want to see this dummy course appear on the users "enrolled course listing".

When i hide this course, the events created in its calendar also disappear! I want the events to stay


Solution i can think of: is t hide that particular dummy course using custom CSS, so actually the course is there but not there for users to see smile


The problem is I cannot find a differentiating "id" or a "class" that is unique and static to that particular course block. (each time the id generated by the script is different for the same block)

How can i assign unique "name" to all the blocks getting listed on the frontpage? so that they can be manipulated by CSS. What code should i change and how, I am not able to understand the javascript where i could add a parameter of name in a presumed loop which is displaying the courses. 


The attachment might help clear the question


Thankyou.

Attachment Moodlequestion.png
In reply to Jez H

Adaptable Theme suport

by Dimitris Chalk -

This theme is truly adaptable. Nice work!

While I am trying to further customize the appearance of the front page by adding some custom css rules  I came across two issues and I wonder if you could assist me on those.

The first has to do with the margin between the slider and the header when not logged in. If set the bottom margin of the "above-header" div to "0" (see red circle 1) I end up with this crazy behavior   (see red circle 2) of the slider with showing part of the second slide along with the first.

The second issue has to do with the course blocks. The summary text of the course (on hover) seems to have a limit of 35 characters (green circle) and there is no "read more"  button.  Is there any way for me to change this? Furthermore the tiles offer three identical links to the course page (see red dots) but no link or other possibility to view the summary of the course. Is there any way to customize those too? And one last thing: in the description area in the tile (on hover) the course title appears twice (the blue 1&2 numbers) and this reduces more the space for the description text. Can i configure it differently?

I would be grateful if you could assist me on those.

Thank you in advance

Dimitris

Attachment Capture_1.JPG
Average of ratings: Useful (1)
In reply to Dimitris Chalk

Re: Adaptable Theme suport

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Dimitris, thanks to select Adaptable for your moodle site.

I'm trying to replicate the header issues but I can get the same result.

Is the ticker enabled?

Is the slideshow enabled?

I see you added an image to the header. How did you do it?

About the course block, it has a limit of 70 characters including the ellipsis ("...")

This is a fixed value but probably will convert in a setting similar to My Courses length title. If you want to add a 'Read More' button you could do it using the included Bootstrap buttons. See the demo site: http://3-bits.com/demo/adaptable/mod/page/view.php?id=107

The code to add the button is (depending how to use it):

<a class="btn btn-default" href="#" role="button">Link</a>
<button class="btn btn-default" type="submit">Button</button>
<input class="btn btn-default" type="button" value="Input">
<input class="btn btn-default" type="submit" value="Submit">

We noticed the issue with the strange character in the end also in Cyrillic and I thought was fixed. It is an issue that only happens in multi-byte characters sets like Cyrillic or Greek. It depends of the last character and not the language. Just add an space or a short word and the issue disappears.

The links issue in the course blocks is also detected and it is pending to fix it soon.

You can use 2 course blocks styles. Did you try Coventry style?



In reply to Fernando Acedo

Απάντηση: Re: Adaptable Theme suport

by Dimitris Chalk -

Hi Fernando, Thanks for your responce

I have solved the header issue by hiding the searchbox. The ticker is enabled and the slider as well. The image you see is in the slider not on the header. Header is empty and not visible.

The problem remains with the course blocks. I do use coventry tiles as a base for my customisation. 

I can not find any settings for changing the character number for the hover panel or remove the replicated course title (marked with the blue numbers) and I can not place any button or link in the summary area since the code is cleared when it comes to the block. I can only have buttons or links when using the default moodle view. The button doesn't show on neither of the other options (tiles, tiles with overlay or coventry).

The problem with the strange ending character is also solved the way you suggested

Thanks again!

In reply to Dimitris Chalk

Re: Απάντηση: Re: Adaptable Theme suport

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Dimitris,

there are no settings to modify the summary length in the course blocks. Actually is hardcoded and maybe in the future will be a setting.

The link issue is actually in development so probably will be available at the end of the week.

I'm sorry but I told you to add a button in the courses blocks. You are right this is not possible. Only in the Marketing blocks.




In reply to Fernando Acedo

Απάντηση: Re: Απάντηση: Re: Adaptable Theme suport

by Dimitris Chalk -

Thank you Fernando

I will be wating for any update.

The work you have done on this theme is great!

In reply to Jez H

Re: Adaptable Theme Support

by Nadirshah Ferozepurwalla -

Hello any help for the following problem. 

https://moodle.org/mod/forum/discuss.php?d=326234#p1319300

Please I need to hide a block of course. Cannot find any unique ID, on to which I can apply display:none.

Thankyou.



In reply to Nadirshah Ferozepurwalla

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable has several ways to display the courses in the frontpage but doesn't provide any option to display part of the courses. For the moment the theme display ALL the courses in the frontpage.

In reply to Jez H

Ynt: Adaptable Theme Support

by Erdem ÖZYÜEL -

Hi! Thank you for your theme. I use this theme but I have a question. I can't see "Custom menu items" ( link Menus in the upper header) witout login. How can set the "Custom menu items"?
[url=http://hizliresim.com/v5dEjR][img][/img][/url]

[url=http://hizliresim.com/d3z5OL][img][/img][/url]

In reply to Erdem ÖZYÜEL

Re: Ynt: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is correct. The Navbar menus are displayed only when you are logged.

If you want a menu for non-logged users (visitors) then create a Header menu and will be displayed in the top of the page.

In the demo site  http://3-bits.com/demo/adaptable/ you can see a 'Header Menu' to show the 'Theme Features' when a visitor. After login you will see the Navbar menus.





In reply to Fernando Acedo

Re: Ynt: Adaptable Theme Support

by Ramya K J -

hello I am currently using moodle 3.0 version.
The problem is the custom menu items are not working in mobile but it is working in system. What might be the problem? Also How to enable Guest access in this adaptable theme?
It would be very helpfull if any one tells the solution for this problem

Thanks and Regards,
Ramya K J

In reply to Ramya K J

Re: Ynt: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thank you for using Adaptable in your project.

The top header menus are not available in mobiles. You must create a tools menu instead. We are considerating this option for future versions.

The Guest options are common for all the moodle themes. See https://docs.moodle.org/30/en/Guest_access for more information.



In reply to Fernando Acedo

Re: Ynt: Adaptable Theme Support

by Ramya K J -
Thanks for the reply


But even though i enabled guest access It is not displaying in edit course settings.


Guest Access

Edit Course Settings


In reply to Fernando Acedo

Ynt: Re: Ynt: Adaptable Theme Support

by Erdem ÖZYÜEL -
Thank you for fast reply. I add header menu. It ıs good. I want to see in only non logged user' screen.
There is a field in header menu option "Custom Profile Field Name=Value (optional)"

I tried
usertype=visitor
usertype=visitors
usertype=non-logged user

but it is not working.
What should I write in this field to appear only non-logged user.

Thank you.

In reply to Erdem ÖZYÜEL

Re: Ynt: Re: Ynt: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The header menus are developed to be displayed to all the users or part of them but not for guests.

The Custom Profile Field Name is only for registered users that needs this field to display the menu.

In reply to Jez H

Re: Adaptable Theme Support

by Edis Aganović -

Color for social icons:

http://facebook.com/|Facebook|#3B5998|fa-facebook-square

In case there is not color specified ex. |default| then you can load #fff.


This is much easier for some who is modifying this excellent theme.

In reply to Edis Aganović

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for your suggestion. We'll considerate for future versions.

In the meantime, you can use this CSS to add colours to the icons:

.fa-facebook-square::before{
    color: #3b5998; }

In reply to Jez H

Tárgy: Adaptable Theme Support

by József Somogyi -

Hi

Can I show the avatar image on the header (next to the user names)?
Can I set it?

 

Thank you

 

In reply to József Somogyi

Re: Tárgy: Adaptable Theme Support

by Jez H -

Hi Jozef,

I am afraid you cannot do that at the moment, it is something we will probably add in future but it wont be for some time.

In reply to Jez H

Tárgy: Re: Tárgy: Adaptable Theme Support

by József Somogyi -

Thank you for your answer.

I have an another question/problem. Our students are not using left and right side blocks on the frontpage. If miss the blocks on the frontpage will be an empty space next to the "My courses" (see the attachment).
Can you help me how can I set (setting or css, php) automatic width (without the "hide blocks" function clicking)

 

Regards
Somogyi J.

Attachment front.jpg
In reply to József Somogyi

Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by Jez H -

Hi Jozef,

I took a look at this a while back and was playing with an admin setting that would allow you to turn that block region off, but there maybe a better way of doing this.

This issue is quite high on my todo list as it is something I need to resolve for one of our own Moodle sites, I with luck I will have something in the next few days.

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

Tárgy: Re: Tárgy: Re: Tárgy: Adaptable Theme Support

by József Somogyi -

Hi Jez


I think the block what is visible to admin users only, the problem is similar.

Attachment Hidden2.jpg
In reply to Jez H

Footer

by Wouter Baars -

Hi,

Many thanks for your great theme!

I have an issue and I am not sure if it is a bug or if I am doing something wrong.

I need to place my adress, post adress, telephone number etc. in the footer, but for some reason only the top line of the text to be placed in the footer gets on the site:

footer settings


However if you go to my site: www.melearning.training and scroll down to the footer then you see just the first line of the tekst.

Many thanks for your help,

Wouter

In reply to Wouter Baars

Re: Footer

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks Wouter to select Adaptable for your moodle site.

There are a bug in the version published in moodle that breaks the a tags. Hope we will updated soon.

Please, in the meantime update the theme from the Bitbucket repository and the issue will be fixed: https://bitbucket.org/covuni/moodle-theme_adaptable/get/master.zip

By other side, you can take a look to the readme.txt included with the theme and you will find the code used in the demo site for the contact information footer block.

In reply to Wouter Baars

Re: Footer

by S. Ali -

Hello Wouter,

It seems that the address is there but the font colour is the same or very close to the background colour so the rest of the address isn't apparent. If you highlight the lines you will see the address.

Check the font colours and see if this helps.

Regards,

sali

In reply to Wouter Baars

Re: Footer

by Usman Asar -
Picture of Plugin developers Picture of Testers

Wouter, nothing to do with your query, but couldn't you get a smaller domain for your site? like pmp-training.net? or get something similar to your moodle domain pmp.training

In reply to Wouter Baars

Re: Footer

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The text is there but you can't see it because use the same background colour:



Change the colour in Adaptable > Colours > Footer colour > Footer blocks text colour to white or just change the text colour to white in the block itself and then will be displayed.

In reply to Jez H

Re: Adaptable Theme Support

by Derek Chaplin -

Thanks for this theme - it IS truly adaptable.

One excellent feature I've come across elsewhere is a Category side menu that makes course navigation a breeze. You can see an example of it here: http://www.lmsthemes.com/enlight-demo/course/index.php?categoryid=4

How difficult would it be to incorporate this feature into the Adaptable theme?

cheers,

Derek

In reply to Derek Chaplin

Re: Adaptable Theme Support

by Jez H -

Hi Derek,

That looks more like a block than part of the theme.

When you add blocks on category pages and edit the settings you can set the block to appear on the top level category page only or on any category page.

I am not sure if there is an existing plugin to render the category view like that. Ideally you would want it to show sub categories as you drilled down.

If there is no plugin and your categories don't change much you could use an html block.

In reply to Jez H

Re: Adaptable Theme Support

by Courtney Reinen -

I'm loving this theme! I've been changing the colors, but in doing so I changed one and cannot find it again.  Any help you can provide would be greatly appreciated.

Where do I change the font color for the site summary on the front page? ( location in box in image attached)  Please let me know if you need any additional information.


Attachment adaptable.png
In reply to Courtney Reinen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks Courtney for using Adaptable.

Is this the site summary heading from the Front Page Settings?

In this block you can use the default heading font colour in Adaptable > Fonts > Headers font colour or a custom style.






In reply to Fernando Acedo

Re: Adaptable Theme Support

by Courtney Reinen -

Hello Fernando,

Thank you for your quick reply.

This is the site summary heading on the Front Page.

I have already changed the setting in the "Adaptable > Fonts > Headers" font color, but it is still this strange blue. Is there somewhere else I could change that?


Thank you,

Courtney Reinen

In reply to Courtney Reinen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Verify the Front Page summary heading is not using a custom style.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Courtney Reinen -

Hello Fernando,


Thank you for this information.  Could you please advise me as to how I can find a custom style?  I'm still very new to Moodle.


Best Regards,

Courtney Reinen

In reply to Courtney Reinen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Go to:   Site Administration > Front page settings > Edit settings

Then verify in the Front Page Summary if you have some additional heading with a custom style using the editor. By default, all the heading tags (h1 to h6) are using the theme styles.

See the demo site http://3-bits.com/demo/adaptable/mod/page/view.php?id=107 for a sample.



In reply to Fernando Acedo

Re: Adaptable Theme Support

by Courtney Reinen -

There are no custom settings in that area.  I have changed every single color that I have available to change, and this title will not change.  Are there any other suggestions you can think of?

In reply to Courtney Reinen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Is this the same colour you are using in Adaptable > Fonts > Headers font ?

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Courtney Reinen -

No it is not.  That's why I'm so confused as to why I can't change it.

In reply to Courtney Reinen

Re: Adaptable Theme Support

by S. Ali -

Hello Courtney,

If you've checked all the color settings, then just wondering, if by chance you did not type the text and apply the specific color in the text editor itself?

Regards,

sali

In reply to Courtney Reinen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Courtney,

I can take a look to your site if send me the URL by PM. It is really weird because headings use the default Adaptable styles and only custom colours can change the default.

In reply to Courtney Reinen

Re: Adaptable Theme Support

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

Use a tool such as firebug or chrome developer tools to find out what the colour is and where it is coming from (It is useful to turn Theme Developer Mode on when doing this as it will tell you which css file and what line in that file the css being applied is from. You can also tell if other css has been applied but overridden by something else, so it really is a powerful tool for identifying issues like this.

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

Re: Adaptable Theme Support

by A. A. -

Hi,

in the frontpage I have put a course category block. When clicking on a top level category, it shows the category page description where I have put an image and a description (only for top level categories).

While on the same page, if I click on a second top level category, it does not show anymore this category description page, instead it shows the second level category name (only in the block), while the page is still showing the initial top level category page I have clicked first.

I need to go back to the frontpage and start again clicking on a different top level category to show its description.

Is this a theme bug or a moodle bug?

Thanks

Antonio


In reply to A. A.

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

in the frontpage I have put a course category block. When clicking on a top level category, it shows the category page description where I have put an image and a description (only for top level categories).

Which category block. Adaptable don't have this kind of block. The only you can display is the moodle categories from the Front Page settings. And this is not under control of the theme.


While on the same page, if I click on a second top level category, it does not show anymore this category description page, instead it shows the second level category name (only in the block), while the page is still showing the initial top level category page I have clicked first.

What second top level category?


I need to go back to the frontpage and start again clicking on a different top level category to show its description.

Is this a theme bug or a moodle bug?

Can you post some screenshots with the issue?
In reply to Fernando Acedo

Re: Adaptable Theme Support

by A. A. -

Hi, perhaps my message was not clear enough.

I have courses grouped in a system of 4 levels of nested categories, faculty, year, part of the year, semester.

I have put a description with an image only for the top level category (faculty).

In the block "course category" of the frontpage, when I click on a top level category (faculty) it shows the category description page.

Now if I click again on another top level category (another faculty) it simply shows its second level category (year) in the block, but does not show the new faculty description page. It keeps showing the description page of the initial faculty I clicked first.

You can try yourself having a look at the front page to this address: 169.255.132.42/moodle


Thanks

Antonio


In reply to A. A.

Re: Adaptable Theme Support

by A. A. -

Hi Fernando,

what happened is that when clicking on the frontpage "course category" block, it takes you on the category description page, on which there is no "course category" block, only the Navigation block, showing a course list similar to the "course category" block.

Now clicking on a category name on this similar list doesn't take you on its description page, instead opens the next category level name. This is actually useful to arrive at the course one is interested in.

So to solve the problem I had to insert the "course category" block on each faculty description page, in order to click on another faculty and see its description.

Quite a bit complicated solution

Thanks


In reply to Jez H

Re: Adaptable Theme Support

by Sergio Ubeda -

First thank you for your great theme.

Is there any way that blocks specific of your theme in the frontpage: slider, marketing, infobox, Could only appear depending on the user's role?

It would be nice if they were shown to the guest role, but for example for the student role were hiding.

Thank you very much!

---------------------------

Hay alguna manera de que los bloques específicos de tu tema de la página principal (inicio del sitio): slider, marketing, infobox. ¿Puedan aparecer dependiendo del rol del usuario?

Estaría bien que fueran mostrados para el rol invitado, pero por ejemplo para el rol estudiante o identificado se ocultasen.

Muchas gracias!

In reply to Sergio Ubeda

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks Sergio to select Adaptable for your moodle project.

For the moment, only menus and alerts are displayed depending an user custom field, not the role. Using the custom field, we can segment much more the content. For example, display different alerts for teachers depending the course.

Other parts like marketing blocks or the InfoBox has not so much sense to be hidden depending the role. When you open the site you are always a guest and you can see the front page you already setup.

After login, you should be redirected to the Dashboard and it can be configured by the admin. If not, Adaptable add the menus and blocks.

If you use the Blocks Builder then you can setup the permissions by role for each block. This is how the demo works to rmove the Navigation and Administration blocks.


____

Adaptable en Español: https://moodle.org/mod/forum/view.php?id=693

In reply to Sergio Ubeda

Re: Adaptable Theme Support

by Jez H -

Hi Sergio,

Being able to target roles rather than profile fields is on our todo list and once done could easily be added to sliders etc. I think it will be a while before we get round to this as there are other things we need to do first, but it will happen smile


In reply to Jez H

Re: Adaptable Theme Support

by Barbara Moore -

Hi,  

On the Full Profile page for each user, we're missing the user's profile picture.  Users are able to upload a photo, and the photo can be seen on the user's profile inside a course, but not on the Full Profile page.

We're on Moodle 3.0.2 and Adaptable 1.1.2. 

Checked source code in case something was hidden by CSS... but no.

Am I doing something wrong?  Or is this a bug?


screenshot of full profile, no userpic


screenshot of course profile, with userpic

In reply to Barbara Moore

Re: Adaptable Theme Support

by Jez H -

Hi Barbara,

Its either a bug or an oversight :p

I will take a look into that.

We are also sorting out some issues with the header / site title which dont seem to be working too well for you at the moment, hopefully I will get that done tonight.

In reply to Jez H

Re: Adaptable Theme Support

by Suryo Danar Saputra -

Thank's for sharing this beautiful theme. Perhaps, you can help me, I'm traying to know about version or maybe upgrade from moodle. Actually after login, I just go to Site Administration > Notification, but in this theme when I click notification they go to this link. Would you like to share how to solve it?

Great Thanks

In reply to Suryo Danar Saputra

Re: Adaptable Theme Support

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

That is because you have installed the theme and there are settings that you need to address...you can just click continue and go back to your regular notifications page.

Average of ratings: Useful (1)
In reply to Emma Richardson

Re: Adaptable Theme Support

by Suryo Danar Saputra -

Great Thanks Emma,

Haha, how fool I am not to try harder.
Anyway I have one question more. Maybe you can help me to solve how to integrated my moodle site with my wordpress using single-sign-on, I've try using edwiser bridge, but it still can't work. Any suggest to me?


In reply to Suryo Danar Saputra

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is not the forum to post this kind of questions. Ask in the developers forum.

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: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

I'm creating a new demo site to show all the Adaptable features and it includes a Google Maps in one of the footer sections.

I didn't have any problem to add the code and the map has all the default features.

What code are you using to add the map?

Remember to verify the Security > Site Policies > Enabled trusted content setting is also enabled.


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 Deleted user

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

I had the same issue while creating the demo. Looks like the "trusted content" is applied to the editor. When I added the code as an HTML editor, Atto displayed the map but after save the code, it was not displayed.

Atto is good for simple HTML tasks but really bad when you are coding directly.

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

Re: Adaptable Theme Support

by Rebecca Barrington -

I love this theme - thank you very much! However, there is one thing I am trying to do that I can't figure out!
I want to change the background colour of the section title in a course. In particular, the colour I can't seem to change is the 'currently selected section' (I think!) In the version of the theme I was using this was an option (but it didn't seem to affect the colour it just kept the colour #f3f3f3 according to the inspect panel). On the latest version of the theme the changing of the section colour doesn't seem to exist.
Any ideas of how I can amend this? 
Thank you very much in advance for any help that anyone can give!

In reply to Rebecca Barrington

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for using Adaptable for your moodle site.

In the latest version available, you can change the background colour in: Site administration > Appearance > Themes > Adaptable > Course Sections > Course section Header Background.

Remember to purge cache after changes


In reply to Jez H

Re: Adaptable Theme Support

by Lynn Danzig -

Hi

Thanks for a great theme.

I know you say documentation is coming soon and the forum is a good source of help.

I am new to theme customisation in Moodle.

I have had a bit of experience in Drupal and Wordpress and a reasonable understanding of CSS.

I have watched your video which is great but assumes a bit more knowledge than I have. I will also look at the demo site to learn from that (although because I can't log in as admin I can't see how to customise the front page).

I can drag blocks into regions and I understand how to set the number of rows in my layout and choose the number of regions per row. But I need a beginners guide to layout building.

Any resources or beginner tips you or others can share would be hugely helpful.

Thanks ++

Lynn





In reply to Lynn Danzig

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for choosing Adaptable for your moodle project.

The documentation will be delayed some time because the theme is evolving quickly and we need a stable version to create the documentation.

The layout is available in the layout.png file located in the /pix folder and also available from the settings page. It will show how we call the different parts of the template.

Then you can add content to these areas using the Adaptable settings pages or using the layouts builders.

The idea is to have a custom grid where you can create different number of cells in each row to put the content. In the blocks area, you can add any moodle block. In the marketing area, you can add any kind of content, from text to a video.

There are some samples of code in the README.txt file located in the Adaptable folder. In the demo, you can get the code used using Firebug, but mainly is the same you can find in the README.txt.

I'm working in a new demo site that will be available soon with the latest features (actually doesn't include the layout builders) and I will add more information to add content and use the layouts. Stay tuned.

In the meantime you can make more specific questions if you need help creating your content.







In reply to Jez H

Re: Adaptable Theme Support

by R Ali -

Hello everyone.

I have posted my question else where but I thought perhaps it might have to do with the theme. In case I am doing something wrong or there is something I should be doing.

I have installed "adaptive theme" and was customising it. The page load has been very slow to load and when I manage to log in I can't get past the default home page. All the "site Admin" links were kind of disabled (unclickable) except for the Notifications, Registration and Advanced features.

Initially, Installed moodle 3.0.2 and the upgrade to 3.0.3 thinking that was the problem but nothing resolved.

Could it be anything to do with the theme?


Thank you for your response.


R. Ali

In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Could you try your site with "Clean" theme and tell if you see the same issues with menus?

If it is working well with "Clean" then I will need a screenshot of your site to see what happens.

Verify also the Design Mode is disabled. This will increase the performance. Enable it only  when needed.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
Hello Fernando Thank you for your response.

Earlier this morning, I was able to click through the adaptable menu options without any problem after log on, though it took a while to have the homepage load up.

Later on, the same problem started again, the adaptable menu options and others became unclickable except for the Notifications, Registration, Advanced features.

The problem started before I could get the chance to disable the adaptable theme for the clean one to test out if there is the same problem.

However, Usman from here generated a test for me and I think the screen shot produced some javascript errors related to the adaptable theme and others.

If you could possibly have a look, I will send you by private message the link as I wouldn't like world having access while I am still working on it.

Thank you.

Rafiat Ali
In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

At first sight, there are some permissions problem. When the javascript libraries can't be loaded then moodle fails in the links. It could be Adaptable but bootstrapbase as well.

Please, verify the theme folder permissions: 755 for folders, 644 for files. Verify also you have all the files installed. You can see the Adaptable structure in the BitBucket repository.

Purge cache and test it again.

If still fails then i would need to see the site and probably the server.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
Hello Fernando.
Thank you very much for your help, much appreciated. It looks like the whole problem might be down to the corrupted file. I have changed the permission in adaptable and bootstrapbase is ok, no need to change. I have also changed to clean and the problem persist like with adaptable theme.

Thank you.


In reply to R Ali

Re: Adaptable Theme Support

by Javier Gonzalo -

Hi, congratulations for the theme, is very well done. The problem I have at the home page is that the courses images do not appear. With Tiles (Frontpage Course Boxes) option should appear right?

The images look rigth in other courses listings. What could be happening?

Thanks in advance Fernando and Jez


(Edited by Gareth J Barnard to remove signature, since they are not allowed in the forums according to the Moodle.org site policy https://moodle.org/mod/page/view.php?id=7080 - original submission Friday, 18 March 2016, 2:13 PM)

In reply to Javier Gonzalo

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Did you add the course image in the "Course summary files" section?

If yes, then it should work well.



In reply to Fernando Acedo

Re: Adaptable Theme Support

by Javier Gonzalo -

Thanks Fernando. Yes, the files are correctly assigned, they are in the list of courses. Such is the strange thing. Any ideas?

In reply to Javier Gonzalo

Re: Adaptable Theme Support

by Javier Gonzalo -
In adittion, the frontpagerendererdefaultimage with 'Tiles w/ overlay' I do not see that image.
Javier

In reply to Javier Gonzalo

Re: Adaptable Theme Support

by Javier Gonzalo -

Fernando, researching a little more, that happens when on the home page I choose 'combo list' to show the courses. If I choose courses list', the image look good.' Only fails with combo lists.

In reply to Javier Gonzalo

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The 'Combo list' is not rendered by Adaptable. It is rendered by moodle. For the moment the Combo option is not supported.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Javier Gonzalo -

Thanks Fernando. May be a little info in this layout for future users... It would be good.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -

Thank you Fernando for your help, really appreciated.

From yesterday up till this morning.....

It looks like the website is being stripped off CSS. When I loaded it towards the end of the day last night all I see was a bare-bone moodle structure without css. 

Just like this......

Fragment of the bare-bare bone structure of Moodle I got when I load the site


I have installed a fresh copy  uploaded by FTP. It was ok on first installation with the default clean theme but about half an hour later when I check to see again it came with the bare-bone moodle structure again.

I logged in an cleared the cache, the clean them worked and I installed a fresh copy of the adaptive theme, it seems to work for some minutes but the same problem surfaced again. Once log on, I can't get pass the default login page which is the notification. All the links become unclickable.


Default log on page with Adaptive theme with. All links disabled can't go past this page.
I think to just do away with the adaptive them but I can't get in to disable it. Is there a way I can disable the adaptive theme without getting to the theme setting?


Thank you.

Rafiat

In reply to R Ali

Re: Adaptable Theme Support

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

To change theme outside of the UI, edit the 'config' table of the DB for the row with a name of 'theme' and then do a command line 'cli' purge all caches - Administration_via_command_line#Purge_caches.

In reply to Gareth J Barnard

Re: Adaptable Theme Support

by R Ali -

Thank you Gareth.

I have no access to command line on my hosting.

Any other way.

In reply to R Ali

Re: Adaptable Theme Support

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

Is changing the theme via the URL turned on?

Otherwise, still possible with a bit of skill to navigate to the theme selector and change it.

Or hosting should provide DB access?  So change it there.  Then FTP to your 'moodledata' folder and remove contents of the 'cache' folder.

In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You have some problem in your server when generate the cache file. Verify moodledata has applied 0777 in the permissions and it is located outside the public folder.

You can recover the theme using 'Clean' theme  adding these lines to the config.php:

$CFG->theme = 'clean';
$CFG->themedesignermode = true;

Then, open moodle and verify is working well. Then you could switch to Adaptable.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -

Thank you Fernandes.

I did as suggested it did not work as the clean them links were also unclickable. Then I deleted the entire theme files and replaced  with copy from a fresh moodle software. This seems to work as I was able to do all the configuration, link clicking  without any problem. But when I do try to apply a different theme in place of the clean theme. I get redirected to the home page with clean theme unchanged. I tried this with different themes including adaptive which I freshly installed, I still get redirected to a clean theme homepage unchanged.

What am I doing wrong? Please help.

Much appreciated.

Rafiat

In reply to R Ali

Re: Adaptable Theme Support

by Jez H -

Hi Ali,

Have you tried purging caches in Moodle and clearing caches in your browser? To clear caches in Moodle go to:

adminsitration > development > purghe all caches

In reply to Jez H

Re: Adaptable Theme Support

by Tony Kidd -

Hi

I am using your theme - thanks very much. I am having an issue though with the marketing blocks on the front page. I have configured it to have one live of three blocks and they all lay out OK until I add an htm link and then for some reason the three blocks break into two lines, the first line with two blocks and the second line with the third block.


I have played around with it quite a bit and figured out it is the addition of the link that cause the problem. But cannot figure out how to overcome this.


I even tried with he sample HTML you provide:


<div><img src="http://somewebsite.com/2.jpg" class="marketimage"></div>
<h4><a href="#">International Courses</a></h4>
<p>Some text below the link....</p>
but does the same thing. Help is much appreciated. 
In reply to Tony Kidd

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for choosing Adaptable for your moodle project.

Are you using latest version?

Past version had an issue when you added a link in the marketing blocks but it is already fixed.




In reply to Fernando Acedo

Re: Adaptable Theme Support

by Tony Kidd -

Hi Fernando

Thanks for the response. I updated to 1.2.0 and all good. Cheers!

In reply to Jez H

Re: Adaptable Theme Support

by Javier Fiasche -

HI!!!


After installing Adaptable, I get the following error message and cannot login to my site any more. 

Coding error detected, it must be fixed by a programmer: page layout file [dirroot]/theme/clean/layout/ does not contain the main content placeholder, please include "<?php echo $OUTPUT->main_content() ?>" in theme layout file.


Does anyone know that is happening and how to solve it?


Thanks

Javier

In reply to Javier Fiasche

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This error is not related to Adaptable because the path shows that you are using Clean instead Adaptable:

[dirroot]/theme/clean/layout/ 


Did you purge cache?

Did you purge theme cache?

Verify also the theme selected.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Javier Fiasche -

Hi Fernando, 


Actually the error appeared after installing adaptable.  It is related to clean, but appeared after executing the installation. 


I did not purge the cache, nor the theme cache. How can I do that? I have no access to my admina nd login  pages any more: ( see: http://54.210.251.236/ )


Is there any way to purge the caches by command line? 

Also how  do I know which theme is selected?


Thanks. 


PS Sorry for the basic questions but I am new to this. 

In reply to Javier Fiasche

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You can purge cache from the command line:

 php admin/cli/purge_caches.php


And I would try to reinstall Adaptable using also the command line. Looks like some file is missed.

You can download latest version from Bitbucket using wget, then unzip the folder overwritten the files.

You can enable the debugger and the Designer Mode in config.php


$CFG->debug = 6143;
 
$CFG->debugdisplay=1;
$CFG->themedesignermode=true;
In reply to Javier Fiasche

Re: Adaptable Theme Support

by Arnold ADIBA -

I've the same issue, under a local test 3.1moodle, I've see some losing files under theme/base folder,

so I redownload the master then copie/paste the entire uptodate theme folder and the process go on.

HopThatHelp

In reply to Jez H

Adaptable Theme Support

by Santiago Rivera Botero -

Hello,


Coould some of you please help me set up the Announcements in my moodle?



Sincerely,


Santiago

In reply to Santiago Rivera Botero

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

In the top of the Header ticker section and the README.txt file you have some information about how to add the text for the news ticker.

You must add a <li> tags without <ul>. Then Adaptable will display the list as a ticker news.

See this screenshot from the demo site:



In reply to Fernando Acedo

Re: Adaptable Theme Support

by nima beyk -

Thanks Fernando

But I am a novice in Moodle

can you explain in more details shy

In reply to nima beyk

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is not a moodle question. It is a basic HTML coding.

See screenshot



Average of ratings: Useful (1)
In reply to nima beyk

Re: Adaptable Theme Support

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

If you just use the bullets in the Atto editor, your announcements will show.  No need for html!

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

Re: Adaptable Theme Support

by Tony Kidd -

Hi - is there a way to remove the course categories drop down and the search course? Please see attached. 


 

Attachment course search - drop down.jpg
In reply to Tony Kidd

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Go to Site Administration > Front page settings and change the items to display.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Tony Kidd -

Thanks for the reply - this is actually in the courses section. My front page is set to display no items and they dont actually show on the front page.

In reply to Jez H

Re: Adaptable Theme Support

by Luca Pozzi -

Hi There everybody !

I use this colorfull theme in my Moodle but I havea simple and maybe stupid question ...

Is there the possibility to customize the color of single course block in the home page ?

Thank you a lot !

Stil86

In reply to Luca Pozzi

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable doesn't include this feature.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -

Hello Fernando than you for your help.

I have enabled the frontpage ticker and the alert box but can see them on the pages. Is there anything I should be doing to make them appear. I want everyone to see them so I chose that option for the alert and I have left the custom option field empty for the ticker so everyone see it. Why is it I am not seeing it. Please help


Thank you.


Rafiat.


In reply to R Ali

Re: Adaptable Theme Support

by R Ali -
Sorry I meant "I cannot see the front page ticker and the alert" when the page loads even though I had set them. Not sure what is wrong.

I do have a localhost installation that shows the Front page ticker but not the alert they both have exactly the same settings.

Anything I need to do to make them appear?

Thank you.

Rafiat

In reply to R Ali

Re: Adaptable Theme Support

by R Ali -

Ok, I got it. When you make the "Header Navbar" sticky, the front page "ticker" disappears. when you unstick it the "Header Navbar" appears. It looks like they exclude each other sort of, I would like to have both. I like the sticky navbar, it moves along as you scroll and you don't have to scroll all the way up to navigate from your current page.  I want the front page "ticker" because it blends into the page not very intrusive yet noticeable.

I still don't get why I am not seeing the alert though, possibly I will find out as I explore this wonderful theme.

Thank you.


In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

There are some issues depending the theme configuration using the sticky header. We're working to fix it.

In reply to R Ali

Re: Adaptable Theme Support

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

Add this to additional css - fixed it for me:

#ticker-wrap {

  1. margin-top180px;

In reply to Emma Richardson

Re: Adaptable Theme Support

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

Ok, well not quite because on pages where the ticker resides, it now pushes down the main container creating a lot of white space...

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Stick the navbar is much more complex in Adaptable than any other theme. We display several alerts, top menu, header and navbar menu.

So it will take more time as expected to fix it.

In reply to R Ali

Re: Adaptable Theme Support

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

Temporary (ugly but works!) css fix for ticker not showing when navbar header is sticky - bear in mind that if you remove the ticker or unstick the navbar, you will also need to remove the custom css.

/* fix ticker spacing and extra white space on home page*/

#ticker-wrap {

margin-top: 180px;

}

#page-site-index div.container.outercont {

padding-top: 20px !important;

}

#page-my-index div.container.outercont {

padding-top: 20px !important;

}

/*end fix*/

The my-index part is only needed if you have the ticker set to show on Dashboard.

In reply to Luca Pozzi

Re: Adaptable Theme Support

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

Each block has a class such as .block_settings or .block_navigation

You can use that to add css to a specific block through the theme customcss setting - use firebug or chrome developer tools to find th eelement of the block you want to recolour.

In reply to Jez H

Re: Adaptable Theme Support

by Emil Heidkamp -

Hello - love your theme.

Is there a way to display nav tool menus based the values of multiple custom user fields?  For instance "unit=Ecuador" AND "jobgrade=1"?

In reply to Emil Heidkamp

Re: Adaptable Theme Support

by Jez H -

Hi Emil,

I am afraid that is not possible at the moment but is something we plan to add at some point. We were also going to look at the possibility of targetting cohorts.

In reply to Jez H

Re: Adaptable Theme Support

by Hank Nguyen -
Nice theme. But I have some questions.
how to hide header and nav bar?
How to insert content in Marketing box?
How to change css or html in this theme?
 Thank you
In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

If you hide the header and Navbar the theme is totally useless because users can't access the main menu items: Home, Dashboard, Events, ... and you couldn't login to the site directly.

So use this CSS style at your own risk:

#page-header-wrapper {
display
: none;
}

The Marketing blocks section is available in Site Administration > Appearance > Theme Selector > Adaptable > Marketing Blocks

You have some samples of code to be used in the marketing blocks in the README.txt included with the theme.



Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Adaptable Theme Support

by Hank Nguyen -
Where can I put this CSS:
#page-header-wrapper {
display: none;
}
And Can I insert my search box to Frontpage Slider ?
Thank you.
In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The custom CSS can be added in Site Administration > Appearance > Themes > Adaptable > Custom CSS and JS


You can select what to display: social icons or search box in: Site Administration > Appearance > Themes > Adaptable > Header > Use Search Box or Social Icons

In reply to Jez H

Re: Adaptable Theme Support

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

Feature request:

You have the different regions available in the footer but it would be really great if the region locations were absolute.  Currently, if you do not have anything in region 2 or 3, content placed in region 4 will automatically shift left to region 2 position.  Any chance of being able to get these fixed so that we can put content on the right side of the footer regardless of what other content is there?

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma, this is the expected behaviour. You can select the layout: 1, 2, 3 or 4 positions. Depending the number of positions, Adaptable will fill the space. using 100, 50%, 33% or 25%.

But if you want to keep an empty block in the middle, try 3 blocks (4+4+4) and add empty content to block number 2. For example:

<p>&nbsp;>/p> 

Then only block 1 and 3 will be displayed in the footer.

In reply to Jez H

Re: Adaptable Theme Support

by Ralph Blakeslee -

Wonderful theme!  Having a bit of a problem.  Images that I upload and place in the marketing block do not appear unless a user is logged in.  Once the user logs in the appear!   I am sure this is something silly I have overlooked. 

Many thanks,

Ralph

In reply to Ralph Blakeslee

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

How do you add the images in the marketing block HTML? Using a URL or using the editor option to embed an image?

Could you share the code?

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Ralph Blakeslee -

I'm using the build in file upload.  However, when I upload an image outside of the moodle environment and paste in the address the image is visible.

Ralph

In reply to Jez H

Re: Adaptable Theme Support

by Leandro Angelo -
I created the custom menu, how can I let it visible to the public?
In reply to Leandro Angelo

Re: Adaptable 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,

When you say you created the Custom Menu, what method did you use?

Was it the in Site Administration > Appearance > Themes > Theme settings page?

If so then the menu should be visible to the public in the top menu bar.

If you are talking about the Tool Menu, which is an Adaptable setting, then this is only visible when logged in and therefore not for the general public.

Hope this helps?

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

by Leandro Angelo -
Yes I created the menu: Administration> Appearance> Themes> Theme settings.

See pictures:

Logged on to the website:

Logado

Visitor / public:

appends

Attachment logout.png
In reply to Leandro Angelo

Re: Adaptable Theme Support

by Leandro Angelo -

Logged on to the website:

Attachment logado.png
In reply to Leandro Angelo

Re: Adaptable Theme Support

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

Ah...that is unusual, I had assumed the custommenu was the same as it is normally in Moodle, but sadly it is different in Adaptable, either that or there is an error in the adaptable/layout/includes/header.php where it is a little bit confusing reading the code there as the custommenu follows a section that is when logged in. It could be an over site on the coders part as there are lots of conditional statements that could conflict if the closing } is in the wrong place.

I think this could well be a BUG.

Hope this helps?

Mary

In reply to Leandro Angelo

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable do not display the moodle custom menu for guests. Only when the users are logged can see this menu.

In the Header Menu section  you can add 'Top menus'. You have more control to display these menus to different groups of users including guests.

You can add these menus following the same format than moodle custom menus.




In reply to Jez H

Re: Adaptable Theme Support

by Emil Heidkamp -

Hello,

Adaptable seems to be encountering a 500 internal server error when attempting to populate the "My Courses" dropdown in the header nav bar.  Disabling "my courses" avoids the issue but we would really like to get this working if possible.

The page loads as far as below before hanging up: 

"

    <div id="navwrap">

        <div class="container">

            <div class="navbar">

                <nav role="navigation" class="navbar-inner">

                    <div class="container-fluid">

                        <a class="btn btn-navbar" data-toggle="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 ">
"

In reply to Emil Heidkamp

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

What Adaptable version?




In reply to Fernando Acedo

Re: Adaptable Theme Support

by Emil Heidkamp -

Here's the log...

[Mon Mar 28 15:17:21 2016] [error] [client 69.171.19.208] PHP Fatal error:  Call to undefined function mb_strimwidth() in /var/www/html/moodle/theme/adaptable/renderers.php on line 1031

In reply to Emil Heidkamp

Re: Adaptable Theme Support

by Emil Heidkamp -

Fixed it.  We were missing a module in the Linux distribution.

In reply to Emil Heidkamp

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Glad to hear it.

For future similar issues. The php-mbstring library must be installed and show a green OK in the Server environment.


In reply to Jez H

Re: Adaptable Theme Support

by Hank Nguyen -

How to edit CSS of text on Slider?

and How to create new page like front page with your theme?

Thank you

In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

What CSS? What you want to modify in the slider?

What you mean when say "To create a new page like front page? All the theme only have one front page. You can't use more than one. You only can modify the existing and this is the idea of Adaptable.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by Hank Nguyen -

I want to modify text display over the slider but I don't know ID of it to add CSS.

In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The slide text colours can be changed in the Frontpage Slider section

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Hank Nguyen -
Ok, but i want to add some CSS for text display over the slider. How to do it?
Thank you.
In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable includes a common option in all the modern moodle themes to add custom CSS and even JS.

Site administration > Appearance > Themes > Adaptable >Custom CSS & JS

I know Adaptable has hundred settings and it is difficult to know all of them. But if you take some minutes taking a look to the different sections will see what Adaptable can do and how.

We tried to add help to each setting and the sections are clearly organized and you also have the layout image that helps to understand the region names.


In reply to Jez H

Re: Adaptable Theme Support

by Murilo Timo Neto -

Hi,

Is there any way to import / export the theme settings?
I have a development environment, and will set the theme there. how do I migrate the settings for the production environment?


congratulations for the theme

In reply to Murilo Timo Neto

Re: Adaptable Theme Support

by Murilo Timo Neto -

could find a table plugins settings is the config_plugins

I did the following:

SELECT id, plugin, name, value
  FROM mdl_config_plugins
  where plugin = 'theme_adaptable'

and now?
just do the update?


In reply to Murilo Timo Neto

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

It is not possible for the moment to save the settings. I'm working on it because we have the same situation in development for our clients.

With PHPMyAdmin and your query (the same we use) is very easy to do it.

To export the settings:

  1. Open PHPMyAdmin
  2. Select the Database and the table in the left sidebar menu
  3. Click the SQL tab in the top
  4. Run the query
  5. PHPMyAdmin will display the result
  6. In the bottom of the screen, mark the 'Check All' checkbox
  7. Click the 'Export' link
  8. Change the settings, if needed, and press the 'Go' button


To import the settings:

  1. Open PHPMyAdmin
  2. Select the Database and the table in the left sidebar menu
  3. Click the Import tab in the top
  4. Add the SQL file from your computer and click Go button
  5. Copy the Adaptable files to the /theme folder
  6. Go to Site Administration > Appearance > Select Theme and select Adaptable


You should get a clone of the original theme

In reply to Jez H

Re: Adaptable Theme Support

by Ralph Blakeslee -

Folks,

How can I change the speed (increase or decrease) the speed of the front page slider?

Best regards....

Ralph

In reply to Ralph Blakeslee

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

It is hardcoded in /jquery/jquery-flexslider-min.js. You must find the variables that control the slide speed and delay and modify the values.

The slider settings are in my To Do list but not for now.


In reply to Jez H

Tárgy: Adaptable Theme Support

by József Somogyi -

Hi

 

I would like to ask can you help me (I didn't find the conversation id)

"Thursday, 25 February 2016, 10:41 PM"
and
" Friday, 25 March 2016, 8:03 PM "
In reply to Jez H

Re: Adaptable Theme Support

by Hank Nguyen -
I use HTML block to create my search box. How to use it to search courses?
Thank you for your help.
In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable already include a Search Course option so you don't need to create a new one. Just disable:

Site administration > Appearance > Themes > Adaptable > Header Social > Add social icons and hide search bar



In reply to Jez H

Re: Adaptable Theme Support

by Dana Johnson -

Hello,


I absolutely love the Adaptable theme!  Has anyone has issues with the grade book after you turn editing on?  The "save changes" button disappears.  You have to know the location of the button and it becomes visible when you hover with the mouse.  My instructors are not going to be happy, if they can't find the save changes button.  Please see attachment.  Any suggestions on how to make it visible is greatly appreciated.  I am using Moodle 3.0.3 and Adaptable theme version 1.2.1 (2016031800).


Thank you!

Dana

Attachment Gradebook3.jpg
In reply to Dana Johnson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for using Adaptable in your moodle site.

We are aware of the issue and working to fix it. There are no  workarounds for the moment so I hope will be solved soon.

In reply to Jez H

Re: Adaptable Theme Support

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

I cannot figure out why the This Course menu is not appearing...

I have it enabled in the settings.  At first, I thought it might because I have a custom link showing in the navbar there (from theme settings) but I took it out and still no menu.  I do have a tools menu - does that disable the This Course menu?

Is it specifically for certain users?  I tried logging in as a student - that didn't work...just not sure what I am missing.  Using latest version on 3.0.2.

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Looks there is a regression in latest version. I've testing and I can't see the menu in my dev site so i will try to fix it.

Thanks for reporting.

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma, try to install version 1.2.1 from our BitBucket repo.

Not sure what happened but my dev site was working and testing not. In dev I have latest version so probably a regression in some point of version 1.2.0

Upgrade the theme and purge cache. Also verify the Navbar Cache Time is set to 0. The Navbar has its own cache wink


In reply to Emma Richardson

Re: Adaptable Theme Support

by S. Ali -

Hello Emma,

I had a similar problem after the last update and the only way I would get the "This Course" option to display was to set the value of Navbar Cache Time to 0 in the Header Navbar section.

Perhaps you can see if this works for you.

Regards,

s.ali

Average of ratings: Useful (1)
In reply to S. Ali

Re: Adaptable Theme Support

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

This worked - thank you!!  I did not need the upgrade which I was not wanting to do as I have a few customizations and have just gone live.

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Glad to hear it. It seems that there a problem in the cache setting because it works when 0 but fails when other values are used.

We'll take a look to it and try to fix it.


In reply to Jez H

Re: Adaptable Theme Support

by Gary Lynch -

Hi all

I am implementing this theme for our organisation and i have hit a block wall sad

I have some css knowledge now (thank you to Mary Evans postings smile)

I am trying to make the custom menu 'button' have a hover effect whenthe mouse moves over

I have tried put this into custom css rather than hack original coding

I have tried

#nav .nav > li  > a:hover {
background-color: #ffffff; }

and

.nav .nav > li  > a:hover {
background-color: #ffffff; }

Am i in the right direction?

Gary

In reply to Gary Lynch

Re: Adaptable Theme Support

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

The CSS for the Custom Menu hover is this...change colours to suit you!

Thanks Mary

In reply to Gary Lynch

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

No, that CSS is not working and the provided by Mary should work but it fails also.

I need to make some tests to provide you the right code. This option should be in the menu colours but never done. Hope add it in the future.

In reply to Jez H

Re: Adaptable Theme Support

by Dana Johnson -

Hello,


In the readme.txt within the theme, it give instructions on how to add font awesome icons.  I have tried to add the code to add the icons with no success.  If I use the CSS class, nothing shows up and if I use the unicode, I get a broken icon.  It is my understanding that font icon awesome filter for Moodle is not necessary, especially when you have the fonts in a directory.(located in fonts folder of the theme).  Am I missing something?

Example

Footer Blocks
----------------------------
Contact information

<i class="fa fa-building"></i>  High St. 100<br>
<span style="margin-left: 20px;">123456 City</span><br><br>
<i class="fa fa-phone"></i> +12 (3)456 78 90<br>
<i class="fa fa-envelope"></i> info@mail.com<br>
<i class="fa fa-globe"></i> www.example.com

OR

<i class="[&#xf1ad;]"></i>  High St. 100<br>
<span style="margin-left: 20px;">123456 City</span><br><br>
<i class="[&#xf095;]"></i> +12 (3)456 78 90<br>
<i class="[&#xf0e0;]"></i> info@mail.com<br>
<i class="[&#xf0ac;]"></i> www.example.com


Thank you.

Dana


In reply to Dana Johnson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Using the readme.txt sample you don't need to use the filter. Adaptable applies directly the font using the CSS. The filter only simplifies the icon input in the editor.

Is FA displayed in other blocks or content? For example, enable display icons in Blocks Settings.

If not, can you verify the font-awesome files are loaded correctly? Verify the folder exists and the permissions.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by Dana Johnson -

Hi,


The icons do not display when I enable "display icon in Block Settings".  The folder exist and I am assuming that I have full permissions.  Please see attached.


Thank you.

Dana

Attachment FontAwesome2.jpg
In reply to Dana Johnson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Could you change the files permissions to 644. Now is 660 (really strange).

I see the owner is apache but not sure of the user that access the folder is apache or other outside the froup because it looks is mounted outside the apache folder.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Dana Johnson -

Hello,


I changed the file permissions to 777, purge cache and still no luck.  Whatever the issue is, it is consistent with different browsers (IE, Chrome, Opera and Firefox).  Any other suggestions?


Thank you.

Dana

In reply to Dana Johnson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Open the Source Code page and click the link indicated above.



This URL must open the Font Awesome CSS stylesheet. If you can't see the CSS content then you have a permissions issue in the /style folder.

if you can see the CSS content then the problem is located in the /fonts folder.


In reply to Fernando Acedo

Re: Adaptable Theme Support

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

Hi Fernando,

There is an issue in Moodle that I remember from many years back that you can't have a CSS file in the styles folder with two periods in the filename.  This breaks things.  So even though you are not serving that file via the cached CSS mechanism (and perhaps you're not anyway because you did not know this) then it could be an issue.

Therefore rename to 'font-awesome_min.css' and you'll find that things improve including using in config.php instead of manually including and potentially breaking $CFG->themedir installations too.

Gareth

In reply to Gareth J Barnard

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
Gareth, thank you for the advice.

This method is inherited from BCU and I don't know any incidence related to it in all the sites using BCU or Adaptable.

Anyway, I will try to change it and add the FA CSS file to config.php and rename it.
In reply to Jez H

Re: Adaptable Theme Support

by Hank Nguyen -

Can I use bootstrap grid in the footer content section ?

How to edit CSS of the footer content section ?

Thank you.

In reply to Hank Nguyen

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Why do you want to use BS grid in the footer? Adptable is already using the BS grid to display the blocks in the footer and in the whole theme.

Please, review the Adaptable settings to find the answer of your questions. There are a section called 'Footer' where you can find all the settings applied in the footer.  

You can add HTML and CSS to the blocks, see the readme.txt file included. And if you need custom CSS, add it to the 'Custom CSS and JS' section.



In reply to Fernando Acedo

Re: Adaptable Theme Support

by Gary Lynch -

HI All

Just a little knowledge seeking here smile


i am trying to add 2 bootstrap components to the front page topics area which works fine smile

but i can not get them to sit side by side unless i use a table sad


i am using

<div class="row">
    <div class="col-md-6">
       
<div class="panel panel-default"><div class="panel-heading">Panel</div><div class="panel-body">..</div></div>
    </div>
    <div class="col-md-6">
       
<div class="panel panel-default"><div class="panel-heading">Panel</div><div class="panel-body">..</div></div>
    </div>
</div>

but they still sit vertical!

Is there something i'm missing here?


If i add Bootstrap cdn to the additional html header it works but wipes out must of the other functions on the front page sad

Gary

In reply to Gary Lynch

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

All the moodle themes based in boostrapbase like Adaptable still use Bootstrap 2.

If you are trying to add Bootstrap 3 elements then will not work. And if you add the Bootstrap 3 library then the whole site will crash.




Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Adaptable Theme Support

by Gary Lynch -

Fernando and Richard

Thank you for the help smile

That made sense and now i have achieved what i set out to do smile

Funny what you lean from a simple question smile

Fernando

Any news on my last post regarding the 'code' for hover on the custom menu?

Gary

In reply to Gary Lynch

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Sorry, I was testing the hover and forgot to post the code. Add this snippet of code in the Custom CSS section of Adaptable:

.navbar .nav > li > a:hover {
    background-color: #fff000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

Change the colours to fit your site.

Notice the !important at end of each line. We need to overwrite all the previous styles with the custom css code.


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

Re: Adaptable Theme Support

by Genevieve Volkers -

Hi,

We have just installed this theme for our school to be used for start of term next week (11th Apr 2016). However, we just found out that the "Show" topic (eye) button is not working at all. Once the topic has been hidden, we could not un-hide it. Is this a bug? Or is there something we had not turned on?  Your help is greatly appreciated.

Attachment Show and Hide button.PNG
In reply to Genevieve Volkers

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

I can't replicate the issue. Tested in 2.8 and works well. Version 3.0 use a dropdown menu instead the 'eye'

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Jez H -

Hi Fernando,

This is fixed in our current master but not in the release here on Moodle.Org, I just added some css to fix this (via custom css & js) in the reply below.

In reply to Genevieve Volkers

Re: Adaptable Theme Support

by Jez H -

Hi Genevive,

That was a bug affecting Moodle 2.8 and perhaps other versions.

I have fixed it but its not in the released version yet, so for now you will need to apply a work around:

Go to the "Adaptable > Custom CSS & JS" settings page.

Paste in the following code and save:

.course-content ul li.section.hidden .sectionname, .course-content ul li.section.hidden .content > div, 
.course-content ul li.section.hidden .activity .activityinstance {
    margin-right: 40px;
}

                                    
In reply to Jez H

Re: Adaptable Theme Support

by domenico c -

Hi, thank you for developing Adaptable!

Is it possible to show the hidden blocks region from the front page throughout the site (obviously for admins only)?

In reply to domenico c

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Not for the moment.

What is the reason to display the blocks outside the frontpage?

If there are good reasons we can consider to add it.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
Hello. Thanks for the Theme. I believe I have the theme working perfectly well after the initial problem from first installation has been resolved. But now, when I tried to access the "Frontpage Slider" option of the theme for editing it gives me this error.... "Cannot read file. Either the file does not exist or there is a permission problem." The "more information" part of the error says says something about missing file from the "moodledata" rather than permission problem. If I have a missing file, I wouldn't know which. I had migrated the moodledata from my localhost installation from where everything works without any problem. The current permission on the moodledata directiory on a shared-hosting server i s "777". Could you kindly help resolve this problem. All the other options has no problem except this. I have installed a fresh "adaptive" theme just in case but the problem remains. Thanks Rafiat
In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The error message is very clear:

"Cannot read file. Either the file does not exist or there is a permission problem."

Adaptable save slider images in moodledata. If the file is missed or can't be read it due a permissions issue then will display this error.

Verify the moodledata permissions. files and folder all must have 777.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
The frontpage slider option keep giving the following error each time I tried to click on it.
error message

I have changed the permissions to 777 for the moodledata as advised but no help. I turned on the debug and I got the following.

Any help with this?

 PHP Warning: include(): Failed opening '/home/***/public_html/***/theme/image/version.php' for inclusion (include_path='/home/***r/public_html/***/lib/zend:/home/***/public_html/***/lib/pear::/usr/local/php54/lib/php') in /home/***/public_html/***/lib/classes/component.php on line 1115, referer: http://***/***/admin/plugins.php

PHP Warning: include(/home/***/public_html/***/theme/image/version.php): failed to open stream: No such file or directory in /home/***/public_html/***/lib/classes/component.php on line 1115, referer: http://****/***/admin/plugins.php

Thank you

Rafiat
In reply to R Ali

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The message is really clear. The files doesn't exists or can't be read.

By other hand, the path indicated is not valid.

Failed opening
'/home/***/public_html/***/theme/image/version.php'

Adaptable doesn't have a folder named 'image' and theme folder shouldn't include a folder named image. And I don't see the adaptable folder.


So I think you have messed some files and can't be readed by moodle.

Please, verify the installation paths and the folders permissions, not only moodledata.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
Hello Fernando.

Thank you for your help

I have done as you advised but could still not get it work. As a last resort. I downloaded a fresh copy of moodle and re-installed, then I uninstall adaptable theme, purged all the cache and re-installed a fresh copy, starting all over again. All the error seems to be resolved by doing this but one.

Every now and then, the CSS breaks when I try to load a page and I will have to navigate from the url to "purge all cache" after this, the CSS comes together again nicely but soon, it will break again.

I read a post someone having similar problem (though they were developing a theme) and there was a link to the Using images in a theme. The syntax to include image in css is given as:
 [[pix:theme|path/to/image/imagename]] and example as:
body {background-image:url([[pix:theme|gradient]]);}

I created a folder "image" in the "pix" directory of the adaptive theme and I have included two background images in the adaptive css option as follows:

 .userhead{
background: url(http://***/moodle/theme/adaptable/pix/image/myimage1.png) no-repeat 1%;
}

div.loginbox{
background: url(http://***/moodle/theme/adaptable/pix/image/myimage2.jpg) no-repeat right;
}

The images show  perfectly well.

but when I followed the above syntax as follows

.userhead{
background-image: url([[pix:theme|image/myimage1]])no-repeat 1%;
}

div.loginbox{
background-image: url([[pix:theme|image/myimage2]])no-repeat 1%;
}

The images did not show.

My point here is, possibly the way I have included the background image is the problem causing the CSS to break every now and then. But I can not seem to get the syntax right for the moodle recommended way in order for me to confirm either way.

If I can get some help in the right way to use the syntax if it is crucial to do so. Also help in diagnosing why the CSS keep breaking and how I can resolve it.

Thank you.

Rafiat

In reply to R Ali

Re: Adaptable Theme Support

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

That looks like you have a theme called 'image' which is not working correctly and the files not being found, but it looks like that error is not Adaptable related.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by R Ali -
Hello. Thanks for the Theme. I believe I have the theme working perfectly well after the initial problem from first installation has been resolved. But now, when I tried to access the "Frontpage Slider" option of the theme for editing it gives me this error.... "Cannot read file. Either the file does not exist or there is a permission problem." The "more information" part of the error says says something about missing file from the "moodledata" rather than permission problem. If I have a missing file, I wouldn't know which. I had migrated the moodledata from my localhost installation from where everything works without any problem. The current permission on the moodledata directiory on a shared-hosting server i s "777". Could you kindly help resolve this problem. All the other options has no problem except this. I have installed a fresh "adaptive" theme just in case but the problem remains. Thanks Rafiat
In reply to domenico c

Re: Adaptable Theme Support

by Jez H -

Hi Domenico,

I think some of our users would find that useful, I will look at adding that as an option in the future, but I am afraid it will be some time before I get around to it.

In reply to Jez H

Announcements "undefined"

by A. A. -

Hi,

when I started using the Adaptable Theme I set few announcements in the frontpage ticker and it was working fine.

Now the frontpage ticker starts showing the first announcement and immediately after it shows the message "undefined".

I have Moodle 3.0+ and Adaptable 1.2.1.

In reply to A. A.

Moodle crash after installing latest version of Theme Adaptable

by A. A. -

Hi, following the advice in some post here, I installed the latest version of Adaptable  (covuni-moodle-adaptable-70b6d52942a4.zip).

After the installation I received the following message :

"page layout file [dirroot]/theme/base/layout/general.php does not contain the main content placeholder, please include "<?php echo $OUTPUT->main_content() ?>" in theme layout file."

Now the moodle site is off, because I always receive the same error message.

What to do?


In reply to A. A.

Re: Moodle crash after installing latest version of Theme Adaptable

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The repository version is a NON-STABLE VERSION. So never use it in production sites without previous testing.


In reply to A. A.

Re: Moodle crash after installing latest version of Theme Adaptable

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

Delete the incorrectly named zip file you have installed - and you will possibly need to replace the previously existing files too.

GitHub/BitBucket zip files usually need to be renamed before they are used if they are downloaded direct from the repository, they have the branch and other info appended to the zip name - and you are always advised to use the stable version from the plugins repository for production use. The github/bitbucket master branch should generally only be used for testing/development and should ideally be installed by cloning (in github terms, as Im not fas amiliar with bitbucket) from the repository.

In reply to Richard Oelmann

Re: Moodle crash after installing latest version of Theme Adaptable

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
It's all well and good telling people not to use the Adaptable Master ZIP file as it can cause no end of problems, as we all well know, but you can't expect users who read this opening message at the top of this discussion. In fact when was the last time you read it? https://moodle.org/mod/forum/discuss.php?d=326234#p1311757 As you will see it gives a direct link to that ZIP file and yet gives NO advice as to how to add it to your Moodle site leaving the unsuspecting user to upload said file to Moodle via the Moodle plugin instaler. I have mentioned this the other day and yet nothing is done about it. I have a good mind to remove it. If you feel that that would be a good idea Richard, than please do so. Thanks Mary
In reply to Mary Evans

Re: Moodle crash after installing latest version of Theme Adaptable

by Jez H -

Hi Mary,

If you could remove that link I would be grateful,

Thanks

In reply to A. A.

Re: Moodle crash after installing latest version of Theme Adaptable

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
I don't think the problem is related to the folder name, that must be renamed as Mary and Richard pointed.

It looks a version mix or some files inconsistency. Did you purge caches?

I just installed the theme from the repository (updated yesterday late night) in a moodle 2.8 and works like a charm.
In reply to Fernando Acedo

Re: Moodle crash after installing latest version of Theme Adaptable

by A. A. -

Ok, I will never again download from gitub or other site that is not the Moodle plugin directory.

Anyway now, how can I solve the problem? is it only a matter to substitute the Adaptable directory with the old Adaptable directory?

Are there other files that have been affected?

Thanks

In reply to A. A.

Re: Moodle crash after installing latest version of Theme Adaptable

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

If you replace the files for an older version moodle will complain.

Follow these steps:

1. Select the Clean theme

2. In Plugins overview remove Adaptable

3. Replace the Adaptable files

4. Go to Site Administration > Notifications and install Adaptable again



Average of ratings: Useful (1)
In reply to Fernando Acedo

Re: Moodle crash after installing latest version of Theme Adaptable

by A. A. -

Hi Fernando,

to put Moodle online again, the IT guys copied an old directory of the Adaptable theme, otherwise it was impossible to start Moodle.

Now as soon as I try to change theme, as you suggested, I get the same message "page layout file [dirroot]/theme/clean/layout/ does not contain the main content placeholder, please include "<?php echo $OUTPUT->main_content() ?>" in theme layout file.".

If we install a new version of Moodle and copy the Adaptable directory to it, do you think it will work without loosing all the Adaptable settings already made?

Thanks

In reply to A. A.

Re: Moodle crash after installing latest version of Theme Adaptable

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This error is not related to Adaptable:

"page layout file [dirroot]/theme/clean/layout/ does not contain the main
content placeholder, please include "<?php echo
$OUTPUT->main_content() ?>"


And the original message was not related to Adaptable too:

"page layout file [dirroot]/theme/base/layout/general.php does not
contain the main content placeholder, please include "<?php echo
$OUTPUT->main_content() ?>" in theme layout file."

I remember to discuss this issue in the past in this form. Search for the answer because is a problem regarding the moodle installation.

In reply to Fernando Acedo

Re: Moodle crash after installing latest version of Theme Adaptable

by Derek Chirnside -
I'll post this, and hope it is not a red herring.

I think Fernando is right.

I can destroy Base on our Moodle by uploading a zip file theme in the wrong format.  I have done it with three different themes at least, and it was not a theme problem since it worked when I got the naming correct.  I have not messed up Clean, only Base.

I have described it a bit here: https://moodle.org/mod/forum/discuss.php?d=322976

But, warning, I was doing this work a little bit piecemeal and I did not keep good records of what I did in the middle of this process, and I could be wrong.

-Derek


In reply to A. A.

Re: Announcements "undefined"

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Did you follow the instructions located  in the top of the page?

Did you verify the text has no <ul> tags?


In reply to Fernando Acedo

Re: Announcements "undefined"

by Jez H -

Hi Fernando,

Those "<ul>" tags should be stripped automatically now but it could be improved further, I just created issue #430 for this.

In reply to Jez H

Re: Adaptable Theme Support

by Jason Hollowell -
Picture of Particularly helpful Moodlers

Not sure if I should be posting my question as a response here or starting a new question thread (which would make a bit more sense as this thread is very long and cumbersome) but...since it says post here... smile

I've installed Adaptable and am enjoying experimenting with the many customization settings built into the theme.

My problem is, however, I cannot get course images to display...seemingly no matter what setting I tweak. I have uploaded a course image in the 'summary' area within the course settings, selected "Tiles w/overlay" for frontage course display settings toggled on an off:

Show course contacts

Show all course contacts

Show course contacts role

Show tiles course button

Display available courses

but no combination results in me being able to see the image. The image is a small jpeg. I just downloaded the theme yesterday from the plugins database....let's see...I'm running the most recent (as of two days ago) version of Moodle 3.

Probably forgetting some important detail(s)....?

Any help in pointing me in the direction of discovering what I'm missing will be much appreciated. smile

Regards

Jason

In reply to Jason Hollowell

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable uses the image added to the course summary as coursebox image.

Even it should work at first try, purge caches and verify the image is really uploaded to the course.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Jason Hollowell -
Picture of Particularly helpful Moodlers

Fernando,

Thanks but I tried purging all caches (and also turned on 'theme designer mode' for the time being) but I'm still not able to see the image I uploaded into the course. It is a 9kb JPEG (218 X 231px). I feel like I probably have a setting somewhere set incorrectly....or at least I'm hoping it's that simple.

Regards

Jason 

P.S. I tried uploading the same image to "Default course image" within the Frontpage courses setting in the theme and it then shows up for all courses. Of course, I don't want that, I want a unique image for each course...which it seems like I should be getting but...I'm doing something wrong.

In reply to Jason Hollowell

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is a screenshot of the right place.


The image size is 960px x 400px. Even it is too big it is displayed correctly in the Course Box.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Jason Hollowell -
Picture of Particularly helpful Moodlers

Fernando,

Thanks again. Yes, I have the same thing.

UPDATE - Ok, this is strange...at least to me...I changed the file extension from jpeg to jpg and now the image appears. It seems odd because the jpeg extension displayed fine when I uploaded the image to the theme settings area as a default image. I'm guessing somewhere in the theme code (or Moodle core?) that jpeg is not recognized...?

For now, I'll simply use jpg instead of jpeg. smile

Jason

Attachment Settings.jpg
In reply to Jason Hollowell

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

I remember some issues with jpeg files. Use the jpg or better try to convert to png.

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

Re: Adaptable Theme Support

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

I just wanted to thank you for this theme.  I am now running it on two production sites and have received excellent feedback all the way around.  It is great to see not only such a great theme, but such great support from you for it.  Thought you might enjoy a post from someone that doesn't need any help...well for the moment anyway! big grin

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma, thanks for your kind words. Really appreciated.

The truth is that Adaptable has been very well received by the community, even better than expected.

Personally I installed more 20 sites using Adaptable and most of them because the client liked it and want to use it for its site.

We are working in more new features and improve also the existing thanks to the users feedback.

So stay tuned for news.




In reply to Jez H

IMG Userpicture - Same Class but different sizes.

by Eric Viana -

Hey guys,

I have a problem. 
Using the area for add extra CSS I changed the size of the class userpicture to 100px X 100px and this works flawless to the user profile. But the same class is applied to the image used in the forums to identify the users but in a different size (20x20px) and the same image are stretched and loses all quality, blurring and pixelating. Where can I go to correct this problem changing the class name or, at least, turning  off the pre-compression used in the forum userpicture? Can you guide me?

In reply to Eric Viana

Re: IMG Userpicture - Same Class but different sizes.

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

You must find the classes around the user picture because they change depending the forum page.

I would change the size only in the profile page not in the whole site. But I don't understand what you mean you say :

I changed the size of the class userpicture to 100px X 100px and this works flawless to the user profile.

Adaptable is not displaying any user picture in the user profile. Where are you displaying the image?

(This is another pending task, add the user image to the profile)

In reply to Fernando Acedo

Re: IMG Userpicture - Same Class but different sizes.

by Eric Viana -

Fernando images are displaying in 3 different areas. I´m sending a cut from this areas. All the 3 use the same class "userpicture". The 3 screen printed show my css tweak of class userpicture showing images 50x50px. In the profile area no problem, images are showing with good resolution, but in the forum and participants list the images are in a very poor resolution.


Print

https://www.dropbox.com/s/yvao9vz0o5drrjs/UserPicture-Problem.jpg?dl=0

In reply to Eric Viana

Re: IMG Userpicture - Same Class but different sizes.

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Since userpicture class is used in several parts of moodle you must add more selectors to fix each size depending the place is the image displayed.

For example, here in this topic:

.path-news .forumpost .row .left.picture img,
.path-mod-forum .forumpost .row .left.picture img {
border: 5px solid #ffffff;
height: 60px;
padding: 1px;
vertical-align: middle;
width: 60px;
}

In this case, userpicture class is not used (it is used but not for the size).



In reply to Eric Viana

Re: IMG Userpicture - Same Class but different sizes.

by Jez H -

Hi Eric,

Which version of the theme are you using?

There was an issue with forums previously showing the smaller profile image, this was nothing to do with the css but literally using Moodles smaller sized image which degraded when enlarged in forums. The current version of the theme uses a larger profile image displayed in css at the same size but is sharper due to being a larger image.

In reply to Jez H

Re: IMG Userpicture - Same Class but different sizes.

by Eric Viana -

Hey Jez. Here is the version we are using now.


$plugin->version   = 2016012700;
$plugin->release = '1.1.0';

In reply to Eric Viana

Re: IMG Userpicture - Same Class but different sizes.

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Update the version also. Last available in Moodle Plugins Directory is 1.2.1

In reply to Jez H

Re: Adaptable Theme Support : hide messages in header

by Ghislain Fabre -

Hi,

Thanks to the author and contributor of this theme, for having done this great work.

I would like to hide the "Messages" in the top header (to make moodle more epurate /KISS) and put it in the user menu.

I have searched in bigbucket but seems there is no answer about this.

For hidding it, i can do this in adaptable custom css :

.usermenu2.nav { display: none; } 

But maybe there is a more clean way ? Do you know if yes ?

Also, maybe it can be a good idea to make the hide of "messages" possible in Header menu or Header ?

And in Header User possible to enable it ?

If some one think it's a good idea i can create a report in BitBucket.

Thanks for your attention,

Regards

In reply to Ghislain Fabre

Re: Adaptable Theme Support : hide messages in header

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Adaptable display the messages menu in the left top corner and this is hard coded because this is one of the special features.

So the answer is no, no option to disable the option except you hide it using CSS.

.usermenu2.nav { display: none; }

Keep in mind that is the only way to access the messages so you must provide other way like a block or a Tools menu.

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

Re: Adaptable Theme Support

by Kimber Warden -

Does anyone else have an issue with breadcrumb alignment when editing is turned on vs. turned off? My breadcrumbs look good with editing off, but they are out of alignment when it is on. This is true in both BCU and Adaptable themes. (Moodle 2.9 and Adaptable 2016031800)

Editing OFF:


Editing ON:


In reply to Kimber Warden

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This issue is already fixed using a new breadcrumb that includes several settings.

Still not published but available in the repository. 

In reply to Jez H

Re: Adaptable Theme Support

by Kimber Warden -

How can I make a child theme based on Adaptable? I've been trying to do it in the same way I have always created child themes based on simpler themes, but this is more complicated.

In reply to Jez H

Re: Adaptable Theme Support

by Theodosis Karageorgakis -

Hello ,thank you for this awesome theme.

I have a couple of questions if you don't mind.

1)For some reason only 10 enrolled courses appear at my frontpage and if I want to review the rest of them I need to visit the dashboard. Same goes with the menu item my Courses. Only 10 courses appear. Am I missing something?Maximum number of courses is set to 200 at the Front page settings

2) There is no way I can actually add font awesome icons at the marketing spots. Actually I can't use them at all. I have added this line at the custom css at the Additional HTML <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css"> but still no results. Am doing every single change at the HTML section

Any ideas would be welcomed

In reply to Theodosis Karageorgakis

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Thanks for using adaptable for your moodle peroject. I try to answer your questions:


1)For some reason only 10 enrolled courses appear at my frontpage and if I want to review the rest of them I need to visit the dashboard. Same goes with the menu item my Courses. Only 10 courses appear. Am I missing something?Maximum number of courses is set to 200 at the Front page settings

As far I know there are no limits to display courses in the frontpage (logged or not). I need to verify this point because this is inherited from BCU.


2) There is no way I can actually add font awesome icons at the marketing spots. Actually I can't use them at all. I have added this line at the custom css at the Additional HTML <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css"> but still no results. Am doing every single change at the HTML section

Adaptable already includes Font Awesome. You do not need to add any CSS style for it.

Add the icons following the samples included in the adaptable README.txt

In reply to Fernando Acedo

Re: Adaptable 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.

Like Fernando said Adaptable already uses FontAwesome however the font file for that style in the Adaptable theme is of the wrong file type as Moodle do not allow .min.css. So you need to change it to just .css for it to work.  The fact it is minified should not make any difference to the contents. Also that is assuming that the .min.css file is still there, as it may well have been changed.

You may also like to make sure that your Text Editor is set to allow <i></i> tags too.

Cheers

Mary

In reply to Mary Evans

Re: Adaptable Theme Support

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

Moodle does allow minified files, just not CSS files with two periods in them, so you can change to '_min.css' so that you remember that it is the minified version.

In reply to Gareth J Barnard

Re: Adaptable Theme Support

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

Well one wonders how this will work in Moodle even if it is minified, even if the file was changed to fa_min.css

it still will not work in Moodle! At least not with this format anyway

     

@font-face {
font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');
src:url('../fonts/fontawesome-webfont.eot?#iefixv=4.5.0') format('embedded-opentype'),
      url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),
      url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),
      url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),
      url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
      font-weight:normal;
      font-style:normal
}
In reply to Mary Evans

Re: Adaptable Theme Support

by Gary Lynch -

Hi All

Is there a way to allocate an admin function to a manager.

Specifically i want to give Manager role access to front page slider/ticker

Gary smile


In reply to Gary Lynch

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

No, only admins have access to the themes settings. This question was already discussed some days ago and in the case on Adaptable has not so much sense that a manager have access to the internal theme settings.

If you have only one, then it could be the Super Admin. If you have more than one, who add the News? Who add the slides?



In reply to Fernando Acedo

Re: Adaptable Theme Support

by Gary Lynch -

Hi Fernando

in our case i control the admin but the rest of our team have manager access.

Problem is i made them admins before but lets just say they broke alot of things so i had to restore from a back up sad

I'm happy for them to add to the ticker/slider only as they would use it for course announcements.

Well it was worth asking smile


Thanks Gary

In reply to Mary Evans

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Mary, Gareth.

I never had problems using compressed CSS or adding more than one dot to the name.

Adaptable is already updated to FA 4.6 in the Bitbucket repository. If someone want to upgrade from there then can do it at his own risk. We hope to publish a new release soon.

And use the samples located in the README.txt. These samples are the same used in the demo site and all working well.


In reply to Fernando Acedo

Re: Adaptable Theme Support

by Theodosis Karageorgakis -

Hello,

I have renamed the file font-awesome file from min.css to .css with no luck. The problem appears only at marketing blocks. In any other place, for example inside courses it works just fine.

Any luck with the BCA and the limited enrolled courses ?

Thank you :D 

In reply to Theodosis Karageorgakis

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Do not rename files or the theme could crash. Add the code I posted and post the result.

In reply to Fernando Acedo

Re: Adaptable Theme Support

by Theodosis Karageorgakis -

Thank you for your reply.

I've used the code you provided  

<div style="text-align:center; background: #ffffff; height: 240px; padding: 7px;">

    <i class="fa fa-font fa-5x"></i>

    <h3 style="color: #333333;">TITLE</h3>
    <div style="text-align:center;">Add your text here</div>
</div>

but although it works just fine inside a course it doesn't inside marketing blocks. I have changed the style for marketing block as u suggested but still no luck. I'm attaching 2 screenshots of what I've done. 


http://s31.postimg.org/d0zxtimhn/image.jpg

http://s31.postimg.org/5oqctlvtn/image.jpg


Oh by the way as for the shown enrolled courses it has to do with moodle's configuration. If anyone else encounters such a problem just go to 
 Site Administration -> Plugins -> Blocks -> Course Overview, and edit "Default maximum courses".

In reply to Jez H

Theme Content language translate

by jack lee -

Hi there , 

Can i know how to translate the theme content (footer , makerting block ...) in adaptable theme ? 

I have try multilanguage filter , adding span class inside the block but it seen no working . 

  

In reply to jack lee

Re: Theme Content language translate

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

If any area allows html then the multilang filter should work. However you do need to ensure that it is enabled in your Site Admin > Plugins > filters area, as well as the translated content being in the correct spans

There are also several improvements to the multilang filter which you may find useful and easier to use, such as https://moodle.org/plugins/atto_multilang2

If a setting area only takes straight unformatted text, then it is unlikely any of the multilang options will work and that is the point at which the theme code comes into play and adapting what the setting area is able to accept, but that is only relevant, as I said, if the setting only accepts unformatted text.

In reply to Richard Oelmann

Re: Theme Content language translate

by jack lee -
Hi , 

I have already enabled the filters with content and headings.

And i try insert the span in Appearance > Theme > Adaptable > Footer > Footer Content Section . (as attachment) I have try filter course title and description it's work but under adaptable theme content section not working . 


In reply to jack lee

Re: Theme Content language translate

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

I just tested this code and works well:

<span class="multilang" lang="en">This is a test</span>
<span class="multilang" lang="fr">C'est un test</span>
<span class="multilang" lang="es">Es una prueba</span>


Verify the plugin is enabled and review the document: https://docs.moodle.org/30/en/Multi-language_content_filter



In reply to Fernando Acedo

Re: Theme Content language translate

by jack lee -

Is it work in theme content also ?  because i have try add inside theme footer but it can't work ... 

In reply to jack lee

Re: Theme Content language translate

by Fernando Acedo -
Picture of Plugin developers Picture of Testers
Yes, I tested it in Adaptable footer blocks and works well.

Review your settings because is not an theme problem.
In reply to Fernando Acedo

Re: Theme Content language translate

by jack lee -

Hi , ya the footer can already . But the marketing block still unable to filter translate . 

This are my settings is it correct ? Anything i still have to setup ? 


In reply to jack lee

Re: Theme Content language translate

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Looks like the Multi-lang filter is not working in the marketing blocks.

Use the multi-lang2 filter: https://moodle.org/plugins/filter_multilang2 


In reply to Fernando Acedo

Re: Theme Content language translate

by jack lee -

Ya, And i have try multi-lang2 filter , also not working . 

In reply to jack lee

Re: Theme Content language translate

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

@Jez or Fernando, This needs fixing in the php code and is something to do with the PARAM setting either that or the Admin needs to save the one in English then change Language and redo and write one in other language without multi language filter markers. Just type as normal but save after each language change. You will see that each Lang has its own setting.

At least that is how Gareth got it to work in Essential!

But then I may be wrong?

try it anyway.

cheers

Mary

In reply to Mary Evans

Re: Theme Content language translate

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The multilang2 filter is working well in Adaptable and in my opinion is much more simple to use than the default filter.

And there are also an Atto plugin to insert the tags easily.

Since it works well there are no plans to modify the code for the moment.



In reply to jack lee

Re: Theme Content language translate

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Could you post the code used?

In reply to Fernando Acedo

Re: Theme Content language translate

by jack lee -

These the code i insert in marketing block section(marketing Block 3) . And did you know how to translate footer title and frontpage Ticker?? 



In reply to Jez H

Re: Adaptable Theme Support

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

Marketing blocks do not accept font-awesome icons.

Strangely enough the info boxes work just fine but I cannot get them to show in the marketing blocks.  

I am using the font-awesome filter but have also tried the <i class from the readme.  That just gets stripped out.  I have tried enabling trusted content but that does not help.  Any suggestions?  A bug maybe?

In reply to Emma Richardson

Re: Adaptable Theme Support

by Jane Erlandson -

Emma,

I ended up using the "No Style" option for "Choose style for marketing blocks"!

Regards,

Jane

In reply to Jane Erlandson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is right. To apply your styles, marketing blocks style must be "No Style"

In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Emma,

I use the FA icons almost every day and I don't have issue.

You do not need to enable the icon filter. Just add the icon name directly.

<div style="text-align:center; background: #ffffff; height: 240px; padding: 7px;">

    <i class="fa fa-font fa-5x"></i>

    <h3 style="color: #333333;">TITLE</h3>
    <div style="text-align:center;">Add your text here</div>
</div>

This CSS code is working well. This snippet of code add the font icon and change the default size to 5x.



In reply to Fernando Acedo

Re: Adaptable Theme Support

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

I have it set to no style...mixed

It still strips out the <i class line...

I figured out the issue.

1.  The Marketing blocks do not work with the font awesome filter - it would be nice if that could be fixed.

2.  The TinyMCE editor (which is my default) strips out the <i class line.

I can get it to work with Atto Editor and <i class line - lot of work but I guess I don't need to update those too often...



In reply to Emma Richardson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

It is really difficult to say which moodle editor is worse: TinyMCE or Atto. Depending what are you doing they could be your worse nightmare. Both have a few pros and many cons.

In this case, TinyMCE (which work really well in other scripts) strips the i tag while Atto keep it. So it is not a moodle setting. Is the editor who strips the code skipping the moodle security policy.

There are some issues open in the tracker but not movement so probably will be fixed in version 5 or 6


My advice is use an external editor and paste the code to Atto.

Atto is really bad when there are code errors. Otherwise is quite good.

In reply to Jez H

Re: Adaptable Theme Support

by Jane Erlandson -

Am so grateful for this theme!

One bit of an issue is the blocks for the grader report are set to "side-pre" with no spacing between the content and blocks. Also the blocks take primary position in responsive narrow view.

Is this something that can be fixed and if so, would you be able to predict when? We have a launch on a site this summer, and I'd prefer to not adjust through the code!

Thank you and regards,

Jane

In reply to Jane Erlandson

Re: Adaptable Theme Support

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

We made some changes but the Grade page is probably the most complex page in a moodle site.

If you can post, or send by PM, screenshots with all the issues you find then we'll try to fix them.


In reply to Fernando Acedo

Re: Adaptable Theme Support

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

I have always thought that we should just remove the blocks on the grader report.  I know we can with the Hide Blocks button but I think it would be better just to remove them altogether on this page - I don't think they are of great use on the grader report anyway.

In reply to Jez H

Re: Adaptable Theme Support

by Federica Marra -

Dear both,

I noticed that the <span multilang> filter is not supported by the Navbar Tools Menu.
Do you think you might be able to fix it? Am I doing something wrong?

The code I used:

<span lang="en" class="multilang">English text</span><span lang="fr" class="multilang">Text in French </span>|http://google.co.uk|Record Screen
<span lang="en" class="multilang">English text</span><span lang="fr" class="multilang">Text in French </span>|http://google.co.uk|ThinkStock

screenshot

Thanks! smile

In reply to Jez H

Re: [Adaptable] This support discussion is now CLOSED

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

This discussion thread is now CLOSED

please use the new thread HERE

Thank you

Mary