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">

  <fb:fan/>

</tal:block>

should work.

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to