Quantcast
Channel: Planet phpMyAdmin
Viewing all articles
Browse latest Browse all 60

Apoorv Khare: GSoC PMA week 2: Generating custom themes

$
0
0

I’ve completed my second week of GSoC and the main task for this week was to change the files generated by the theme generator for new themes to scss files which were css files earlier. The files were generated dynamically through PHP code.

Initially when the theme generator generated css files after successfully creating a new theme, when the new theme was selected. The pages rendered like this

The main challenge was that the user selected variables were as PHP variables and were required to be passed to scss files. For this we used PHP files to dynamically generate the scss files by passing the variables as strings.

A lot of code needed to be changed in format though the logic was mostly same. I had to add couple of new controllers which governed file generation as well.

And finally the theme generator worked all well. And new custom theme can be generated now.


Viewing all articles
Browse latest Browse all 60

Trending Articles


Jav Uncensored - Tokyo-Hot k1088 Manami Sakuma


Lowcarb fiskeburger i broccolibolle


Kirisame Marisa (Touhou)


Di: stefano


Misaka Mikoto (Toaru kagaku no railgun)


Arsene Lupin III Laugh (Arsene Lupin III)


Naruto Shippuden Episode 471 Subtitle Indonesia


Re: KZUBR MIG/MMA 300 zamena tranzistora


Fujimoto Miki Cheri


Anders Agger i Herstedvester