Hi, Robert,

I used to do what you suggested for href, but later I learned a shorter and
more readable way — the way I showed: <a
href="${somevar}/morestuff">text</a>.

As for the gist of my question, see Iván's answer. I will try his
suggestion.

Roman



On Thu, May 30, 2013 at 3:02 AM, Robert Goldsmith <rgoldsm...@names.co.uk>wrote:

> Hello :)
>
> I'm not sure I understand your problem but for the href you should prob.
> do something like:
>
> <a tal:attributes="href string:${appURL}/the-rest-of-the-path">some
> text</a>
>
> Robert
> -----
> Robert Goldsmith
> rgoldsm...@names.co.uk
>
>
>
>
> On 30 May 2013, at 05:21, romtek <rom...@gmail.com> wrote:
>
> > Hi,
> >
> > I need help with something... I have the following in my template:
> >
> > <div tal:content="structure product/descr">full product description
> here</div>
> >
> > Values of product/descr are taken from a database. This works. However,
> I wanted to include a path to the app in links like so: <a
> href="${appURL}/the-rest-of-the-path">some text</a>. This tag is in the
> database as a part of the product/descr. Interpolation didn't work. Is it
> supposed to? If not, is there another approach to achieve what I need?
> >
> > Roman
> >
> > _______________________________________________
> > PHPTAL mailing list
> > PHPTAL@lists.motion-twin.com
> > http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to