block

How can I retrieve the context from a panel to a custom block placed in it ? (with panels 3)

joss's picture
private
group: Panels
joss - Wed, 2009-06-24 08:13

I don't figure out how to retrieve the panel's context to modifie the block's content.
Maybe would I better to make a new pane instead a new block ?
It's would be great if I could choose the context and pass arguments form the block setting in panel, like with a view.

Let's imagine I've made a custom block in a custom module like this :


how to make bordered block on slate theme

lordkelvin's picture
private
lordkelvin - Fri, 2009-04-24 00:49

hi,

I recently installed and modified acquia slate theme onto my site and I absolutely love it.
I just have one thing that bothers me. Unlike the left sidebar, I see that right sidebar doesn't have borders which makes it look very disorganized. I want to know how I can enable the border for the right sidebar.

for your info, my site is: http://www.roflegion.com

Thank you,
Kelvin


How to create event: "User adjusts its location in drop down list" using a drop down list in a created block ?

public
group: Rules
MattDrupalee - Sun, 2009-02-01 20:00

Hello!

I would like to do the following:
1/ create a block with a drop down selection list with a list of taxonomy terms (corresponding to locations)
2/ when the user updates the value in this dropdown selection, it would generate an event, and pass the selected term
3/ then a rule would be created using this event: when it happens, it would trigger an action to redirect the user to a page .../selectedlocation

I think i can do 3/ with rule.. would you know how i can do 1/ and 2/ or of any related documentation? Or do you think of a better way to do it than with rules?

Blocks: wrong word?

IceCreamYou@drupal.org's picture
public
group: Usability
IceCreamYou@dru... - Mon, 2008-06-02 04:19

There may have been discussion about this before, but I'm not aware of it. I know there's a similar discussion about the word "node."

Something I like to do just to see how "usable" my site is, is to watch someone register and try to use the site without giving them any help. I was doing this the other day, and a user went to edit her profile. Everything was fine until she got down to the section where you can enable or disable blocks; she just skipped it. I asked why, and she said she was confused; she thought "blocks" would "block" information.


Keeping Blocks in Synch

liberatr@drupal.org's picture
public
liberatr@drupal.org - Tue, 2008-04-15 22:08

Hey folks,

I've worked on a number of Drupal sites where we needed to keep multiple sites in synch, and Drupal has been a challenge to keep that way because so many options are changed through the UI - this tends to show its weakness when we want to keep the settings across all sites (don't even mention content). Moving content types and views is easy with the import/export tools, but blocks are another story. The visibility rules, Roles, and input formats all require your time and attention to detail - time you could be spending working on other features.


Custom NODE-X frontpage with views

rport's picture
public
rport - Sun, 2008-03-02 01:08

Last week I started the challenge to upgrade my custom zen sub-theme from zen 5.x-0.7 to zen 5.x-1.0 which has taken a couple more hours effort than I had originally expected. The outcome so far however was worth the effort. Thanks JohnAlbin and contributors.

With the excellent documentation, I have decided to start and modify my frontpage from the traditional river of news to display NODE-X that wraps around BLOCK-X displayed on the right hand side of the content. Now I have hit a barrier and I need your input...


"Private messages" link in "Forum stuff" block doesn't work

public
group: phpbb
airali - Fri, 2008-02-15 19:37

I installed phpbb3 and phpbb module.

"Forum stuff" block shows 3 links: private messages, unread topics, unread posts. Links to topics and posts work, but "private messages" links to a "forum/inbox" which doesn't exist. But inbox exists, I can use it from the forum.

Why?

few problems

public
group: phpbb
demon326@drupal.org - Tue, 2007-09-04 12:52

Hi all,i'm starting this topics so i dont have to hijack the other ones :).

now i'm having some problems and these are the following:
1 recent topics block wont show topics
2 new user regestration gets ""this board has no forums"( i dont know if the problem is with the module but i have to grant the user manualy the acces :S)
3 session problem?,when i log in to phpbb using my drupal super account nothings hapens when logging in the fields just reset,but when i comment out the following lines in .htacces:

display nodes as blocks

public
group: Vancouver
chud - Tue, 2006-11-07 03:22

I built my first module that might actually be useful to someone else. Check out nodeblock at http://drupal.org/node/93339

Because Drupal's more fun when everything is a node! ;)

~chud

Syndicate content