Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
subfolder in Templates folder
#1
Good morning...
  I am using HTML templates and it has been working in the traditional way with the "Templates" and "wwwroot" folders. I would like to know if it is possible to create subfolders inside the "Templates" folder to sort the HTML files by categories. Is it possible to create subfolders inside the "Templates" folder or do I have to put all the .html files in the same folder? This does not work for me:

IWTemplateProcessorHTML1.Templates.Default = pages/profile/overview.html

The folder "pages" is inside the folder "Templates".

How to proceed in these cases in general ?. I am using IntraWeb 15.2.32 with Delphi 10.4.2, thanks in advance.


Attached Files Thumbnail(s)
   
Reply
#2
It does work. Maybe the problem is the path delimiter (you are actually using the URL delimiter).

Try

pages\profile\overview.html

I'm changing our code base to make sure that URL delimiters are replaced by path delimiters before using the path, so it should work in any case
Reply
#3
thanks it works
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)