Output Pix url for theme image not fetch correct image.

Output Pix url for theme image not fetch correct image.

de kamesh veerachamy -
Número de respuestas: 6

Hi all ,

I have installed more themes in my local.

Now my current theme name is clean.I have enable the "allowthemechangeonurl" option in theme

settings page (Site Administration -> Apperance -> Theme->Theme settings).

Then I have changed the theme via url (http://localhost/moodle_281?theme=alluri).

Then I Clear the cache (Site Administration -> Development ->Purger all caches)

Then I run the home page.

But I got the following url :  url("http://localhost/moodle_281/theme/image.php/clean/theme/1437215868/home/homebanner")

i expected following url  "http://localhost/moodle_281/theme/image.php/alluri/theme/1437215868/home/homebanner"

Code :

<img src="<?php echo $OUTPUT->pix_url('home/banner', 'theme');  ?>" />


Any one help me.

same url run fine when disable "allowthemechangeonurl" option.

Thanks

Kamesh.V


Promedio de valoraciones: -
En respuesta a kamesh veerachamy

Re: Output Pix url for theme image not fetch correct image.

de Howard Miller -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers

Moving to Themes forum...

En respuesta a Howard Miller

Re: Output Pix url for theme image not fetch correct image.

de Gareth J Barnard -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

Hi Kamesh,

Alluri is a paid for theme, so I suggest that you contact the developer for support on this.

Kind regards,

Gareth

En respuesta a Gareth J Barnard

Re: Output Pix url for theme image not fetch correct image.

de Howard Miller -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers

Looks just like Essential but with a few tweaks triste

En respuesta a Howard Miller

Re: Output Pix url for theme image not fetch correct image.

de Gareth J Barnard -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

I've pulled it apart and its a BS3 theme with 'theme_bootstrap' as a parent.  Some odd comment tag of 'E.O.Content' so could be Elegance clone, bespoke or something else.