Smartpix feature (was re: GHOP Issue 102: RedMoon Theme)

Smartpix feature (was re: GHOP Issue 102: RedMoon Theme)

by Joseph Rézeau -
Number of replies: 8
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Eloy > ... Announce everywhere (in the README file, in the Themes Database when you upload the final theme...) that for better behaviour it's highly recommended to enable the configuration->smartpix feature in Moodle (available under Admin->Miscellaneous->Experimental) when using your theme.

Unfortunately the smartpix feature seems to be rather unreliable, as we recently found out on our university moodle serversad. I would not recommend its use.wink

Joseph

Average of ratings: -
In reply to Joseph Rézeau

Re: GHOP Issue 102: RedMoon Theme

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Joseph < ...Unfortunately the smartpix feature seems to be rather unreliable, as we recently found out on our university moodle serversad. I would not recommend its use.wink

Eh, and can you give us some hints about how/why it wasn't working as expected? Windows / Linux server? Not working? ... (some weeks ago we were discussing about if that feature should go from experimental to official and any feedback will be welcome).

Ciao smile
In reply to Eloy Lafuente (stronk7)

Re: GHOP Issue 102: RedMoon Theme

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Eloy,
Well the problem is happening on our university server. The admin says that when they turn smartpix on, all icons disappear. I'll ask him to post our moodle server specs here if that might help.
Ciao,
Joseph
In reply to Eloy Lafuente (stronk7)

Re: Problem with smartpix and our customized theme

by Arnaud Saint-Georges -
Bonjour,

We use Moodle 1.8.4 and a Linux server.
When, as Admin, I tick Smart pix search (smartpix setting), icons such as Show/Hide block, Assign roles, etc. do no longer appear when my customized local theme ("UHBpied") is selected.thoughtful
With an other Moodle standard theme, that works fine. smile

Note that the URL of
Show/Hide block icon is:
http://moodle.uhb.fr/pix/smartpix.php/UHBpied/spacer.gif
which of course cannot exist.
Attachment Frontpage_with_smartpix_and_UHB_theme.png
In reply to Arnaud Saint-Georges

Re: Problem with smartpix and our customized theme

by Julian Ridden -
I have php5 running here and also have an issues with all icons disappearing when the function was enabled.
In reply to Joseph Rézeau

Re: Smartpix feature (was re: GHOP Issue 102: RedMoon Theme)

by Shane Elliott -
Picture of Core developers Picture of Plugin developers
We also had a problem with this and tracked it down to the theme names having upper case letters ie the smartpix pattern searching ignores upper case letters. AFAIK directory names in moodle should be lower case anyway so not sure it counts as a bug.

Hope that helps someone.

Cheers,
Shane.
In reply to Shane Elliott

Re: Smartpix feature (was re: GHOP Issue 102: RedMoon Theme)

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Shane,
That would explain why we got the problem with our university theme, named UHBpied (see our admin's post on Monday, 28 January 2008, 05:11 PM).
Thanks for the tip,
Joseph