Anthony,
I haven't run into this issue myself but it sounds like a situation where you'd need to customize the theme file eg. node-custom_content_type.tpl.php.
Marty
At 12:54 PM 3/7/2012, Anthony wrote:
Hi All, I defined a content type (D 7.12) and assigned it to a menu li. Then I defined a block and told it to only appear under said content type page. I assigned the block to the content region and now the content of the content type, which is also appearing in the content region, is below my block. I want, however, to have the block appear below the content of the content type.
So in the content region I have block A and then content B below it .
- Block A
- Content B
I would like to reverse the order
- Content B
- Block A
Any ideas? It is not possible to do anything on the block configuration page.
Thanks
Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
Perfect. Thanks.
tony mac is building web sites.
-----Original Message----- From: Marty Landman mlandman@face2interface.com Sender: support-bounces@drupal.org Date: Wed, 07 Mar 2012 13:08:21 To: support@drupal.org Reply-To: support@drupal.org Subject: Re: [support] Block order within content type
Anthony,
I haven't run into this issue myself but it sounds like a situation where you'd need to customize the theme file eg. node-custom_content_type.tpl.php.
Marty
At 12:54 PM 3/7/2012, Anthony wrote:
Hi All, I defined a content type (D 7.12) and assigned it to a menu li. Then I defined a block and told it to only appear under said content type page. I assigned the block to the content region and now the content of the content type, which is also appearing in the content region, is below my block. I want, however, to have the block appear below the content of the content type.
So in the content region I have block A and then content B below it .
- Block A
- Content B
I would like to reverse the order
- Content B
- Block A
Any ideas? It is not possible to do anything on the block configuration page.
Thanks
Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
So it's the omega theme and there is not php file with exactly that name. I will try to do something maybe a bit easier than getting muddy with php and just convert the former content type into an empty page and then set blocks in there if you can follow what I mean.
On Wed, Mar 7, 2012 at 10:11 AM, Tony MAC tony@tony-mac.com wrote:
Perfect. Thanks.
tony mac is building web sites.
-----Original Message----- From: Marty Landman mlandman@face2interface.com Sender: support-bounces@drupal.org Date: Wed, 07 Mar 2012 13:08:21 To: support@drupal.org Reply-To: support@drupal.org Subject: Re: [support] Block order within content type
Anthony,
I haven't run into this issue myself but it sounds like a situation where you'd need to customize the theme file eg. node-custom_content_type.tpl.php.
Marty
At 12:54 PM 3/7/2012, Anthony wrote:
Hi All, I defined a content type (D 7.12) and assigned it to a menu li. Then I defined a block and told it to only appear under said content type page. I assigned the block to the content region and now the content of the content type, which is also appearing in the content region, is below my block. I want, however, to have the block appear below the content of the content type.
So in the content region I have block A and then content B below it .
- Block A
- Content B
I would like to reverse the order
- Content B
- Block A
Any ideas? It is not possible to do anything on the block configuration
page.
Thanks
Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
-- http://drupal.org/project/personal_notes https://addons.mozilla.org/af/firefox/addon/181910/
-- [ Drupal support list | http://lists.drupal.org/ ]
The order of blocks is set chronologically. Is that right? Last block added on top? I'd like to shuffle them around. Doesn't work in the blocks admin page. Is this theme related? Omega.
On Wed, Mar 7, 2012 at 10:24 AM, Anthony tony@tony-mac.com wrote:
So it's the omega theme and there is not php file with exactly that name. I will try to do something maybe a bit easier than getting muddy with php and just convert the former content type into an empty page and then set blocks in there if you can follow what I mean.
On Wed, Mar 7, 2012 at 10:11 AM, Tony MAC tony@tony-mac.com wrote:
Perfect. Thanks.
tony mac is building web sites.
-----Original Message----- From: Marty Landman mlandman@face2interface.com Sender: support-bounces@drupal.org Date: Wed, 07 Mar 2012 13:08:21 To: support@drupal.org Reply-To: support@drupal.org Subject: Re: [support] Block order within content type
Anthony,
I haven't run into this issue myself but it sounds like a situation where you'd need to customize the theme file eg. node-custom_content_type.tpl.php.
Marty
At 12:54 PM 3/7/2012, Anthony wrote:
Hi All, I defined a content type (D 7.12) and assigned it to a menu li. Then I defined a block and told it to only appear under said content type page. I assigned the block to the content region and now the content of the content type, which is also appearing in the content region, is below my block. I want, however, to have the block appear below the content of the content type.
So in the content region I have block A and then content B below it .
- Block A
- Content B
I would like to reverse the order
- Content B
- Block A
Any ideas? It is not possible to do anything on the block configuration
page.
Thanks
Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
-- http://drupal.org/project/personal_notes https://addons.mozilla.org/af/firefox/addon/181910/
-- [ Drupal support list | http://lists.drupal.org/ ]
--
*Anthony Stefan Maciejowski*
*tony maciejowski** | analyst/programmer | websites | www.tony-mac.comt_maciejowski@hotmail.com
*Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski*
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
On Wed, Mar 7, 2012 at 1:47 PM, Anthony tony@tony-mac.com wrote:
The order of blocks is set chronologically. Is that right? Last block added on top? I'd like to shuffle them around. Doesn't work in the blocks admin page. Is this theme related? Omega.
Yes. It is the theme that actually ends up controlling the data given it. Recently I've been using Pixture Reloaded and when I add a block to the content area it is presented under the content. Someone who is better at theme coding will have to give you pointers in how to change the theme.
I believe, this can be done pretty easily with adding a custom region around content. A region before content and a region after content, where required blocks can be added.
If you are showing block on the node view page, then there is another way this can be achieved. You can add the contents of the block in $node object, on nodeapi view operation, and you will get the data in node--content-type.tpl.php, where you can custom theme it. To add block contents to $node object check this - http://drupal.org/node/164799
On Thu, Mar 8, 2012 at 1:26 AM, Earnie Boyd earnie@users.sourceforge.netwrote:
On Wed, Mar 7, 2012 at 1:47 PM, Anthony tony@tony-mac.com wrote:
The order of blocks is set chronologically. Is that right? Last block
added
on top? I'd like to shuffle them around. Doesn't work in the blocks admin page. Is this theme related? Omega.
Yes. It is the theme that actually ends up controlling the data given it. Recently I've been using Pixture Reloaded and when I add a block to the content area it is presented under the content. Someone who is better at theme coding will have to give you pointers in how to change the theme.
-- Earnie
-- https://sites.google.com/site/earnieboyd
[ Drupal support list | http://lists.drupal.org/ ]
On Wed, Mar 7, 2012 at 1:24 PM, Anthony tony@tony-mac.com wrote:
So it's the omega theme and there is not php file with exactly that name. I will try to do something maybe a bit easier than getting muddy with php and just convert the former content type into an empty page and then set blocks in there if you can follow what I mean.
You can just create the file copying and renaming "node.tpl.php" from the theme.
Have a look at template suggestions: http://drupal.org/node/1089656.
From the docs:
------------------------------------------------------------- node--[type|nodeid].tpl.php base template: node.tpl.php
Template suggestions are made based on these factors, listed from the most specific template to the least. Drupal will use the most specific template it finds:
1. node--nodeid.tpl.php 2. node--type.tpl.php 3. node.tpl.php -------------------------------------------------------------
thanks.
On Thu, Mar 8, 2012 at 7:19 AM, Al Sessions fultonchain@gmail.com wrote:
On Wed, Mar 7, 2012 at 1:24 PM, Anthony tony@tony-mac.com wrote:
So it's the omega theme and there is not php file with exactly that
name. I
will try to do something maybe a bit easier than getting muddy with php
and
just convert the former content type into an empty page and then set
blocks
in there if you can follow what I mean.
You can just create the file copying and renaming "node.tpl.php" from the theme.
Have a look at template suggestions: http://drupal.org/node/1089656.
From the docs:
node--[type|nodeid].tpl.php base template: node.tpl.php
Template suggestions are made based on these factors, listed from the most specific template to the least. Drupal will use the most specific template it finds:
- node--nodeid.tpl.php
- node--type.tpl.php
- node.tpl.php
-- Al Sessions -- [ Drupal support list | http://lists.drupal.org/ ]