Custom Theme Editing

Custom Theme Editing

από Jim Barker -
Αριθμός απαντήσεων: 4

Hi, Where does moodle store the changes made to a theme?  In other words, if I install a custom theme and use that theme's admin page to add my logo, images, type captions and descriptions, etc. where are those customizations stored (what file(s) ) on the server?  I would like to see the code behind the customizations.  

For example, if I use the provided admin page of a theme to add a caption to a frontpage image that says "Welcome to Bob's learning site." , where is "Welcome to Bob's learning site." literally stored if I wanted to view the page/code where it's stored?


Thanks in advance.

Μέσος όρος βαθμολογίας: -
Σε απάντηση σε Jim Barker

Re: Custom Theme Editing

από Gareth J Barnard -
Φωτογραφία Core developers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Plugin developers

Setting values are stored in the 'config_plugins' table.  Files are stored in the 'data' folder indexed by values in the 'files' table.  This is for M2.8 but should apply to most versions of Moodle.

Σε απάντηση σε Gareth J Barnard

Re: Custom Theme Editing

από Jim Barker -

Many thanks, Gareth. χαμόγελο

Σε απάντηση σε Jim Barker

Re: Custom Theme Editing

από Mary Evans -
Φωτογραφία Core developers Φωτογραφία Documentation writers Φωτογραφία Peer reviewers Φωτογραφία Plugin developers Φωτογραφία Testers

If you want to find the code behind the settings this is a good place to begin...Creating a theme settings page