Forums | Mahara Themes
General discussion
/
Documentation on Themes / Introduction to Smarty
19 June 2009, 5:37
Hi @ll,
is there any documentation on how to edit the mahara themes out there? I found out that mahara uses smarty. It would be really helpful to know which css file controls which part of the site instead of using trial and error to locate the appropriate files.
Anybody?
Regards
Alex
19 June 2009, 12:55
No, there isn't any documentation on how to edit Mahara themes specifically, but there are plenty of resources on how to edit Smarty templates in general.
As for the CSS, the style.css file is the primary CSS file for a theme. It can be found in the "static" folder of the theme you are editing.
20 June 2009, 11:01
Hallo Alex,
I hope you work with Firefox. If you use e.g. firebug addon a simple click will show you the css tags and to play with the values.
HTH Heinz
20 June 2009, 17:26
Hi Stephen,
do you have some links for me by any chance? The sites I googled weren't very useful.
@Heinz: I do have firebug but I was planning on moving around whole page sections. Too bad that there is no documentation :(
Thanks
Alex
20 June 2009, 22:16
You can download the full Smarty manual in PDF or CHM format here: http://www.smarty.net/download-docs.php
Their web site, http://www.smarty.net, also has a few getting started tutorials, as well.
21 June 2009, 19:33
Hi - the lack of documentation is our fault, we've been too busy with development work
But I've been reworking the theming support for Mahara 1.2, and one thing I am going to do is write documentation on the wiki about how to theme Mahara. So there'll be something soon! In the meantime, it's worth searching the Mahara forums to find out the basics of what you have to do.