At 8:13 PM on 27 Nov 2009, Octavian Râsnita wrote:
From: C. Chad Wallace cwall...@lodgingcompany.com
At 8:45 AM on 26 Nov 2009, Randal L. Schwartz wrote:
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian but if I put just simple html code in the database
... then
From: C. Chad Wallace cwall...@lodgingcompany.com
At 8:13 PM on 27 Nov 2009, Octavian Râsnita wrote:
From: C. Chad Wallace cwall...@lodgingcompany.com
At 8:45 AM on 26 Nov 2009, Randal L. Schwartz wrote:
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian but if I put
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Well, as I said, I also agree, but I couldn't find that recommended
way. Can you tell me the solution for storing complex documents that
include text, lists, tables, headings which doesn't use HTML?
If you mean to store documents that
Hi,
I have a template in which I need to evaluate a variable which is taken from
the database like:
...
div[% page_body %]/div
...
But page_body is a TT template containing a string like:
pa href=[% c.uri_for('/path/to/file') %][% c.localize('Label for this
link') %]/a/p
...
Is it possible
On Thu, Nov 26, 2009 at 12:57:18PM +0100, Harald Joerg wrote:
Is it possible to interpret somehow page_body variable to be processed like
a template?
why just not PROCESS data file ? do you plane to generate templates on
fly ? that means you can't cache and i imagine you can have serious
From: Harald Joerg harald.jo...@ts.fujitsu.com
Octavian Râşniţă orasn...@gmail.com writes:
I have a template in which I need to evaluate a variable which is taken
from
the database like:
...
div[% page_body %]/div
...
But page_body is a TT template containing a string like:
pa
From: Marc Chantreux marc.chantr...@biblibre.com
On Thu, Nov 26, 2009 at 12:57:18PM +0100, Harald Joerg wrote:
Is it possible to interpret somehow page_body variable to be processed
like
a template?
why just not PROCESS data file ? do you plane to generate templates on
fly ? that means
On Thu, Nov 26, 2009 at 04:01:16PM +0200, Octavian Râsnita wrote:
No I don't generate templates dynamicly, but if I put just simple html
code in the database
You store things it database, that's why! i got it now and it makes
sense.
regards
--
Marc Chantreux
BibLibre, expert en logiciels
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian but if I put just simple html code in the database
... then your successor will submit your code to thedailywtf.com
... and we'll all have a good laugh at your expense.
Seriously, wrong way to do it.
--
Randal L. Schwartz -
From: Randal L. Schwartz mer...@stonehenge.com
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian but if I put just simple html code in the database
... then your successor will submit your code to thedailywtf.com
... and we'll all have a good laugh at your expense.
Seriously,
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian What's wrong? To store html in the database or to use TT markers in
Octavian that html code? (And it will help me if you'll also tell me why and
Octavian how can I do it in the recommended way.)
To store HTML in the database.
From: Randal L. Schwartz mer...@stonehenge.com
Octavian == Octavian Râsnita orasn...@gmail.com writes:
Octavian What's wrong? To store html in the database or to use TT markers
in
Octavian that html code? (And it will help me if you'll also tell me why
and
Octavian how can I do it in the
On Thu, Nov 26, 2009 at 2:07 PM, Octavian Râsnita orasn...@gmail.comwrote:
HTML is a view.
Databases are for models.
I agree with this, and I also don't like it, but I couldn't find a better
way.
I need to offer a way of creating/modifying the pages that present the
company, the
From: Bill Moseley mose...@hank.org
On Thu, Nov 26, 2009 at 2:07 PM, Octavian Râsnita orasn...@gmail.comwrote:
HTML is a view.
Databases are for models.
I agree with this, and I also don't like it, but I couldn't find a better
way.
I need to offer a way of creating/modifying the pages
14 matches
Mail list logo