I completed the task by simply making it directory?id=xxx and getting the querystring using self.REQUEST, and did all the functions in one single directory class. And all the html tables for displaying are also dumped into the python class. ZPT stuff seems to too inflexible. Maybe I should have added a dummy user class to make the url look better.
Thanks guys for the response. Saw the "Professional Plone Development" sometime ago, but it's just basics as usual. Nothing on dynamic URL or something. Maybe Plone doesn't support it? No one has ever done "/xxx/id_number_or_attribute_value" with Plone? --- I did use paster for skeleton. But then I was just stuck with just a skeleton and flesh was hard to find. Haha. Too many useless folders and namespaces things that I removed. It was just a simple application, and registering everything was ok. Just no solution for the url question yet. Will archgenxml manipulate urls? "If you mean "I want to do it the php way", it does not work, there are no .php pages to fill the code in." Yes, we know how simple and awesome php is. But I hadn't meant anything close to that :) Sometimes life doesn't give you lemons (assuming lemon is something you'd want), and I am flexible with nightmarish stuff. Take java - confusing xml configurations in multiple files in multiple locations, gazillion folder levels and cryptic error messages (just like Plone). But it is much easier to search solutions and tutorials online. And way less imports for every little function. Less of a nightmare with netbeans/eclipse. Plone is so complex even the plain vanilla install loads... so... very... slow. Zzz... Create new product add-on? Nooooo... I feel that Plone has a slightly more secretive and proud community. Like they think Plone owns all or something! (An example statement quoted above. And so does the expensive Plone consultant, who still got stuck with many of its problems.) Or maybe just Plone is still young... -- View this message in context: http://n2.nabble.com/Archetype-Dynamic-URL--tp3176774p3195655.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
