S Paschall wrote:
a TAL plug-in for Dreamweaver that handles macros intelligently? Or a
design, implementation, and site maintenance workflow that allows your
designers to have a fair level of control over your templates?
I gave up and wrote Twiddler for this reason:
http://www.simplistix.co.u
Tres Seaver wrote:
Thoughts?
What about where you want the prolog to be dynamically computed?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
ZPT mailing list
ZPT@zope.org
htt
Josef Meile wrote:
that manner. Anyway, I guess
the only way is to translate the message programatically instead.
This sounds like the correct thing to do here...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_
Josef Meile wrote:
Wrong selection
Wrong selection
I think if you find yourself needing to do something like this, your
application logic is flawed.
i18n:domain should never need to be dynamic in this fashion...
Chris
--
Simplistix - Content Management, Zope & Python C
Jeff Peterson wrote:
Why not just use PAS or Cookie Crumbler? ;-)
I guess I could look at that...I am having to authenticate against an
existing database of usernames and passwords so I just wrote it myself.
Eee gads, if your existing database is relational, SimpleUserFolder
makes it trivia
Jeff Peterson wrote:
I have a page template that calls a couple of scripts at the beginning,
they are setting session objects and redirecting to a login screen if
certain session objects don't exist.
Why not just use PAS or Cookie Crumbler? ;-)
the content for this page. When the macro is r
Mikko Ohtamaa wrote:
Do you know who is working with TAL engine? I'd like to be sure that the
suggestion reached the correct person =)
Don't worry, it reached all none of them ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Dieter Maurer wrote:
Chris Withers wrote at 2005-11-25 12:48 +:
The TAL interpretter parses the source of hte ZPT as XML, and so doesn't
do anything with CDATA sections.
But XML knows about "CDATA" sections and an XML compatible parser
should handle them correctly.
Yes,
The TAL interpretter parses the source of hte ZPT as XML, and so doesn't
do anything with CDATA sections.
Annoying, isn't it? ;-)
Chris
Jürgen R. Plasser wrote:
How can I accomplish a CDATA section in page templates?
The following does not work:
What am I missing here?
-Jürgen
__
Dieter Maurer wrote:
Rumours say that Python will finally (probably with Python 2.5)
grow a conditional operator -- lately overdue...
Yeah, sadly, IIRC, the spelling is horrible :-(
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Rakotomandimby Mihamina wrote:
What Emacs mode do Emacs users use for ZPT editiion?
I mostly think about syntax highlighting.
Just SGML-mode, or what?
Yup.
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Nicolas Georgakopoulos wrote:
Okay, now where can I find a brick wall to go and smash my head into?
Are you mad ? :-(
Only since trying to help you out ;-)
OK for the mail but for the file I think this is the right list , doesn't ?
NO. This is the Zope Page Template list, for ZPT, and ZPT
Nicolas Georgakopoulos wrote:
It is a text file that I want to create . Like I say it I want to create
it -> mail it -> and delete it when it have been mailed...
Okay, now where can I find a brick wall to go and smash my head into?
LOOK! Just because you want to mail a file attachment, doesn
Nicolas Georgakopoulos wrote:
I have a page that users fill info and a button to submit that info.
When the button is pressed I want to create a file with some text
content. 1.How can I create a file to send it by mail ?
2.When I have send the file by mail I want the file to be deleted.
How I
Nicolas Georgakopoulos wrote:
I have a page that users fill info and a button to submit that info.
When the button is pressed I want to create a file with some text content.
1.How can I create a file to send it by mail ?
2.When I have send the file by mail I want the file to be deleted. How I
Tom Twyman wrote:
Hello all!
I am trying to send an email from a login page as a form of
confirmation. I have the following script inserted into the python
script that performs the login:
MailTemplates are your friend:
http://www.simplistix.co.uk/software/zope/mailtemplates
Look at the exa
Tom Twyman wrote:
Hello all!
I am trying to construct a login page.
Look for SimpleUserFolder and CookieCrumbler ;-)
I have users registering on the
site using ZPT, python script, and ZSQL methods, and their account
information is held in a table ("clients") in a psql database. Now, I
w
Tonico Strasser wrote:
OTOH I would love a ZPT implementation with less expression types; e.g.
without 'python:', 'string:' and 'exists:' expressions. Read only
templates.
I don't think truly read-only templates would be very useful ;-)
Maybe a subclass in Zope 3 would let you disable all the
Paul Everitt wrote:
No, I just meant that I'm not subscribed to the zpt list. So, I would
have replied to all, there would have been a bounce.
Oh well, I shall bounce away then... ;-)
Indeed, that was kind of the direction I was going towards. I've
been told that ZPT in Zope 3 is more
Hi Paul,
Just rad your excellent blog post at:
http://radio.weblogs.com/0116506/2005/10/05.html#a351
...and it made me wonder: what if ZPT had an xpath: expression type?
Your examples could become:
Item ID
Item ID
I don't reckon this is gonna be that hard to implement...
comments anyone?
C
Re-posting like this is a sure fire way to get people to ignore you ;-)
Chris - often ignored himself, apparently...
Manuel Vázquez Acosta wrote:
Hi all,
Yesterday I post a message and I have not received any feedback yet. Please I
really need someone to tell if there's already a similar proje
Please don't cross post like this, this is likely an Archtypes problem,
so the AT mailing list is the right place...
Chris
Michael Rowley wrote:
Hello,
I am recieving a wierd error from the default archetypes/ base_edit.cpt
page with the following error...
using Archetypes 1.3.4 final, Plo
Chris Miles wrote:
How do I get the Script (Python) to fetch the id of the Page Template it
was called from?
_.getitem('template').getId() and make sure you've bound _ to the
namespace using the Bindings tab.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
[EMAIL PROTECTED] wrote:
Hi,
I want to have number of news folders and news subfolders, which contains only news. I want to achieve that when I'll add news to one folder this news will be only display in this folder.
I've changed in /portal_skins/plone_templates/news:
Does your portal_c
Have a google for a post I made a while back to the zope3-dev@zope.org
list saying thankyou for the amazing packaging work they did for the new
ZPT.
There were a few mails in the thread and one of them showed the exact
steps I used to produce the tarballs and windows installers I worked with..
Nuray Dedeoglu wrote:
Hi,
While I was trying to change the language of my plone portal from
turkish to enlish I created a python script named accessrule and
placed it in the root directory in my ZMI,then set the access rule
with the one I created. I inserted the following code in to the python
sc
Kenneth Gonsalves wrote:
final folder. It could be shortened if i could find the python
equivalent to the string $plone_url
string:$plone_url can be replaced with python:plone_url().
Any chance you could go and bother the plone list with all these
questions that could easily be answered by RE
Nuray Dedeoglu wrote:
"ZEXPf((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UtitleqUU
content_typeqU text/htmlqU_textqTÐ
The title
Welcome to Zope. We've collected some example applications that
demonstrate simple Zope features. You can examine how these
appli
Sorry, but -as-many-as-I'm-allowed.
this is horrible :-(
Chris
Ian Bicking wrote:
Well, ZPT is pretty slow moving these days, but there's a feature that
I'd be interested in. It's inspired by Kid
(http://lesscode.org/projects/kid/), which is very similar to ZPT. In
it, you can have Python code
29 matches
Mail list logo