Hi all,

one of my radiant sites features a catalog of cities, which is basically a 
rather large amount of subpages (say: 100) below a common parent. I started 
that project when radiant 0.8 was released, and there was no way to have paging 
on the admin UI without creating an extension. My extension defines a new model 
"City", and since cities need to have descriptions broken into parts like pages 
do, I ripped of the PagePart code to create CityPart.

In the end, the admin user sees a table of cities, with paging underneath, with 
each city being able to have a number of filtered parts, just like pages. All 
was good.

With the new release, almost all ui code broke. Initially I tried to reuse as 
many of standard css and javascript as possible, but since the tab control is 
tightly connected with the fact that it controls just page parts, I've had to 
do some monkey patching. A lot has changed in 0.9, and I'm wondering if there 
are smarter ways more compatible to standard radiant to accomplish this. My 
main concern is that once you'd have dozens of city pages, just a simple 
triangle to expand/collapse them all at once on the "Pages" ui isn't sufficient.

Any suggestions on how I could do this with radiant 0.9? Kind regards,

Christian

Reply via email to