This is hard to describe but I'll do my best.
The gradient images on our site keep disappearing. cellpic2.gif cellpic1 cellpic_rtl cellpic3 ....
They are defined in: ACP > Styles > Themes > Edit
By default, the path is apparently wrong. By default the path says: images/cellpic1.gif
I have had to manually change it to the full path: /interact/styles/hlt/theme/images three times now.
Inevitably, a few days later, I see the images are missing again, and I go into: ACP > Styles > Themes > Edit and I see the path is back to (images/cellpic1.gif)
What file am I editing exactly? And why does it keep getting overwritten?
Something is wrong here.
Theme Debaucle.
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Theme Debaucle.
Last edited by WakkaWakka on Thu Feb 05, 2009 10:05 pm, edited 1 time in total.
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Re: Theme Debaucle.
I just now found that the font changes I made to the site are also gone.
Pretty much anything I edit in: ACP > Styles > Themes > Edit
Eventually gets overwritten somehow.
Yet I still have no idea what *file* this edit screen is editing, nor why it seems to repeatedly get overwritten.
Help.
Pretty much anything I edit in: ACP > Styles > Themes > Edit
Eventually gets overwritten somehow.
Yet I still have no idea what *file* this edit screen is editing, nor why it seems to repeatedly get overwritten.
Help.
Re: Theme Debaucle.
If you edit the theme through the ACP, then it get stored in the database from what I remember. The only way to make things permanent is to edit the files themselves with a decent text editor.
- Lumpy Burgertushie
- Registered User
- Posts: 1006
- Joined: Tue Feb 28, 2006 5:26 pm
Re: Theme Debaucle.
true, you must use a ftp program to download the relevant files to your computer.
use a decent text editor to edit them. ( notepad++ or crimson editor or editpad lite are just a few ).
make sure whatever you use, saves the files as text using UTF8 and no BOM ( byte order mark ).
then upload them back to where they belong.
then you MUST always clear the cache folder after every edit ( except for the index.htm and .htaccess files ) before you can see the changes.
robert
use a decent text editor to edit them. ( notepad++ or crimson editor or editpad lite are just a few ).
make sure whatever you use, saves the files as text using UTF8 and no BOM ( byte order mark ).
then upload them back to where they belong.
then you MUST always clear the cache folder after every edit ( except for the index.htm and .htaccess files ) before you can see the changes.
robert
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Re: Theme Debaucle.
Yes if we knew the file we would just edit that.
But above I mentioned twice, we don't know what file it is.
What file is this?
ACP > Styles > Themes > Edit
But above I mentioned twice, we don't know what file it is.
What file is this?
ACP > Styles > Themes > Edit
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Re: Theme Debaucle.
Anyone?
Re: Theme Debaucle.
The 'file' you are editting from the ACP is actually a field by the name of 'theme_data' in the table 'xxx_styles_theme'. There is a row for each available theme, so make sure you get the correct row if you are doing this manually.
Near as I can gather, this originally comes from a composite of some of the .css files in the themes folder for the applicable style.
I did it this way: used phpMyAdmin to edit the row, selexted and copied the mediumtext field, pasted to my text editor. Then I made my changes, saved it as a file for future reference, then selected, copied the content and re-pasted into the phpMyAdmin field before saving the row.
So far, it has not reverted back.
Near as I can gather, this originally comes from a composite of some of the .css files in the themes folder for the applicable style.
I did it this way: used phpMyAdmin to edit the row, selexted and copied the mediumtext field, pasted to my text editor. Then I made my changes, saved it as a file for future reference, then selected, copied the content and re-pasted into the phpMyAdmin field before saving the row.
So far, it has not reverted back.
Martyn T. Griffin
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Re: Theme Debaucle.
Nightmare.
-
- Registered User
- Posts: 16
- Joined: Sun Feb 01, 2009 11:39 pm
Re: Theme Debaucle.
Exactly *WHAT* causes my changes to get overwritten?
And what kind of absurd set up is it to have an editor in the ACP that routinely gets all its changes erased by some other function?
Why even have it there, if something could possibly overwrite it?
And what kind of absurd set up is it to have an editor in the ACP that routinely gets all its changes erased by some other function?
Why even have it there, if something could possibly overwrite it?