ElementHelper
ElementHelper copied to clipboard
Renaming filenames of static files
This is a bit tricky and often results in duplicated files.. Is there a way to rename them without this happening? Especially with templates it is important that they keep their original ID's..
you mean if you rename the file in FTP then you have suddenly two elements in the manager?
I know this problem and usually do it like this:
- rename the Element in manager first, don't navigate around in the manager after that (eg. reload a manager page, which runs elementhelper)
- go to the FTP directory and rename the according static file to the same name you just gave the element in mgr
hope this helps
Thanks for your explanation! I'm understanding how it works a bit better now, but it would still be great if this problem could be addressed somehow in a future release..
Sometimes your filenaming logic just needs a little tweaking ;)