Why is it that the pre-existing blocks can't be edited, but blocks that I create can? I have blocks I created in Drupal 4.7 that I could edit, but when the site was moved to Drupal 5, the same blocks became uneditable. Is there a way to modify their contents or do I have to just delete and recreate the whole block?
Quoting Jean Gazis jgazis@gmail.com:
Why is it that the pre-existing blocks can't be edited, but blocks that I create can? I have blocks I created in Drupal 4.7 that I could edit, but when the site was moved to Drupal 5, the same blocks became uneditable. Is there a way to modify their contents or do I have to just delete and recreate the whole block?
What do you mean by block? Does your database user have the correct permissions to be able to update the data? Does the access control for the user doing the editing have permissions to edit the ``block''?
Earnie
By blocks, I mean the things that are called "blocks" on the admin menus, that usually go in the side columns. If I go "add block" and make a new one, such as random quote or related links, then I am able to go back later and edit it, but if I pick it off the list, I can't, and if I made a block in 4.7, it became uneditable in 5, i.e., when I go to configure the block, I see no block content, just the placement and visibility options. I am user 1 and as far as I know have given myself all the permissions. Either way, why would blocks I create behave differently than the ones that are already available, such as the standard menu blocks?
On 5/4/07, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Jean Gazis jgazis@gmail.com:
Why is it that the pre-existing blocks can't be edited, but blocks that
I
create can? I have blocks I created in Drupal 4.7 that I could edit, but when the site was moved to Drupal 5, the same blocks became uneditable.
Is
there a way to modify their contents or do I have to just delete and recreate the whole block?
What do you mean by block? Does your database user have the correct permissions to be able to update the data? Does the access control for the user doing the editing have permissions to edit the ``block''?
Earnie
[ Drupal support list | http://lists.drupal.org/ ]
Maybe this doesn't address what you're asking, but blocks defined by various modules generally don't offer any controls over their content directly within the block configuration (except for the general block controls, such as on what pages they appear), while blocks you create will offer their "guts" to you because you're the one who created them in the first place.
Does this come close?
Laura
On May 4, 2007, at 9:16 PM, Jean Gazis wrote:
By blocks, I mean the things that are called "blocks" on the admin menus, that usually go in the side columns. If I go "add block" and make a new one, such as random quote or related links, then I am able to go back later and edit it, but if I pick it off the list, I can't, and if I made a block in 4.7, it became uneditable in 5, i.e., when I go to configure the block, I see no block content, just the placement and visibility options. I am user 1 and as far as I know have given myself all the permissions. Either way, why would blocks I create behave differently than the ones that are already available, such as the standard menu blocks?
On 5/4/07, Earnie Boyd earnie@users.sourceforge.net wrote: Quoting Jean Gazis jgazis@gmail.com:
Why is it that the pre-existing blocks can't be edited, but
blocks that I
create can? I have blocks I created in Drupal 4.7 that I could
edit, but
when the site was moved to Drupal 5, the same blocks became
uneditable. Is
there a way to modify their contents or do I have to just delete and recreate the whole block?
What do you mean by block? Does your database user have the correct permissions to be able to update the data? Does the access control for the user doing the editing have permissions to edit the ``block''?
Earnie
[ Drupal support list | http://lists.drupal.org/ ]
-- Jean Gazis www.jeangazis.com www.boxofrain.us -- [ Drupal support list | http://lists.drupal.org/ ]
Blocks that are generated by module code cannot be edited. It doesn't really make sense to be able to, remembering that the block content is generated by the PHP code in the module. This has always been true. The blocks you add are different, because they're static. You type in the values, and the data is not generated by module code, but looked up in the database. That's the best explanation as to "why".
I'm not sure why your 4.7 blocks became uneditable in 5.0. The objvious work-around is to disable those and create new ones if you need to edit them.
Dave
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jean Gazis Sent: Friday, May 04, 2007 8:16 PM To: support@drupal.org Subject: Re: [support] editing block content question
By blocks, I mean the things that are called "blocks" on the admin menus, that usually go in the side columns. If I go "add block" and make a new one, such as random quote or related links, then I am able to go back later and edit it, but if I pick it off the list, I can't, and if I made a block in 4.7, it became uneditable in 5, i.e., when I go to configure the block, I see no block content, just the placement and visibility options. I am user 1 and as far as I know have given myself all the permissions. Either way, why would blocks I create behave differently than the ones that are already available, such as the standard menu blocks?
On 5/4/07, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Jean Gazis jgazis@gmail.com: > Why is it that the pre-existing blocks can't be edited, but blocks that I > create can? I have blocks I created in Drupal 4.7 that I could edit, but > when the site was moved to Drupal 5, the same blocks became uneditable. Is > there a way to modify their contents or do I have to just delete and > recreate the whole block? > What do you mean by block? Does your database user have the correct permissions to be able to update the data? Does the access control for the user doing the editing have permissions to edit the ``block''? Earnie -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks, David and Laura. That's exactly it, but I didn't get why they would be different. This makes sense. It's not _that_ big a deal to recreate a block or two, just a bit annoying, because I can't cut and paste the original content.
On 5/7/07, Metzler, David metzlerd@evergreen.edu wrote:
Blocks that are generated by module code cannot be edited. It doesn't really make sense to be able to, remembering that the block content is generated by the PHP code in the module. This has always been true. The blocks you add are different, because they're static. You type in the values, and the data is not generated by module code, but looked up in the database. That's the best explanation as to "why".
I'm not sure why your 4.7 blocks became uneditable in 5.0. The objvious work-around is to disable those and create new ones if you need to edit them.
Dave
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Jean Gazis *Sent:* Friday, May 04, 2007 8:16 PM *To:* support@drupal.org *Subject:* Re: [support] editing block content question
By blocks, I mean the things that are called "blocks" on the admin menus, that usually go in the side columns. If I go "add block" and make a new one, such as random quote or related links, then I am able to go back later and edit it, but if I pick it off the list, I can't, and if I made a block in 4.7, it became uneditable in 5, i.e., when I go to configure the block, I see no block content, just the placement and visibility options. I am user 1 and as far as I know have given myself all the permissions. Either way, why would blocks I create behave differently than the ones that are already available, such as the standard menu blocks?
On 5/4/07, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Jean Gazis jgazis@gmail.com:
Why is it that the pre-existing blocks can't be edited, but blocks
that I
create can? I have blocks I created in Drupal 4.7 that I could edit,
but
when the site was moved to Drupal 5, the same blocks became
uneditable. Is
there a way to modify their contents or do I have to just delete and recreate the whole block?
What do you mean by block? Does your database user have the correct permissions to be able to update the data? Does the access control for the user doing the editing have permissions to edit the ``block''?
Earnie
[ Drupal support list | http://lists.drupal.org/ ]
-- Jean Gazis www.jeangazis.com www.boxofrain.us
-- [ Drupal support list | http://lists.drupal.org/ ]
On May 7, 2007, at 1:37 PM, Jean Gazis wrote:
Thanks, David and Laura. That's exactly it, but I didn't get why they would be different. This makes sense. It's not _that_ big a deal to recreate a block or two, just a bit annoying, because I can't cut and paste the original content.
But you can print the automatically generated contents of one block within another block: http://drupal.org/node/26502
I've used this for instances such has having the contents of more than one block display within a block, or where I wanted some additional copy or code to work in conjunction with the automatic module-generated content.
Laura