Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming filenames of static files #21

Open
hugopeek opened this issue Jan 31, 2014 · 2 comments
Open

Renaming filenames of static files #21

hugopeek opened this issue Jan 31, 2014 · 2 comments

Comments

@hugopeek
Copy link

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..

@exside
Copy link
Contributor

exside commented Feb 4, 2014

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:

  1. rename the Element in manager first, don't navigate around in the manager after that (eg. reload a manager page, which runs elementhelper)
  2. 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

@hugopeek
Copy link
Author

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants