This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi!
I create a template in 'pages' folder directly and it works
But if I create a folder in 'pages' and put templates in it, it doesn't show.
Why?
Thanks for any help!
Not sure what you mean by a template? I will assume you mean "page" in the CMS section of October.
If you want to create a page in a subfolder called "account" and the file is "login.htm" then when you create a new page, you make the file name "account/login.htm" and that will work.
Hello axomat. I have the same question. I will not have a long list of files and organize them into folders prefer (see picture). Can I organize my site folders?
Just change the name of the file in Nombre del Archivo to music/rock.htm (thank you for posting a clear example!)
Last updated
Thanks for your answer. I want the folder structure has several levels: articles/music/rock, but I get this message "Invalid file name: articles/music/rock.htm. File names can contain only alphanumeric symbols, underscores, dashes and dots. Some examples of correct file names: page.htm, page, subdirectory/page" . Is it possible to create multiple levels?
Hi
I think you have a good point, it only seems to work with one level of subdirectory. This is a limitation I had not noticed before. It does not even work if you create the file manually without using the backend.
Maybe this should be posted as an enhancement request.
Thanks axomat. I appreciate your help. For me it is very important a good organization because I have many pages with different sections. I will throw the question again in the forum. A greeting and thanks again.
I am sorry to speak badly English.
Last updated
1-8 of 8