IDEA: In the admin-menu - setting block already is a zone, but only the left-right, And it is necessary to change to a full code of a zone (2 symbols) - and then in XTemplate only to place the necessary group of blocks in the necessary place (zone): block:L block:R block:77 - as it to realize? Who - that can already has made?

Comments

kiev1.org’s picture

Priority: Normal » Critical

It is necessary to make hack the module block: module block find in a theme (on XTemplate) new regions-zones (group blocks) and show in the dropping menu, there where radiobuton left/right (block-admin page)

kiev1.org’s picture

StatusFileSize
new98.68 KB

http: // kiev1.org/download/block_module.zip
only it works while only with the usual themes, not using teme engine - to use so (there an example of a theme inside archive) - on similarity as was
$leftblocks = theme ("blocks", "left");
$rightblocks = theme ("blocks", "right");

but in an any kind
$yyy=theme ("blocks", " anywhere 1 ");
$zzz=theme ("blocks", " for example here ");
$nnn=theme ("blocks", " and here it it is possible ");
$mmm=theme ("blocks", " or here it it is possible ");

Variables then to deduce where it is necessary to place in design group of blocks as they were deduced earlier only to an attribute at the left-on the right, now anywhere and as much as necessary, and the changed module block itself parse the file of a pattern for new such zones and in the administrator-panel of blocks shows those the dropping out list instead of a radiobud all that has found in the current theme and the block can be placed in an any zone instead of in left-right (in general it is an initial variant shall complete then that with theme engine worked)

kiev1.org’s picture

requre
ALTER TABLE `blocks` CHANGE `region` `region` VARCHAR( 255 ) DEFAULT '0' NOT NULL

kiev1.org’s picture

Category: feature » task
chrismessina’s picture

In theory this is all a good idea and need to be done, but I think making these kinds of changes in isolation without a broader plan might hurt this work in the long term.

I'm working on a more flexible system of drilldown regions, where each region has subregions and can more easily be addressed by themes and stylesheets (my wiki is down right now, but I will have information available on it eventually).

See this for now:

Only local images are allowed.

chrismessina’s picture

StatusFileSize
new5.7 KB

Looks like my image wasn't allowed so I've attached it.

kiev1.org’s picture

Yes, It is good but not absolutely convenient. Because at node the design both the style and the logic, and at blocks the - therefore all should be logical and moreover - blocks for different modules are already written and it is convenient to place them in an any place of nothing inventing. I already have made all also it works, only now I think to finish for xtemplate

arnabdotorg’s picture

This has been discussed (and patched) before: http://drupal.org/node/13008

jonbob’s picture

kiev1.org’s picture

At me like it is easier realized http://kiev1.org/download/block_module.zip

nsk’s picture

Instead of zones, I would prefer a block-in-a-block approach where the whole site is a block and more blocks are displayed within it. I have detailed this idea in a feature request post.

kiev1.org’s picture

Thanks, but can confuse it a little. The designer can construct any way zones so they will look as the block in the block is a question of design instead of programming. In Drupal all should be simple, my completion does not complicate and simplifies a code - I do not understand why it yet have not brought in CVS?