[dev] How to include "html code" for an app right?
Michael Rubinsky
mrubinsk at horde.org
Mon Jan 5 15:42:17 UTC 2009
Quoting Andre Pawlowski <sqall at h4des.org>:
> Hi guys,
>
> I've got a problem. I'm writing an application for Horde. Everything
> works fine, but when I look at the html source code it's always like this:
>
> <html>
> <head>
> ...
> </head>
> ...
> <body>
> ...
> </body>
> </html>
> HERE IS MY HTML CODE
>
> Well, my code for the output is always after the <html> tag. I don't
> know how I can change this. I've looked at other Horde applications
> and they have their html source in the <body> tag section. I have no
> clue how I can do this. Can you tell me how to include my source code
> to have it in the <body> tag section?
This is impossible to answer without knowing the structure of your
application's views or templates....you just need to make sure that
your outputting your HTML at the appropriate spot. Look at any other
horde application to see how they include various templates in
relation to the html content the application generates.
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
"Time just hates me. That's why it made me an adult." - Josh Joplin
More information about the dev
mailing list