Hello,

Thanks for making this great theme. This theme is overwhelming to me than any other theme, at least till now.

I have made a sub theme of at_subtheme - as directed here. And changed the "Path to Generated Files" to Theme directory, because I thought that it will be good to place all the theme related files under theme directory. But I noticed that a new sub theme of core is created automatically when I save the theme settings. I have seen the folder under sites/all/theme, but no files and folder of sub theme of core has been created. Probably because I have change the "Path to Generated Files", this thing has taken place.

So, is this normal?
Is there any way to get rid of automatic subtheme of core, by keeping the generated files under theme directory?
Is it good to keep Generated files under theme directory?

Comments

Jeff Burnz’s picture

Update to the the DEV version is the way to fix this.

It's a bug really, what happens is the my-theme.info file is backed up with other generated files (so theme settings are captured in a text file), Drupal will see this new .info file in the theme and considers it a new theme, but it's not, it's just the info file backup.

In the DEV version of adaptivetheme I renamed this .info backup file to .info.txt so Drupal will ignore it.

Sandip Choudhury’s picture

As you have said, I rename the file under - theme folder > generated_files > .info to .info.txt. Now the extra sub-theme of core is gone. Though I shall try DEV version also.

And if possible, please also write this in file generation system documentation. So that all user will know this.

But is it good to keep Generated file in Theme directory or Files directory?
Just for curiocity, I am asking - Can you please tell us the reason that why by default the generated files are kept in Files directory, though it is related to theme? I have read in your help documentation, but not understand fully.

You can leave it as the default, choose to save them in your subthemes folder or to a custom path. This feature was added to ease migration and to allow for files to be committed to version control, since generally the public files directory is not committed to version control due to its size and volatility.

Thanks again for your continuous help and continuously contributing in this theme development.

Jeff Burnz’s picture

Status: Active » Fixed

Generated files change every time you save theme settings, and typically Drupal core and other Drupal modules always save files in the sites/all/files directory. So Adaptivetheme does the same thing as this is where most Drupal users will expect to find them.

When you are using version control like GIT you almost always ignore the files directly, since those files are written by machines and change randomly all the time, such as images. You don't that that stuff under version control.

Sandip Choudhury’s picture

Thanks Jeff Burnz for your help. Adaptive theme is a mind blowing theme. I regularly participate in Drupal event and there I shall recommend Adaptive theme to everyone.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.