Integrating YAHOO UI in Ezwebin

Author Message

B. Nkengsong

Friday 05 September 2008 4:26:30 am

Hello,

I want to integrate yui tools in a template (pagelayout.tpl). But there a problem with the brackets. May be is the TPL compiler that does not make difference between the EZ template language bracket and the yahooapis one.

 <script language="javascript">
        var tabView = new YAHOO.widget.TabView();
         tabView.addTab( new YAHOO.widget.Tab({
             label: 'Opera',
             dataSrc: 'assets//news.php?&query=opera+browser',
             cacheData: true,
             active: true
        }));

The problem is with the bracket after YAHOO.widget.Tab.

How to cast it in order to integrate it in a TPL file ?

Sanagha Technologies Corp.
http://www.sanagha.com | http://www.sanagha.net | http://tourisphere.sanagha.net | http://education.sanagha.net
IT Consultant

Ivo Lukac

Friday 05 September 2008 6:29:01 am

Hello,

Use {literal} :

{literal} 
<script language="javascript">
       var tabView = new YAHOO.widget.TabView();
        tabView.addTab( new YAHOO.widget.Tab({
            label: 'Opera',
            dataSrc: 'assets//news.php?&query=opera+browser',
            cacheData: true,
            active: true
       }));
{/literal} 

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

B. Nkengsong

Tuesday 09 September 2008 2:51:06 am

Thank you Ivo

It's there the solution !

Thank you once more

Sanagha Technologies Corp.
http://www.sanagha.com | http://www.sanagha.net | http://tourisphere.sanagha.net | http://education.sanagha.net
IT Consultant

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.