Author Topic: problem working with themes (copy 'default' to 'my_theme'  (Read 1737 times)

znitz

  • Newbie
  • *
  • Posts: 9
    • View Profile
problem working with themes (copy 'default' to 'my_theme'
« on: April 04, 2014, 05:23:35 am »
Hi,

Im new here, but have used FO for a while.
Today I created a copy of the default theme (located fenginstalldir/public/assets/themes)
The installation is a new instance, with one WS and two users, FO version is 2.5.1.2

It was a surprice to me that it was not that simple (to make a copy of a theme)
The default theme uses the name inside several files, for example : "default/extjs/css/ext-all.css
This I can handle and change to my new theme name (in my case: my_theme)

But, then there are several other places where default is called as well..(instead of my new theme)
Here:       public/assets/javascript/og/CalendarPrint.js
Or here:  application/widgets/people/template.php


Anyway I did the copy, changed all places in theme folder.
Went into the FO choosed administration->change theme to my_theme.

Now everything was garbled and impossible to read.
The only way to step back was to restore the database, apparantly themes are stored in the DB...

Im not sure what I have missed, I mean, other threads regarding themes said "oh, just make a copy of the default theme and you are set go to...", well it was not that simple for me...

I did a 'diff -r -q feng_after_change feng_with_new_theme'
Only diff was the new theme folder

Then I did a 'diff -r -q themes/default themes/my_theme'
And only changes was the theme name

I don't know what to do as a next step.
Please come with some advice

Thanks,