Creare sottotema di pixture reloaded- Aiuto documentazione

1 contenuto / 0 new
Creare sottotema di pixture reloaded- Aiuto documentazione

Ciao a tutti!

Sto provando in locale a creare un sottotema di pixture reloaded, ma credo di sbagliare qualcosa, in quanto il tema che creo, una volta impistato come predefinito non si mantiene uguale a pixture reloaded.
Ho seguito la documentazione qui. Vi riporto i punti:

Quote:

1) Copy this entire theme and change the name of the folder. Currently the name of the folder is "footheme", so you might choose "bartheme". In the next step we will use this name for the info file so this is very important because as far as Drupal is concerned the name of the info file is the "machine name" of your theme. Don't use spaces or any punctuation other than underscores. E.g "bar_theme" is OK, but "bar theme" is not OK.

2) footheme.info - first rename this file to match the folder name you chose in step one. Next you can change the "name", "description" and "version" to whatever you want. Then you need to copy and paste in some stuff from your base themes info file - the "regions list" and "theme settings list" from your chosen base theme. The ones there now are from Corolla so just replace them. If you're using Corolla then you can do nothing, or just change the name and description.

3) Color module stuff - using Corolla? No issue, do nothing. If you're using Pixture Reloaded or Sky then you need to delete the color folder from this theme and copy/paste in the color folder from your chosen base theme.
Pixture Reloaded uses images as part of the color process - they are all in the /images folder in Pixture Reloaded - you should copy and paste that folder in as well.

4) template.php - open up this file and make some changes - search and replace "footheme" for your themes name.

In footheme_preprocess_html() you will find some stuff about responsive stylesheets and IE conditional stylesheets - follow those instructions carefully - they are easy and involve renaming some CSS files to match your theme name.

Dunque: punto uno è chiaro, mentre dal 2 in poi non riesco a capire bene cosa deve essere fatto. Io ho fatto così:

1) ho rinominato footheme.info con il nome che ho dato alla cartella. Poi l'ho aperto ed ho cambiato name, description e version e in base theme ho messo pixture_reloaded.

2) Poi credo di dover copiare da pixture_reloaded.info le parti con "region list" e "theme settings list" togliendo quelle presenti

3) Poi va cancellata la cartella color e vanno copiate le cartelle color e images di pixture reloaded nella cartella del sottotema

4) Infine in template.php va sostituito a footheme il nome che ho dato la tema

Il problema che poi non mi ritrovo un layout uguale a pixture reloaded, ma tutto sballato... (ho pulito la cache) Non vorrei che fosse il tema di partenza footheme che fa riferimento a css diversi. Io vorrei un sottotema clone di pixture reloaded da cui partire. Mi aiutate a capire dove sbaglio? Grazie a tutti.