|
<< Click to Display Table of Contents >> Navigation: Forum > Am I making a mistake? |
03-11-2020, 12:43 AM:
Hello.
I am currently playing around with an Intraweb solution that uses templates with a design that I have made.
I have a DIV on each page that I am basically writing my own HTML content into a text container that is then applied by the template processor to the page using the OnCreate event. This seems to work and gives me what I am looking for, but probably a lot harder as I am not a HTML/CSS/Javascript expert.
Does anyone else do something similar or am I making a mistake and should be using components instead?
Cheers.
David.
03-11-2020, 11:34 AM:
Hi David, i use templates all the time. I studied a little HTML / CSS / JS to improve my programs and today I'm not going back.
You can see these 2 simple programs that are open to the public.
https://jnp.com.br/fidelidade/$/star...7482000190
and
https://entremeios.com.br/gerencial/$...8110000120
I use AdminLTE in all my programs.
https://adminlte.io/
03-11-2020, 06:42 PM:
(03-11-2020, 11:34 AM)hanks Jose, your example looks really good. So how do you write the content. At the moment I have a text area that I set to raw text and write it into that control then let the template processor attach the control into the right area of my template. I produce the html in the OnCreate event.Jose Nilton Pace Wrote: [ -> ]Hi David, i use templates all the time. I studied a little HTML / CSS / JS to improve my programs and today I'm not going back.
You can see these 2 simple programs that are open to the public.
https://jnp.com.br/fidelidade/$/star...7482000190
and
https://entremeios.com.br/gerencial/$...8110000120
I use AdminLTE in all my programs.
https://adminlte.io/
03-12-2020, 02:42 PM:
David, look this demo: https://github.com/Atozed/IntraWeb/tree/...gun%20indy
He have a folder named templates, inside have Mastertemplate.html and IWForm1.html.
I use this way. In the master i put everything js/css i need/use.