[Product-Developers] plone.app.registry and Plone 4 rc1

2010-08-23 Thread Noe Misael Nieto Arroyo
Hi all, I was trying to add a control panel for a custom theme using plone.app.registry and this nice guide: http://plone.org/documentation/kb/how-to-create-a-plone-control-panel-with-plone.app.registry But I get a get a version conflict error during buildout:

[Product-Developers] Maybe a FAQ but, How can I translate images?

2010-08-24 Thread Noe Misael Nieto Arroyo
Hi all, I have some code like this: img tal:attributes=src string:${portal_url}/footer_title_bottom.gif src=images/footer_title_bottom.gif alt= / footer_title_bottom.gif is in english language and that's good. But I also want it to show that image in a different language

Re: [Product-Developers] plone.app.registry and Plone 4 rc1

2010-08-25 Thread Noe Misael Nieto Arroyo
Am 24.08.2010 03:11, schrieb Noe Misael Nieto Arroyo: Hi all, I was trying to add a control panel for a custom theme using plone.app.registry and this nice guide: http://plone.org/documentation/kb/how-to-create-a-plone-control-panel-with-plone.app.registry But I get a get a version

[Product-Developers] Why is Deco.gs not using 100% witdth

2010-08-30 Thread Noe Misael Nieto Arroyo
Hi all, I was wondering: why is Deco.gs (plonetheme.sunburst) not using 100% withd for div.width-full ? --- Noe ___ Product-Developers mailing list Product-Developers@lists.plone.org http://lists.plone.org/mailman/listinfo/product-developers

[Product-Developers] Problems with columns on Plone 4 theme

2010-09-01 Thread Noe Misael Nieto Arroyo
Hi All, I have a plone theme which is based on Sunburst Theme, e.g. skin-path name=Tema VDubmx based-on=Sunburst Theme When Plone is running in production/background mode it seems like the columns.css stylesheet does not get merged with the rest of the other stylesheets, therefore the theme

Re: [Product-Developers] Bug in Products.Carousel?

2010-09-01 Thread Noe Misael Nieto Arroyo
Have you checked out the styles? Is the javascript code in the right place and executing at the right time? Regards. --- noe 2010/9/1 Suresh V. suresh...@yahoo.com Tried both version 1.1 from pypi and the trunk from svn. The very first time the images are cycled through, images starting

Re: [Product-Developers] Bug in Products.Carousel?

2010-09-10 Thread Noe Misael Nieto Arroyo
Good. --- Noe 2010/9/4 Suresh V. suresh...@yahoo.com Noe Misael Nieto Arroyo wrote: Have you checked out the styles? Yes. That was the problem. I had to remove the position: absolute; directive. Then it worked. Thanks. Is the javascript code in the right place and executing

[Product-Developers] Failure in test testProcessLatin1 and Failure in test testNormalizeLatin1

2010-09-20 Thread Noe Misael Nieto Arroyo
Hi all, I hope this is the right place to ask this question. I was running test over Products.CMFPlone and I got this two errors: $ bin/test -cs Products.CMFPlone Running Testing.ZopeTestCase.layer.ZopeLite tests: Set up Testing.ZopeTestCase.layer.ZopeLite in 1.257 seconds. Ran 123 tests

Re: [Product-Developers] Failure in test testProcessLatin1 and Failure in test testNormalizeLatin1

2010-09-21 Thread Noe Misael Nieto Arroyo
2010/9/21 Maurits van Rees m.van.r...@zestsoftware.nl Op 20-09-10 19:27, Noe Misael Nieto Arroyo schreef: Hi all, I hope this is the right place to ask this question. I was running test over Products.CMFPlone and I got this two errors: $ bin/test -cs Products.CMFPlone Running

[Product-Developers] Problems with zc.buildout=1.5.0

2010-09-21 Thread Noe Misael Nieto Arroyo
Hi all, I am trying to use z3c.recipe.tag:tags and plone.recipe.command in a buildout, but I get the following error: $ bin/buildout -c development.conf mr.developer: Queued 'Products.Collage' for checkout. mr.developer: Queued 'webcouturier.dropdownmenu' for checkout. mr.developer: Skipped

Re: [Product-Developers] Problems with zc.buildout=1.5.0

2010-09-21 Thread Noe Misael Nieto Arroyo
just gave up and pinned z3c.recipe.tag = 0.3.0 I still don't understand all the buzz about zc.buildout and a system python. Need to read more. Thanks everybody --- Noe Nieto 2010/9/21 derek aus...@pointerstop.ca On Sep 21, 8:36 pm, Noe Misael Nieto Arroyo n...@iservices.com.mx wrote: I am

[Product-Developers] Processing Zope/Plone logfiles

2010-10-04 Thread Noe Misael Nieto Arroyo
Hi all, What do you guys use in order to process information and get reports from the instance.log and instance-Z2.log files? --- Noe ___ Product-Developers mailing list Product-Developers@lists.plone.org

[Product-Developers] Plone 4 and Products.PloneHelpCenter-3.0b3

2010-10-11 Thread Noe Misael Nieto Arroyo
Hi all, I wanted to update the old python.org.mx to plone4 (right now is offline , sorry). We used PloneHelpCenter for some documentation so I wanted to see if it would work with Plone 4, but I've got no easy success. Anyone has an Idea of this traceback? $ bin/test -cs

Re: [Product-Developers] Plone 4 and Products.PloneHelpCenter-3.0b3

2010-10-11 Thread Noe Misael Nieto Arroyo
Glick davidgl...@groundwire.org On 10/11/10 10:46 AM, Noe Misael Nieto Arroyo wrote: Hi all, I wanted to update the old python.org.mx to plone4 (right now is offline , sorry). We used PloneHelpCenter for some documentation so I wanted to see if it would work with Plone 4, but I've got

[Product-Developers] Migrating FSS to plone.app.blob and then to Plone 4

2010-10-14 Thread Noe Misael Nieto Arroyo
Hi all, We want to migrate a Plone 3.2 site that uses iw.fss to Plone 4. We are not certain that iw.fss will work on Plone 4. Has anyone done something like that? Will iw.fss work on Plone 4? Is it possible to migrate iw.fss to blobstorage? --- Noe

Re: [Product-Developers] Migrating FSS to plone.app.blob and then to Plone 4

2010-10-15 Thread Noe Misael Nieto Arroyo
Thanks! We will try to write the FSS- Default migration code. --- Noe 2010/10/15 Gilles Lenfant gilles.lenf...@alterway.fr Le 14 oct. 2010 à 21:27, Noe Misael Nieto Arroyo a écrit : Hi all, We want to migrate a Plone 3.2 site that uses iw.fss to Plone 4. We are not certain that iw.fss

[Product-Developers] Enabling collective.recipe.backup to backup blobs

2010-10-20 Thread Noe Misael Nieto Arroyo
Hi all, I was reading the soource code for collective.recipe.backup and it does not seem impossible to add support for blobs. But I don't understand if support for blob storage should be wirtten in collective.recipe.backup or in the repozo command (which I don't know where does it come from).

[Product-Developers] Dexterity and Images

2010-11-03 Thread Noe Misael Nieto Arroyo
Hi all, I have a dexterity Plone content type. It's called Picture : class IPicture(form.Schema): A Picture of a location title = schema.TextLine( title=_(uTitle), ) picture = NamedImage( title=_(uPicture), description=_(uPlease

Re: [Product-Developers] Dexterity and Images

2010-11-15 Thread Noe Misael Nieto Arroyo
Just for the record: All the image functionality is being moved to plone.app.imaging. --- Noe 2010/11/3 Héctor Velarde hector.vela...@gmail.com take a look at this, Noe: http://code.google.com/p/dexterity/issues/detail?id=72 best regards ___

Re: [Product-Developers] Dexterity and Images

2010-11-15 Thread Noe Misael Nieto Arroyo
is in plone.namedfile. Both are used similarly (via the @@images view) and are based on plone.scale. On 11/15/10 10:09 AM, Noe Misael Nieto Arroyo wrote: Just for the record: All the image functionality is being moved to plone.app.imaging. --- Noe 2010/11/3 Héctor Velarde hector.vela

Re: [Product-Developers] Dexterity and Images

2010-11-16 Thread Noe Misael Nieto Arroyo
Ok. thanks! 2010/11/15 David Glick davidgl...@groundwire.org On 11/15/10 10:38 AM, Noe Misael Nieto Arroyo wrote: Oh, that's right. I was wondering... does plone.scale scale images on the fly or it stores some scaled copy on ZODB ? Well, plone.scale is just a library for performing

Re: [Product-Developers] Migrating FSS to plone.app.blob and then to Plone 4

2010-11-23 Thread Noe Misael Nieto Arroyo
Hi Herman, No, the code was not written. Sorry. You can go ahead. --- Noe 2010/11/23 Herman Geldenhuys hgeldenh...@qsens.net: Noe Misael Nieto Arroyo n...@... writes: Thanks! We will try to write the FSS- Default migration code. --- Hi Noe, I'm currently in the same spot as you

[Product-Developers] Caching for custom views of images

2011-01-14 Thread Noe Misael Nieto Arroyo
Hi all, Some months ago I deployed a Plone 4 site for a car club at http://www.vdubmexico.com. We've recently had some issues with varnish and Guru Meditation randomly thrown at logged in users and also to some anonymous users. So, besides to increase the various timeout parameters of varnish, I

Re: [Product-Developers] Caching for custom views of images

2011-01-17 Thread Noe Misael Nieto Arroyo
I was looking at it and for sure I will install it. However, do I need toadd/remove/edit my code so I can take full advatange of plone.app.caching? (I'm being lazy as I haven't dug into the plone.app.caching documentation). --- Noe 2011/1/15 Héctor Velarde hector.vela...@gmail.com: Did you

[Product-Developers] xdv/diazo and if-else/switch conditional structures

2011-02-02 Thread Noe Misael Nieto Arroyo
Hi. I'm working with diazo and I want to do some sort of if-then-else structure. But i don't know how to do it. Currently, what I do is this: !-- Stuff that happens on all pages -- xi:include href=rules-common.xml / !-- Stuff that happens on Plone's Documents -- rules

Re: [Product-Developers] xdv/diazo and if-else/switch conditional structures

2011-02-03 Thread Noe Misael Nieto Arroyo
This works like a charm. Thanks -- Noe 2011/2/2 Laurence Rowe l...@lrowe.co.uk Noe Misael Nieto Arroyo wrote: Hi. I'm working with diazo and I want to do some sort of if-then-else structure. But i don't know how to do it. Currently, what I do is this: !-- Stuff

[Product-Developers] TypeError on plone.transformchain.zpublisher when using theme / directive with xdv/diazo

2011-02-04 Thread Noe Misael Nieto Arroyo
Hi All, I want to apply a different style when users visit the contact-info page. but when i do this: ?xml version=1.0 encoding=UTF-8? rules xmlns=http://namespaces.plone.org/xdv; xmlns:css=http://namespaces.plone.org/xdv+css; xmlns:xi=http://www.w3.org/2001/XInclude;

Re: [Product-Developers] TypeError on plone.transformchain.zpublisher when using theme / directive with xdv/diazo

2011-02-04 Thread Noe Misael Nieto Arroyo
It works now, I added a theme/ tag on top of my rules.xml stating my default theme: theme href=azul/typography.html/ -- Noe 2011/2/4 Noe Misael Nieto Arroyo n...@iservices.com.mx Hi All, I want to apply a different style when users visit the contact-info page. but when i do this: ?xml

Re: [Product-Developers] TypeError on plone.transformchain.zpublisher when using theme / directive with xdv/diazo

2011-02-04 Thread Noe Misael Nieto Arroyo
I refrain my words. It makes no difference. I get the traceback plus Plone content is passed through without theming. -- Noe 2011/2/4 Noe Misael Nieto Arroyo n...@iservices.com.mx It works now, I added a theme/ tag on top of my rules.xml stating my default theme: theme href=azul

Re: [Product-Developers] TypeError on plone.transformchain.zpublisher when using theme / directive with xdv/diazo

2011-02-08 Thread Noe Misael Nieto Arroyo
Hi Ruben again. In fact, I was NOT using xdv 0.4b3. Running 0.4b3 seems to fix it. Thanks. --- Noe 2011/2/8 Noe Misael Nieto Arroyo n...@iservices.com.mx Hi Ruben, It's already using xdv = 0.4b3 :/ --- Noe 2011/2/5 Ruben Hidalgo ruben.rhida...@gmail.com [versions] xdv = 0.4b3

[Product-Developers] Xdv/Diazo: generating text from a xsl:function

2011-02-11 Thread Noe Misael Nieto Arroyo
I'm trying to create a xsl:function that outputs the value of a xpath selector sorrounded with some boilerplate code (html div/ elements). Upon calling the function, the content of the xpath selector makes it to the html output, but not the boilerplate code. Here's the xml stylesheet: ?xml

Re: [Product-Developers] Xdv/Diazo: generating text from a xsl:function

2011-02-11 Thread Noe Misael Nieto Arroyo
) XSLTApplyError: XPath evaluation returned no result. 2011/2/11 Noe Misael Nieto Arroyo n...@iservices.com.mx I'm trying to create a xsl:function that outputs the value of a xpath selector sorrounded with some boilerplate code (html div/ elements). Upon calling the function, the content of the xpath

[Product-Developers] How to play nice with prefs_install_products_form?

2011-02-18 Thread Noe Misael Nieto Arroyo
I'm working on a Plone Theme based on diazo. In fact, just a plain Plone product. I made some changes to the theme and changed the profile version number. And restarted Plone. Upon restart, the Plone control panel's prefs_install_products_form shows this message below my product's name: This

[Product-Developers] zope.formlib forgetting

2011-03-03 Thread Noe Misael Nieto Arroyo
I'm working on a zope.formlib for Plone 4. Validation works fine and after I submit it (it submits to itself) the results are displayed below all the form fields. The problem is that, now that the results have been displayed, the information I put in the fields is no longer there. I have to

Re: [Product-Developers] zope.formlib forgetting

2011-03-04 Thread Noe Misael Nieto Arroyo
reset form after saving data. Regards, Vitaliy Podoba In article aanlktim+tz2gp8ubqbeojzpsdeejgixsanvgiqs_i...@mail.gmail.com,  Noe Misael Nieto Arroyo n...@iservices.com.mx  wrote: I'm working on a zope.formlib for Plone 4. Validation works fine and after I submit it (it submits

Re: [Product-Developers] Customizing TinyMCE

2011-03-18 Thread Noe Misael Nieto Arroyo
I have no idea how to do It. I'm curious to know if there's some solution for this. --- Noe 2011/3/16 Jim Baack jh...@thebaacks.com I have been trying to navigate the code in Products.TinyMCE but figure someone can probably point me in the right direction quicker. I have a custom content

[Product-Developers] Serving files from a skin_folder

2011-03-18 Thread Noe Misael Nieto Arroyo
I'm working on a plone theme (Plone 4.0.3) and I want to add some custom fonts. The idea is simple: a ) Add one more css file in cssregistry.xml file, so this css gets included in all pages, b ) add the css to one of the file system directory views of my theme (e.g.

Re: [Product-Developers] Serving files from a skin_folder

2011-03-22 Thread Noe Misael Nieto Arroyo
Hi. 2011/3/19 Mikko Ohtamaa mikko+pl...@redinnovation.com Noe Misael Nieto Arroyo wrote: So, what's the deal? Wil CMFCore's DirectoryViews ever serve this kind of files? Or should I use the zope3-is way to register resources? Both ways work, though DirectoryView will lead

Re: [Product-Developers] Serving files from a skin_folder

2011-03-22 Thread Noe Misael Nieto Arroyo
to look: Read about it here: http://products.medialog.no/googlefonts Espen Den 19. mar. 2011 kl. 11.27 skrev Mikko Ohtamaa: Noe Misael Nieto Arroyo wrote: So, what's the deal? Wil CMFCore's DirectoryViews ever serve this kind of files? Or should I use the zope3-is way to register

Re: [Product-Developers] YouTube in pages

2011-03-22 Thread Noe Misael Nieto Arroyo
I don't know if these would work for you, but there are two products on plone 4 that allow users to easily embed online video in plone. Users only need to provide the video link: http://plone.org/products/nmd.plonelinkasvideoembed 2010/10/7 Mike Metcalfe m...@metcalfe.co.za Hi, I'm

[Product-Developers] zest.releaser and custom package repository

2011-03-23 Thread Noe Misael Nieto Arroyo
Hi, This question is about zest.releaser. I apologize if this question is off-topic. I have set-up a custom repository for some of our products. I want to use zest.releaser to upload eggs to a directory on that server (e.g. /var/www/files), Can zest.releaser upload files throug scp or sftp? ---

[Product-Developers] Differences between addProduct() and addProfile() for Products.PloneTestCase

2011-03-24 Thread Noe Misael Nieto Arroyo
I'm trying to write some tests. Looking under the hood I found that PloneTestCase class defines two class methods: addProfile() and addProduct(). The former Imports an extension profile into the site. whereas the latter Quickinstalls a product into the site. What's the difference between both

Re: [Product-Developers] Differences between addProduct() and addProfile() for Products.PloneTestCase

2011-03-24 Thread Noe Misael Nieto Arroyo
Thank you very much. That was very clear. --- noe 2011/3/24 Ross Patterson m...@rpatterson.net Noe Misael Nieto Arroyo n...@iservices.com.mx writes: I'm trying to write some tests. Looking under the hood I found that PloneTestCase class defines two class methods: addProfile

[Product-Developers] Differences between FunctionalDocTestSuite and FunctionalDocFileSuite

2011-03-24 Thread Noe Misael Nieto Arroyo
Can't find the difference between FunctionalDocTestSuite and FunctionalDocFileSuite. Looks to me that both do the same thing, but one takes a module keyword and the other takes a package keyword. I did a quick lookup inside Testing.ZopeTestCase but I couldn't find any explaination. So what are

Re: [Product-Developers] Differences between FunctionalDocTestSuite and FunctionalDocFileSuite

2011-03-24 Thread Noe Misael Nieto Arroyo
Also, on the documentation of Testing.ZopeTestCase there's a reference to this URL http://www.zope.org/Members/shh/ZopeTestCaseWiki/ZopeTestCaseWiki But renders an ugly error. --- Noe 2011/3/24 Noe Misael Nieto Arroyo n...@iservices.com.mx Can't find the difference between

[Product-Developers] plone.app.registry and read-only zope schemas

2011-03-28 Thread Noe Misael Nieto Arroyo
I was trying to create a read-only record. I found that, if you set the readonly=True attribute of a zope.schema in an interface and use that interface for a record registry, plone.app.registry will not create that record. Is it a bug or a feature? --- Noe

Re: [Product-Developers] plone.app.registry and read-only zope schemas

2011-03-29 Thread Noe Misael Nieto Arroyo
2011/3/29 Martin Aspeli optilude+li...@gmail.com On 29 March 2011 04:10, Noe Misael Nieto Arroyo n...@iservices.com.mx wrote: I was trying to create a read-only record. I found that, if you set the readonly=True attribute of a zope.schema in an interface and use that interface

[Product-Developers] Where's a good datepicker for zope.formlib?

2011-03-29 Thread Noe Misael Nieto Arroyo
I'm working on a loan calculator using zope.formlib and following this tutorial: http://plone.org/documentation/manual/developer-manual/forms/using-zope.formlib The Form interface has two date schemas like this: class ISimuladorForm(Interface): Zope Interface for the financial simulator

Re: [Product-Developers] Where's a good datepicker for zope.formlib?

2011-03-30 Thread Noe Misael Nieto Arroyo
I just found that collective.z3cform.datetimewidget has been included in my buildout as a dependency of another package. I'll try to use it. --- Noe 2011/3/30 Gil Forcada g...@usecm.com 2011/3/29 Noe Misael Nieto Arroyo n...@iservices.com.mx I'm working on a loan calculator using

Re: [Product-Developers] Where's a good datepicker for zope.formlib?

2011-03-31 Thread Noe Misael Nieto Arroyo
2011/3/31 Martin Aspeli optilude+li...@gmail.com On 30 March 2011 18:30, Noe Misael Nieto Arroyo n...@iservices.com.mxwrote: I just found that collective.z3cform.datetimewidget has been included in my buildout as a dependency of another package. I'll try to use it. This is a widget

[Product-Developers] When to use five:registerClass / ?

2011-04-05 Thread Noe Misael Nieto Arroyo
I'm doing some work with content-types and I see that the ZCML used to declare classes sometimes use five:registerClass / and sometimes it doesn't. After looking at Martin Aspelli's Professional Plone Development book's examples, chapter 10, I find that the optilus.cinemacontent package does not

[Product-Developers] Is there a way to browse the ZCA machinery?

2011-04-05 Thread Noe Misael Nieto Arroyo
Sometimes reading code does not give a clear understanding of which bits of code are being used when working with utilities, components etc.. It may be that I still don't quite understand the ZCA Machinery, but, is there a way to browse or graph all the relations between Utilities, adapters, and

Re: [Product-Developers] Is there a way to browse the ZCA machinery?

2011-04-05 Thread Noe Misael Nieto Arroyo
2011/4/5 Dylan Jay d...@pretaweb.com: On 06/04/2011, at 9:05 AM, Ross Patterson wrote: Noe Misael Nieto Arroyo n...@iservices.com.mx writes: Sometimes reading code does not give a clear understanding of which bits of code are being used when working with utilities, components etc

Re: [Product-Developers] Where's a good datepicker for zope.formlib?

2011-04-06 Thread Noe Misael Nieto Arroyo
/archetypes.datetimewidget best, johannes raggam On Thu, 2011-03-31 at 10:43 -0600, Noe Misael Nieto Arroyo wrote: 2011/3/31 Martin Aspeli optilude+li...@gmail.com         On 30 March 2011 18:30, Noe Misael Nieto Arroyo         n...@iservices.com.mx wrote:                 I just found