Can't edit via admin CP?

Joel

Seasoned Veteran
Joined
Dec 27, 2009
Messages
3,043
Reaction score
0
FP$
14,417
Well, i heard it from one of my staff, he said that i shouldn't edit the codes that can be done via the Cpanel. He said that when someone refreshes the style or something like that, the edits might be gone. Is he right or wrong to say this?
 
You should be fine as long as you do it properly and purge your cache. 🙂
 
Yes! That was what he mentioned, not your sentence, but the purge cache thing.

So you're saying i can edit via admin cp, just don't click the cache button in the templates in the admin cp?
 
Just make sure the edits will work and that your not removing anything that is needed.

What file are you intending to edit?
 
Great. thanks!!<br /><br />-- 14 Jan 2011, 10:23 --<br /><br />this is what he said.

"if i save the changes in the css via the acp and someone will refresh the theme, all my changes will disappear. thats why i always do it from the cpanel."

so should i still do it via acp or cpanel??
 
You can edit templates through the ACP if you don't store the templates in the database. If they are stored in the database and you edit them through the acp, it doesn't alter the template files on the server so to speak so when you refresh your templates, the changes will vanish.
 
Fowler has a point. In IPB you can edit the files through the ACP easily, and it automatically purges the cache and reconfigures all the files for you.

Where as in phpBB you have to make all edits via cPanel (recommended) and the refresh the theme template and then purge the cache. This means that all temporarily stored files are updated with the new code, and your edits will be made.

Am I right in suggesting your support is needed with vB?
 
In phpBB3 you can set it to not store the templates in the database and to edit the files on the file system. It is what we have been doing here for years.

ACP ---> Styles ---> Templates ---> Click details by your template name and then select filesystem instead of database.

All edits in the acp to the templates will now edit the files on the server.
 
Joel...

If you edit the phpBB3 template files via the Admin CP, when you purge the cache the file edits that you did are removed and restored to what the files via your file system (FTP) contain. You should always make changes via the file system and then save, upload and then purge the cache.
 
And refresh the templates. You have to do this guys!

I don't know why everyone is missing this out..

Also, 300th post 😀
 
Joel said:
Well, i heard it from one of my staff, he said that i shouldn't edit the codes that can be done via the Cpanel. He said that when someone refreshes the style or something like that, the edits might be gone. Is he right or wrong to say this?
If you are editing through cPanel you shouldn't have a problem, if you are editing it through the ACP, once you purge your cache it will vanish.

Do what Fowler said.
 
Back
Top Bottom