zope

Plone: How use the html5 video tag with content types?

I have a zpt (zope page template), where I want to use a video tag, something like: <video src="FILE_LOCATION" width="320" height="240" type='video/ogg; codecs="theora, vorbis"' controls></video> where FILE_LOCATION would be a content type of plone. I can use either 3 ways to acces the file: 1) file.download_url #gives me: http://loc...

Two Zope/Plone machines and SSO

Hi folks, I'm installing an environment where I had two Zope/Plone servers: plone1 -> for web content & user authentication plone2 -> for web applications I want to implement SSO around both servers but I don't know how to do it. I try to modify login_next and setAuthCookie(..) to share the __ac cookie in the domain, but didn't work...

An HTML template engine for Java like Genshi or Zope's TAL

I need to work with a Web Designer so... Can you suggest me any? Thanks in advance FYI: Zope's TAL The Template Attribute Language (TAL) is a templating language used to generate dynamic HTML and XML pages. Its main goal is to simplify the collaboration between programmers and designers. This is achieved by embedding TAL statement...

Create user page at subdomain

How to implement automatic page creation on a subdomain when a new user registers on the site? (Working in Python on the Plone CMS and Zope web app server) ...

Pinax vs. Plone -- Dev time, flexibility, security?

Trying to evaluate Pinax vs. Plone as platforms for developing a social network with some RIA capabilities and a solid permissions setup allowing the user to make content visible on a per item/group basis. Would I be better off hacking Plone (and having to learn Zope, etc) or adding on/modifying Pinax with existing/new Django? Trying to...

What are the essentials i need to install if i want to use Posgresql DB with zope?? for eg : Zope Database Adapter ???

i am into a project where zope web server is used. With this Posgresql database is used. But i am not able to add a new Posgresql connection via zope??? Actually, i am a beginner and i am not aware of what else i need to install so that i can use Posgresql dB with zope. From whatever i have explored about this i have come to know that i ...

Is Zpsycopg2 compatible with zope 2??

I have zope 2.11 installed. Now i want to use Posgresql 7.4.13 DB with it. So i know i need to install psycopg2 Database Adapter. Can any one tell me Is psycopg2 compatible with zope2?? ...

Building tree structure from flat list derived from zope catalog call without recursion

I have all objects which get looked up to provide interpreter with both parents objects and object subobjects. I hope to do this without recursion for zope not appreciating this conventional recursion. I set the view context as root object for recursion to start attaching object on then iterate across this filtered list of intid/objects...

transfer cookies from twill to zope

Hi, I'm trying to figure out a way to transfer cookies from a Twill browser instance to a Zope browser instance. They both are built on Mechanize, so this should be possible. I have tried: zopeBrowser = zope.testbrowser.browser.Browser() twillBrowser = twill.commands.get_browser() twillBrowser.go("http://example.com/") # got some coo...