block

Events happening in the community are now at Drupal community events on www.drupal.org.
Junaos's picture

How do I fix this sidebar gutter issue in Acquia Slate?

[FIXED] Hey,

I seem to be having an issue with my sidebar gutters using Acquia Slate.

I can set up the blocks however I like them, however, they have an INSANELY large margin-bottom, and a Firebug inspection isn't revealing anything that can be modified.

Screnshot attached, site at http://www.theoryofstatic.com/tosweb [/FIXED]

I didn't notice the .dark-transparent-background element. Which, by the way, has a min-height of 390px. Setting a smaller min-height (I personally did 100px, you can probably get away with 1px if you try) in local.css fixed the problem.

Read more
joergvk's picture

Getting Menu_Id for a Menu-Block placed in a Region of a Theme

Hello!

This may be OT here - in case it is, maybe you can point me to the right place to post this.

I'm working on a theme for a non-profit website. I've been googling for a whole day without finding a solution.

I want to achieve the following:

Menu-Blocks that are placed in a certain region of my theme need to be processed to change their markup. Processing is not hard to do. But how can I get the following info from drupal:

  1. Is there a Block containing a Menu in a certain region?
  2. If so, what is the menu_id of this menu, so that my theme can process the menu tree?
Read more
per's picture

Två snabba frågor

Hej,

Har förhoppningsvis två snabba korta frågor.

1, Hur gör man för att placera två block brevid varandra i en region? (vertikalt)

2, Vad är bäst att använda för att göra en list meny på en specifik del av en sida. Views eller meny modulen.

Tack på förhand

Read more
lehongduc87's picture

Xin chỉ giùm phần block

Xin chào mọi người. Mình đang tự nghiên cứu về drupal. Do chưa từng biết gì về drupal trước đó nên mình nghiên cứu luôn về drupal 7(đồng thời xem lun phần drupal 6 nếu 7 chưa có).
Mình gặp vấn đề sau nhờ những người đi trước chỉ giúp.

Read more
juliavdw's picture

Images don't show in blocks

I've got a site that I just ported from a local environment to a remote testing server. Everything is working fine except that an image that I put in a block does not show up! I have checked the path; all seems correct, and the permissions on that folder are 755 and 777 for the image itself.

The only way this site is different from others I am working on is that it is set up as a multisite.

I have my path set up as "sites/domain.com/files/image.png" (where it is), with all spelled correctly.

Read more
MorganG's picture

Infoga php i block

Jag provar att hämta och presentera innehåll från en annan webbplats i ett block på följande vis:

<?php
$homepage
= file_get_contents('http://www.exempel.se');
echo
$homepage;
?>

Det enda som visas är koden som skrivs ut i blocket?

Read more
axasaga's picture

Nyheter i egen region

Hej!

Jag försöker få mina nyheter från views att visas i ett block eller region som jag själv skapat. Jag hittade den här länken http://www.webopius.com/content/125/creating-custom-regions-in-drupal-th... och trodde att mina problem var lösta. Har följt instruktionerna till punkt och pricka men jag lyckas bara med att få till ett fält. När jag vill lägga till mina nyheter från Views i detta block så syns de inte alls. Behöver man göra något mer?

Mvh Frida

Read more
mikeytown2's picture

AJAX Loading of any Block

For sites that like to use a cache to serve the full page (boost, drupal core cache, ect...), but still would like to have more dynamic content in a block; loading of blocks via ajax seems like a good way to accomplish this. I've already accomplished this with the boost module and I'm wondering if/how I should abstract this out to be a generalized solution.

Simple way

Below is the simple way to do it, for one or 2 blocks it works. For anything more then that it would probably have a negative impact since it's doing a full bootstrap for each block.

blocka.php

Read more
hades666evil's picture

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

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 :

Read more
lordkelvin's picture

how to make bordered block on slate theme

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

Read more
Subscribe with RSS Syndicate content