Hello.
I have put in all my categories a specific file. The name of this file is file.txt.
Example:
Home/Food/file.txt
Home/Food/Meat/file.txt
Home/Food/Meat/Shops/file.txt
Now I want include all file.txt in her specific category.
I tried this:
<%include /path/to/linkssql/Home/Food/file.txt%>
My problem is, that the path is changing in any category.
Is there a way to change the path dynamically?
Or is it possible to call the file with the ID?
When I would put all txt files in a separate folder,
give them the name of the ID and call them with:
<%include /path/to/linkssql/folder-wherer-txt-files-are-stored/<%ID%>.txt%>
Knubbel
I have put in all my categories a specific file. The name of this file is file.txt.
Example:
Home/Food/file.txt
Home/Food/Meat/file.txt
Home/Food/Meat/Shops/file.txt
Now I want include all file.txt in her specific category.
I tried this:
<%include /path/to/linkssql/Home/Food/file.txt%>
My problem is, that the path is changing in any category.
Is there a way to change the path dynamically?
Or is it possible to call the file with the ID?
When I would put all txt files in a separate folder,
give them the name of the ID and call them with:
<%include /path/to/linkssql/folder-wherer-txt-files-are-stored/<%ID%>.txt%>
Knubbel