When renaming Andreas02 folder to, say, Andreas02_copy, "sidebar" region vanishes, and "left sidebar" and "right sidebar" appear instead (but they do not work at all)

I attach an image.

Thanks.

CommentFileSizeAuthor
Picture 2.png36.72 KBleo.ruffini

Comments

nickbits’s picture

Assigned: Unassigned » nickbits
Status: Active » Postponed (maintainer needs more info)

Have you gone through all of the theme files and replaced every occurance of "andreas02" with "Andreas02_copy"? If not, that is your problem.

Cheers,
Nick

leo.ruffini’s picture

Yes, I'm sure this would solve the problem but... should it be like this?

This doesn't happen with other themes (you can make, for instance, a copy of the Garland or Marinelli folder,s give it another name and it works OK without having to do nothing more) but I don't have the skills to decide whether this is a bug or just a nice thing to have.

Cheers,

Leo

nickbits’s picture

Status: Postponed (maintainer needs more info) » Postponed

Hi,

Yes it should be like this. The entries in the files, the template and page files, are specifically named to go with the theme. If you have a look through the forums and handbook you will see numerous references to this with other themes. However, this is only a problem for themes that have custome functions. The Garland theme dosn't have any custom functions, just override functions, hence you do not have the sme problem. However, some themes, alek for example, have custom code. This is the only way of doing it at present, that I am aware of.

Nick

leo.ruffini’s picture

OK,

Then it looks like it is not a bug...

Thanks for the info.

Leo

nickbits’s picture

Status: Postponed » Closed (fixed)

Hi,

No problem. I would love to be able to do away with theme specific code. I am hopful that it is on the agenda for Drupal 7, but only time will tell. Let me know if I can be of any further asistance.

Regards,
Nick