On 18/03/11 20:55, Noe Nieto [http://percepcionunitaria.org]] wrote:
Do you want to reorder the viewlets? override them?

If they are viewlets, they should be visible on @@manage-viewlets.

Whaen you say that @@manage-viewlets is not working, what do you mean? What is the problem.


Hi,

I am currently looking at pcommerce instead of getpaid.

However, to clarify the original post.

To customise the getpaid screens, I need to know what the (source code) components that make up the screens are.

For example, I needed to customise the following...

    Products.PloneGetPaid.browser.checkout.CheckoutReviewAndPay
    Products.PloneGetPaid.browser.checkout.CheckoutAddress

So that I can use Irish format addresses and hide the shipping addresses.

I am interesting in locating the source behind the screens and I wanted to know if there was a tool, like @@manage-viewlets that showed me the views/viewlets that need to be / can be customised. (I used grep in the end).



"@@manage-viewlets does not appear to work."

Here 'getpaid' is the name of my test site. I use this link...

http://localhost:8080/getpaid2/@@getpaid-checkout-wizard/@@manage-viewlets

gives the error below. I provide this for follow up information only. Please do not spend time on this on my account.

Kevin



2011-03-22 15:22:00 ERROR Zope.SiteErrorLog 1300807320.520.183163760785 http://localhost:8080/getpaid2/@@getpaid-checkout-wizard/@@manage-viewlets
Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
  Module ZPublisher.Publish, line 47, in call_object
  Module plone.app.viewletmanager.manager, line 254, in __call__
  Module Products.Five.browser.pagetemplatefile, line 126, in __call__
  Module Products.Five.browser.pagetemplatefile, line 60, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
   - Warning: Macro expansion failed
- Warning: <class 'zope.location.interfaces.LocationError'>: (<Products.Five.metaclass.CheckoutWizard object at 0x8d95550>, 'main_template')
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 867, in do_useMacro
  Module zope.tales.tales, line 696, in evaluate
- URL: /srv/zope/hosting/plone4/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manage-viewlets.pt
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'here/main_template/macros/master'>
   - Names:
      {'args': (),
'container': <Products.Five.metaclass.CheckoutWizard object at 0x8d95550>, 'context': <Products.Five.metaclass.CheckoutWizard object at 0x8d95550>,
       'default': <object object at 0x7fbd6bdd9ae0>,
'here': <Products.Five.metaclass.CheckoutWizard object at 0x8d95550>,
       'loop': {},
       'nothing': None,
       'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x71ac8e8>, 'request': <HTTPRequest, URL=http://localhost:8080/getpaid2/@@getpaid-checkout-wizard/@@manage-viewlets>,
       'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x66771d0>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.SimpleViewClass from /srv/zope/hosting/plone4/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manage-viewlets.pt object at 0x8d95690>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x8db0350>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 149, in _eval
  Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 99, in trustedBoboAwareZopeTraverse
  Module zope.traversing.adapters, line 139, in traversePathElement
- __traceback_info__: (<Products.Five.metaclass.CheckoutWizard object at 0x8d95550>, 'main_template')
  Module zope.traversing.adapters, line 53, in traverse
- __traceback_info__: (<Products.Five.metaclass.CheckoutWizard object at 0x8d95550>, 'main_template', ['master', 'macros']) LocationError: (<Products.Five.metaclass.CheckoutWizard object at 0x8d95550>, 'main_template') > /srv/zope/hosting/plone4/buildout-cache/eggs/zope.traversing-3.7.1-py2.6.egg/zope/traversing/adapters.py(53)traverse()
-> raise LocationError(subject, name)



---
Noe

2011/3/10 kevin gill <movieextras.ke...@gmail.com <mailto:movieextras.ke...@gmail.com>>

    Hi,

    I am just trying out getpaid. To customise the viewlets I have had to
    grep the source code and work back from text in templates.

    Is there tools that I should be using to introspect the screens?
    @@manage-viewlets does not appear to work.

    Thanks,

    Kevin

    --
    GetPaid for Plone: http://www.plonegetpaid.com (overview info) |
    http://code.google.com/p/getpaid (code and issue tracker)
    You received this message because you are subscribed to the Google
    Groups "getpaid-dev" group.
    To post to this group, send email to getpaid-dev@googlegroups.com
    <mailto:getpaid-dev@googlegroups.com>
    To unsubscribe from this group, send email to
    getpaid-dev+unsubscr...@googlegroups.com
    <mailto:getpaid-dev%2bunsubscr...@googlegroups.com>

    For more options, visit this group at
    http://groups.google.com/group/getpaid-dev?hl=en?hl=en




--
--
*Noe Nieto
Estudiante de Psicología Holokinética*

Diplomados, noticias, libros, artículos,

audios y videos gratuitos : *percepcionunitaria.org <http://percepcionunitaria.org/>*
--
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | http://code.google.com/p/getpaid (code and issue tracker) You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpaid-dev@googlegroups.com
To unsubscribe from this group, send email to getpaid-dev+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en

--
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | 
http://code.google.com/p/getpaid (code and issue tracker)
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to getpaid-dev@googlegroups.com
To unsubscribe from this group, send email to 
getpaid-dev+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en

Reply via email to