Ronaldo, tá no Plone.org mesmo http://plone.org/products/ploneslideshow-0-7.0/releases/0.9.0/?searchterm=PloneSlideShow
Obrigado pelo post do erro ;) Att, Ronaldo Amaral wrote: > Vlw Cleber, mas vc colocou na Plone.org ou está em algum SVN, caso seja no > SVN me passe o endereço. > > Desde de já agradeço a atenção e se precisar de alguma coisa que eu possa > fazer, e só falar. > > Vlw > > 2008/10/13 Cleber J Santos <[EMAIL PROTECTED]> > > >> Ok, acabo de subir o produto com este template arrumado, haviam mais >> linhas, o mais estranho é que quando testei no Plone 3.0.1 rolou de boa, >> no Plone 2.5 vai tranquilo, mas bem apenas troquei o que havia de >> portal_url por context/portal_url ou context.portal_url, é provável que >> essa correção que te passei continue dando erro em mais alguns locais, >> então recomendo que você baixe novamente o produto ;) >> >> Att, >> >> Cleber J Santos wrote: >> >>> Opa, é ao contrário, altere a linha que está assim: >>> >>> <span tal:omit-tag="" tal:content="python:items['Rights'] + '|' + >>> portal_url + '/' + items['ImageURL'] + '|' + items['Title'] + '|' + >>> portal_url + '/' + items['RelativeContentURL'] + '| |' + >>> items['Description'][:75] + '|' + items['Type'] +'|'" /> >>> >>> >>> Por essa aqui: >>> >>> <span tal:omit-tag="" tal:content="python:items['Rights'] + '|' + >>> context.portal_url() + '/' + items['ImageURL'] + '|' + items['Title'] + >>> '|' + portal_url + '/' + items['RelativeContentURL'] + '| |' + >>> items['Description'][:75] + '|' + items['Type'] +'|'" /> >>> >>> Cleber J Santos wrote: >>> >>> >>>> Ronaldo, faça o seguinte, customize o template *global_slide* que está >>>> em e troque a linha 89 que está assim: >>>> >>>> <span tal:omit-tag="" tal:content="python:items['Rights'] + '|' + >>>> portal_url + '/' + items['ImageURL'] + >>>> '|' + items['Title'] + '|' + portal_url + '/' + >>>> items['RelativeContentURL'] + '| |' + items['Description'][:75] + '|' + >>>> items['Type'] +'|'" /> >>>> >>>> >>>> Por essa aqui >>>> >>>> <span tal:omit-tag="" tal:content="python:items['Rights'] + '|' >>>> + context.portal_url() + '/' + items['ImageURL'] + >>>> '|' + items['Title'] + '|' + portal_url + '/' + >>>> items['RelativeContentURL'] + '| |' + items['Description'][:75] + '|' + >>>> items['Type'] +'|'" /> >>>> >>>> >>>> O problema ai é que ele tá chamando o portal_url e não está declarado, >>>> inclusive vou atualizando isso no produto agora ;) >>>> >>>> Att, >>>> >>>> Ronaldo Amaral wrote: >>>> >>>> >>>> >>>>> Lá vai, ah se eu puder ajudar em alguma coisa, pois estou precisando de >>>>> utilizar a ferramenta em um portal (Plone3) >>>>> >>>>> 2008-10-13 15:21:44 ERROR Zope.SiteErrorLog >>>>> http://localhost:8080/Plone/portal_publicator/updatePBItems >>>>> Traceback (innermost last): >>>>> Module ZPublisher.Publish, line 119, in publish >>>>> Module ZPublisher.mapply, line 88, in mapply >>>>> Module ZPublisher.Publish, line 42, in call_object >>>>> Module Products.CMFPublicator.PublicatorTool, line 374, in >>>>> >> updatePBItems >> >>>>> Module Products.CMFPublicator.PublicationBoxInformation, line 302, in >>>>> updateItems >>>>> Module Products.CMFPublicator.PublicationBoxInformation, line 347, in >>>>> _extractItem >>>>> ValueError: An inconsistent path has been passed in item >>>>> >> restrictedTraverse. >> >>>>> 2008-10-13 15:38:55 ERROR Zope.SiteErrorLog >>>>> http://localhost:8080/iff/portal_skins/custom/teste >>>>> Traceback (innermost last): >>>>> Module ZPublisher.Publish, line 119, in publish >>>>> Module ZPublisher.mapply, line 88, in mapply >>>>> Module ZPublisher.Publish, line 42, in call_object >>>>> Module Shared.DC.Scripts.Bindings, line 313, in __call__ >>>>> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec >>>>> Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec >>>>> Module Products.PageTemplates.ZopePageTemplate, line 427, in >>>>> >> pt_render >> >>>>> Module Products.PageTemplates.PageTemplate, line 89, in pt_render >>>>> Module zope.pagetemplate.pagetemplate, line 117, in pt_render >>>>> Module zope.tal.talinterpreter, line 271, in __call__ >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 891, in do_useMacro >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >>>>> Module zope.tal.talinterpreter, line 516, in no_tag >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 855, in do_condition >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 536, in do_optTag_tal >>>>> Module zope.tal.talinterpreter, line 521, in do_optTag >>>>> Module zope.tal.talinterpreter, line 516, in no_tag >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 855, in do_condition >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >>>>> Module zope.tal.talinterpreter, line 516, in no_tag >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 824, in do_loop_tal >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >>>>> Module zope.tal.talinterpreter, line 516, in no_tag >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >>>>> Module zope.tal.talinterpreter, line 516, in no_tag >>>>> Module zope.tal.talinterpreter, line 346, in interpret >>>>> Module zope.tal.talinterpreter, line 623, in do_insertText_tal >>>>> Module Products.PageTemplates.Expressions, line 228, in evaluateText >>>>> Module zope.tales.tales, line 696, in evaluate >>>>> - URL: >>>>> >>>>> >> file:/home/ronaldo/Plone3/zinstance/parts/productdistros/PloneSlideShow/skins/SlideShow/global_slide.zpt >> >>>>> - Line 89, Column 9 >>>>> - Expression: <PythonExpr items['Rights'] + '|' + portal_url + '/' + >>>>> items['ImageURL'] + '|' + items['Title'] + '|' + portal_url + '/' + >>>>> items['RelativeContentURL'] + '| |' + items['Description'][:75] + '|' + >>>>> items['Type'] +'|'> >>>>> - Names: >>>>> {'container': <Folder at /iff/portal_skins/custom>, >>>>> 'context': <Folder at /iff/portal_skins/custom>, >>>>> 'default': <object object at 0xb7d0e528>, >>>>> 'here': <Folder at /iff/portal_skins/custom>, >>>>> 'loop': {u'items': >>>>> >> <Products.PageTemplates.Expressions.PathIterator >> >>>>> object at 0xdf7c6ec>}, >>>>> 'nothing': None, >>>>> 'options': {'args': ()}, >>>>> 'repeat': <Products.PageTemplates.Expressions.SafeMapping object >>>>> >> at >> >>>>> 0xdf8fe0c>, >>>>> 'request': <HTTPRequest, URL= >>>>> http://localhost:8080/iff/portal_skins/custom/teste>, >>>>> 'root': <Application at >, >>>>> 'template': <ZopePageTemplate at >>>>> >> /iff/portal_skins/custom/teste>, >> >>>>> 'traverse_subpath': [], >>>>> 'user': <PropertiedUser 'admin'>} >>>>> Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ >>>>> - __traceback_info__: items['Rights'] + '|' + portal_url + '/' + >>>>> items['ImageURL'] + '|' + items['Title'] + '|' + portal_url + '/' + >>>>> items['RelativeContentURL'] + '| |' + items['Description'][:75] + '|' + >>>>> items['Type'] +'|' >>>>> Module PythonExpr, line 1, in <expression> >>>>> NameError: name 'portal_url' is not defined >>>>> >>>>> >>>>> vlw >>>>> >>>>> On Mon, Oct 13, 2008 at 3:28 PM, Cleber J Santos < >>>>> [EMAIL PROTECTED]> wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Ronaldo Amaral wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Ola, existem algum projeto para colocar o PloneSlideShow para >>>>>>> >> funcionar >> >>>>>>> >>>>>>> >>>>>> no >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Plone3? >>>>>>> Testei a versão 0.9.0, mas não funciona a macro (global_slide), dá >>>>>>> >> erro >> >>>>>>> >>>>>>> >>>>>> no >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> "portal_url" >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Olá Ronaldo, >>>>>> >>>>>> Sim já existe um projeto, inclusive sou um dos desenvolvedores, você >>>>>> poderia me informar qual o erro? Enviar um Trace deste erro? >>>>>> >>>>>> Att, >>>>>> >>>>>> -- >>>>>> #!/bin/bash >>>>>> # Name: Cleber J Santos >>>>>> # Email: [EMAIL PROTECTED] >>>>>> # Icq: 200007837 >>>>>> >>>>>> >>>>>> ------------------------------------ >>>>>> >>>>>> Para enviar uma mensagem: zope-pt@yahoogrupos.com.br >>>>>> Para desistir envie uma mensagem em branco para: >>>>>> [EMAIL PROTECTED] do Yahoo! Grupos >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >>> >> -- >> #!/bin/bash >> # Name: Cleber J Santos >> # Email: [EMAIL PROTECTED] >> # Icq: 200007837 >> >> >> ------------------------------------ >> >> Para enviar uma mensagem: zope-pt@yahoogrupos.com.br >> Para desistir envie uma mensagem em branco para: >> [EMAIL PROTECTED] do Yahoo! Grupos >> >> >> >> > > > -- #!/bin/bash # Name: Cleber J Santos # Email: [EMAIL PROTECTED] # Icq: 200007837 ------------------------------------ Para enviar uma mensagem: zope-pt@yahoogrupos.com.br Para desistir envie uma mensagem em branco para: [EMAIL PROTECTED] do Yahoo! Grupos <*> Para visitar o site do seu grupo na web, acesse: http://br.groups.yahoo.com/group/zope-pt/ <*> Para sair deste grupo, envie um e-mail para: [EMAIL PROTECTED] <*> O uso que você faz do Yahoo! Grupos está sujeito aos: http://br.yahoo.com/info/utos.html