On 12-11-2009 at 01:00:15 romtek <rom...@gmail.com> wrote:

I keep having a problem with this. I now need to have a "Facebook fanbox".
The code I need to insert contains <fb:fan...></fb:fan>. I've added
<tal:block xmlns:fb="whatever"/> in the beginning of the document and have
also tried defining it in the html element like this: <html
xmlns:fb="whatever">, but I keep getting 'PHPTAL_ParserException' with
message 'There is no namespace declared for prefix of element < fb:fan >'
What I am doing wrong?

xmlns stops working when you close element.

<tal:block xmlns:fb="whatever"/>

does nothing.

<tal:block xmlns:fb="whatever">



should work.

regards, Kornel

PHPTAL mailing list

Reply via email to