link per application, not global
4 posts
• Page 1 of 1
ok, i have a handful; of dataface apps, and would like a link to only appear in certain ones, but not all of the apps. is there a way to do this?
This is not a problem.Ê Any template can be overridden on a per-application basis by adding a template of the same name into the templates directory of your application's directory. -Steve
so, lets say i have 1 app, in a folder called book, in the www file. also in the www file, is a folder called "dist", which holds a few dataface apps, for example here, 1, 2, 3, 4, 5. so in my templates file, to change my header, i would make a file called 1_header.html ? thanks
Not quite. Am I correct in assuming that all of your applications are stored in separate directories? If so, then suppose you have your #1 application in the www/dist/1 directory.Ê Then you would create a directory www/dist/1/templates where you can place templates for that application only.Ê You can copy template files from the dataface/Dataface/templates directory to your application's templates directory (www/dist/1/templates) and modify them to suit your purposes for that app. -Steve
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 11 guests |