-
New Plone website – LifeInLjubljana.si
Read more »: New Plone website – LifeInLjubljana.siDuring the first month of 2010 we’ve been busy developing a new site for Erasmus students in Ljubljana – LifeInLjubljana.si. It helps Erasmus students coming to Ljubljana to easily find a room and connect with other Erasmus students already in Ljubljana. We use custom developed content types to provide a the list of available flats/beds with…
-
Testing session in Plone 3.3
Read more »: Testing session in Plone 3.3Yesterday, while I was working on LifeInLjubljana.si, I had to test if some data was correctly written to Plone’s session. I couldn’t use the standard ptc.FunctionalTestCase test case as it does not have a session and I would get errors like this: (Pdb) self.context.session_data_manager *** AttributeError: session_data_manager (Pdb) self.context.REQUEST.SESSION *** AttributeError: SESSION Following a tip…
-
unrestrictedGetObject()
Read more »: unrestrictedGetObject()Argh! Sometimes I am truly amazed by how much I can complicate things. For the past year or so, every time I had to access an object with brain.getObject() that I otherwise did not have permission to, I went to great lengths hacking Zope’s SecurityManager to let me do it. Today, I was introducted to…
-
CWPortlets, Scrawl and DISQUS
Read more »: CWPortlets, Scrawl and DISQUSFollowing previous post, here are instructions to get above mentioned products running on Plone 4 Alpha 2. Products.ContentWellPortlets ContentWellPortlets is a great product that enables you to add portlets before and after content as well as in the footer. There is no official release for Plone 4 yet (as expected) so you need to use…
-
Plone4 + collective.xdv + deco.gs
Read more »: Plone4 + collective.xdv + deco.gsHere at NiteoWeb Ltd. we decided a few days ago that we should start trying out Plone 4 in order to be ready for the stable release. There are quite some new features that I can’t wait to start using on production sites. Being in adventurous mood I volunteered for the job. I also wanted…