Closed (duplicate)
Project:
Drupal core
Version:
4.5.2
Component:
theme system
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
19 Jan 2005 at 18:49 UTC
Updated:
4 Mar 2005 at 21:22 UTC
Jump to comment: Most recent file
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?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3337422_462c3dc716_o.png | 5.7 KB | chrismessina |
| #2 | block_module.zip | 98.68 KB | kiev1.org |
Comments
Comment #1
kiev1.org commentedIt 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)
Comment #2
kiev1.org commentedhttp: // 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)
Comment #3
kiev1.org commentedrequre
ALTER TABLE `blocks` CHANGE `region` `region` VARCHAR( 255 ) DEFAULT '0' NOT NULL
Comment #4
kiev1.org commentedupdate is here => http://kiev1.org/download/block_module.zip
Comment #5
chrismessina commentedIn 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:
Comment #6
chrismessina commentedLooks like my image wasn't allowed so I've attached it.
Comment #7
kiev1.org commentedYes, 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
Comment #8
arnabdotorg commentedThis has been discussed (and patched) before: http://drupal.org/node/13008
Comment #9
jonbob commentedComment #10
kiev1.org commentedAt me like it is easier realized http://kiev1.org/download/block_module.zip
Comment #11
nsk commentedInstead 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.
Comment #12
kiev1.org commentedThanks, 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?