Next weekend, on Saturday June 17, the French-speaking Drupal community in Belgium is organizing Belgium's very first DrupalCamp. The event takes place in Louvain-la-Neuve which makes it pretty accessible for both Dutch and French-speaking Belgians. Details are available on http://drupalfr.be. Due to the work of Gilles Bailleux, the event got some great press in this weekend's edition of the Belgian newspaper, La Libre Belgique. Both a screenshot and a PDF are provided below.
Read more »css help please
I have used below code in the body of my style.css to show image on the page background:
background: url(bg.gif) ;
but the problem is the (bg.gif) picture is repeating again in the page background(from middle of page).
(bg.gif is very tiny picture)
I have also used the
background: url(bg.gif) no-repeat;
but this case the bg.gif is not showing in the page background.
What I want it should not repeat again. Please help me.
Read more »Category: Theming Tags:
Adding classes and functions
Hello guys.
I'm starting to work on Drupal and I'd like to add some custom classes and function on a theme, by adding new .php files.
The problem is that I'm still not used with the .info file and I can't make it work... It works if on each page/story I use the include_once function, as in this exemple:
include_once("sites/all/themes/salamanderskins/Mailto.php");
$mailto = new Mailto();
$encrypted_link = $mailto->createLink('email@email.com','mail me');
Category: Theming Tags:
Need help on adding 728 ad to the top header region (outside theme regions)
Hi Guys,
This modification to my site has been long over due and I come to you in assistance.
(since I can't post a jpg on forum topic, please refer to this file: http://www.happygecko.net/site_code.jpg)
Read more »Category: Theming Tags:
includes/database.mysqli.inc:128 problem?
I have a problem like this:
warning: Cannot modify header information - headers already sent by (output started at /home/nildncom/domains/abcd.com/public_html/includes/database.mysqli.inc:128) in /home/nildncom/domains/abcd.com/public_html/includes/common.inc on line 141.
what can I do? please help..
Read more »Category: Modules Tags:
disable the default node page
I have been asked to removed the /node page from a Drupal site, and I honestly don't know how. Would I disable the page within a theme, or disable it in some kind of admin option? This should be a simple task, but I can't find info about it anywhere.
Read more »Category: Theming Tags:
Using Taxonomy Terms To Populate Drop Down Menu
Hey all.
I am using the Calendar module from the Download center here on Drupal.org. I have made a lot of View changes to the module and everything is working the way I want it to.
In the "Add Event" part, I have added a couple custom fields through the "Date" Content Type, but I am having issues with adding a Dropdown/Select List through the use of Taxonomy terms.
Read more »Category: Modules Tags:
override node_form_submit
Howdy. Hopefully this won't be so bad. I'm just trying to customize a system message (drupal_set_message) on redirect after submitting a form for creating a node. The redirect is working fine and I've located the message that I want to alter. It is set in node_form_submit with this function:
Read more »Category: Modules Tags:
Image gallery
Hi all,
I've been looking for a while now for a decent Image Gallery browser...
The ones I've come across weren't exactly bugfree or stable (like gallery2, or the brilliant module).
Can anyone recommend me a decent module for this basic functionality:
- show several pictures in "album-fashion", (previous pic, next pic, possibly a thumb-wise overview)
- in a stylish way (professional look, customizable althaough this is not a hard req)
- preferably that users can comment on below
-Wolf
Read more »Category: Modules Tags:
Calendar Module's View Selection Links
Using Drupal 6.12, Calendar 6.x-2.1, Date 6.x-2.2, and Views 6.x-2.6.
I'm trying to style the calendar view toggle links at top of the Calendar View page (the Year, Month, Week, Day, Add + links). Currently, the code output is similar to this:
Read more »Category: Theming Tags:
Drupal 7 usability code sprint in The Netherlands
On Friday, there is a Drupal meetup happening in Utrecht, The Netherlands. I'm planning to attend so looking forward to meet some of you there.
Read more »Category: News Tags:
Menu based on previous Menu Item
Hey all,
This is my second post on the subject.... I guess i wasn't clear enough.
I want to create a menu which displays the items based on previous selected item menu...
For example: on front page i have the following menu
HOME | ABOUT | FOO | BAR
when user click on FOO
I want the menu to appear as
SERVICE | BLA | SUPPORT | BACK
This should be one level menu, when a level2 is displayed it should replace level1.
I don't want to use a secondary menu neither an expanding menu....
any idea?
Read more »Category: Modules Tags:
Help on multi language transulation
Hi..
Im working on a site which needs multi language transulation.
Im using i18n ,internationalization, etc .
I want site in spanish, catalan and english. also i have imported es.po,ca.po
but some of the words are not transulating.
can any one have a patch file for this.
or do any one have another idea.
Read more »Category: Translations Tags:
Tip: Hide tabs with javascript for more accurate preview
Sometimes I get annoyed by having to log out to see what the page looks like without the editing-tabs (like when doing pixel-precise positioning). I just wanted to share this bit of code for adding a link for removing the tabs with a click while developing your theme. I'm working with Zen sub-theme and it requires jquery javascript library to be included.
Just add this
<a href="#" onclick="$('div.tabs').hide()" style="float:right; margin-top:-15px;"><?php print t('Hide'); ?></a>
Category: Theming Tags:
Body field in themed node form?
In my template for a node form I have different form elements show up with such:
<?php
print drupal_render($form['title']);
?>
Which works.
however when I try:
<?php
print drupal_render($form['body']);
?>
for body, it doesn't seem to work.
Any ideas?
Read more »Category: Theming Tags:
Multiple Themes For Comments
Hi,
I am building a site that has multiple blog topics with comments on a secondary page. One of my blog topics needs to be themed differently, to do so I am using the "Themekey" and "Path Auto" modules. The problem that I am running into is that I cannot correctly set the theme to the comments in relationship to the topic since the comment URL output is “node/123/talk.”
Read more »Category: Theming Tags:
HOW TO MAKE A SECONDARY LINK MENU??????
Hello, somebody knows how to make a secondary link menu, you know, just like those one on bottom or top of pages displaying generic infos like legal notes and so on..?
I try throu' secondary link menu but it just won't show after assigned to a position in the blocks configuration settings.... someone knows how to do this???? thanks everybody
Category: Modules Tags:
a mail module help...
I need for my site a modul for sending mail to my user on their birthday. The mail module must know when is the user's birthday , and send a message automaticly.
tnx
Read more »Category: Modules Tags:
its urgent.. drupal is creating huge number of tracing timestamp files in server's root folder... please help me out..
drupal is creating huge number of tracing timestamp files in *server's root /tmp folder* not in drupal's /tmp folder... those timestamp files consists of tracing of drupal site from the loading of bootsrtap. now because of that my site getting slower very much.. i cannot able to work into my admin... i have implemented cck and view modules.. we have created some no of views in that.. please anyone suggest how to stop this debugging tracer timestamp file creation..
Read more »Category: Modules Tags:
How to make this all stuff (flash) on drupal (lightbox, javascript, ajax, jquery, flickr)
1) Here http://www.alf.it/start.html on Products page is image. And it is divided on 2 parts. When mouse is on first (left) part there is appeared menu and left image part became transparent with menu. How to do this on Drupal.
Does anybody knows some jquery-efects otehr modules?
2) Here is intro page http://www.fasolin.it/ and how to do this on drupal (jquery, lightbox, other)
Read more »Category: Modules Tags:
sql syntax error
Hi everyone,
I'm trying to write a page which will show the content of a database table. But I get the following error message, but I can't find the mistake...
This is the error message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(oid, boek) WHERE oid='Gwenn'' at line 1 query: SELECT 'boek' FROM owners5 (oid, boek) WHERE oid='Gwenn'
Can anyone help?
Here is my code:
Read more »Category: Modules Tags:
how to place a block in content section on page
I have created a views slideshow block and added it to the content section of the page. It appears at the bottom of the page (after the content I created on the page). I want it to appear before the content. It seems like this should be an easy thing to do, but I can't figure out how to do it.
Any help much appreciated!
Category: Theming Tags:
adding module in menu_hook problem
i tried to develop my custom module and i wanted this module to appear in menu hook but it didnot appear...why?
<?php
function managelinks_menu()
{
$items[]=array();
$items[]=array(
'path' =>'admin/settings/mymodule/managelinks',
'title' =>t("Manage Your Links"),
Category: Modules Tags:
Register Multiple Themes in Template.php?
I must be an idiot,
but I have two node input types I'm trying to register. the code I'm using is below - whichever content type I put first works. How do I make them both work?
Read more »Category: Theming Tags:
Switcher Language block
Hello forum,
my question is about Switcher Language block (Drupal 6.10)
I have activated this block (2 languages: Spanish & Valenciano). It works perfectly in all website except from the home page (home page=node type page, menus and blocks don't switch language). Only works wrong from home page, from other nodes works OK.
Somebody knows what happens?
Thank you!
Fanny
Category: Translations Tags:
Multiple Buttons in a Form
Hi,
I have a form that has two buttons, one for next and one for previous - how do I detect which has been clicked?
Form function
$form['previous'] = array(
'#type' => 'submit',
'#value' => t('Previous'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Next'),
);
Submit Function
Read more »Category: Modules Tags:
OG and CiciCRM Sync
Hey hello
Hey i have been using civicrm and OG.
I Need to have sync between their groups. I have done this using CiviCRM OG Sync.
Now i do any operations in OG is reflected in my CiviCRM. Can't this be visa-versa??
I have to make changes in CiviCRM groups which needs to be reflected in OG...
How can i do this?
IS there any module which can handle this?
Category: Modules Tags:
function get information from a website other
In drupal deverlop book. i have find code use xml get information from a website other.
But now website i need get information , it is not use xml.
Can drupal have function get information from a website other?
Please help?
Category: Modules Tags:
Inquire for CSS problems.
Thx,
I built a views page, and I would like to display that page just like this: http://www.18wos.org/files/example.PNG
But..um, it's not worked well, and just caused by css.
you can see: http://www.18wos.org/china-map-for-euro-truck-simulator
I'm using these css to try to display it,
Read more »Category: Theming Tags:
[DEV] Mobile Friendly Drupal
Description:
FlexPlat is a Content Transcoding/Transforming mobile web proxy for Content Adaptation. It can convert Drupal into mobile friendly one. It can be used for iPhone and/or Android.
Category: Modules Tags:
User Integration on Multisite
I want to create website with some subdomain. I want if someone register on the main site he/she is registered to all subdomain. And if he/she login he is login too to all subdomain. How to do this ?
Thanks
Category: Modules Tags:
Webform/built in drupal forms captcha
Hi all,
We are using webforms on quite a few of our pages to capture user information, and at the moment I am using math captcha on the forms as the forms are included in a small space inside a node and to use image captcha in its basic form would really disrupt the styling of the page. However we are receiving a lot of spam from our webforms so I do not think math captcha is sufficient protection.
Does anyone know if it is possible to customise the image captcha to make it take up less space, or can anyone suggest a better alternative.
Thanks very much!
Read more »Category: Modules Tags:
Content type fields and user account
I have made a custom content type (named "personal info") that contains several fields; one of them is "surename". And I have set that content type to be part of registration page, so that user has to fill fields from the content type "personal info" together with the basic drupal fields (username, email, password...) to complete the registration process.
Now I have 2 questions:
Category: Modules Tags:
mlid in theme_menu_item
How can I get the mlid from menu_links table into theme_menu_item override, I want to set a unique class for each menu item, in the past I've incremented a unique id sort of thing, but that wont fly in a new theme I am working on.
Using the mlid like menu_navigation_links does would be ideal.
Read more »Category: Theming Tags:
[Basic CSS Q] nested menu's in drupal
Good morning!
I'm trying to theme a nested menu. The problem is that when the subnavlist appears, it gets displayed on top of the main navigation:
http://www.pietcommuniceert.be/cases/disop/nl
It should show up like in the following example:
http://dev.ermarian.net/dhtml_menu/admin/settings
Category: Theming Tags:
How to controll the state of theme/output?
Hi
I´m searching for a solution to put out only my Modules Content or .tpls.
Means that I want to output them (mostly in a lightbox) without Header, Blocks, and so on...
First I´ve thought that something must happen in the theme-registry.
But I didn´t found anything.
Please Help.
Kind regards
Uhu
Read more »Category: Modules Tags:
Dash Media Player Depends on: Services (missing)
Try to install Dash Media Player give out "Depends on: Services (missing)"
what is services?
Dash Media Player 6.x-1.6 Provides a Drupal interface for the Dash Media Player.
Depends on: Services (missing)
Required by: CDN2 Dash Media Player (disabled), Dash Player: Audio (disabled), Dash Player: CDN2 (disabled), Dash Player: Embedded Media Field (disabled), Dash Player: Image Attach (disabled), Dash Player: S3 (disabled), Dash Player: Statistics (disabled), Dash Player: Tagging (disabled), Dash Player: User (disabled)
Category: Modules Tags:
Signup: Create more fields
I use the signup module and it works great. However, I need to specify more fields. In the standard installation there are two fields. Name and Phone. But I need some additional fields together with the signup. How do I do that?
--
Lars
Category: Modules Tags:
Node teaser layout problem
Hi guys,
I've been trying to change the layout of my node teasers for a while now, and I just can't make it work!
I'm using the php snippet "<?php
if ($teaser):
?>" in my "node.tpl.php"-file. This makes it possible to customize the layout to a certain point, but I just can't seem to acheive what I want.
I think this image explains what I'm trying to do:
http://abrstudios.dk/teaser-layout.jpg
Category: Modules Tags:
Creating a striped menu
Hello,
A requirement for a current site I'm working on is a striped menu block as shown in the image below:
http://img191.imageshack.us/img191/2843/menuz.png
Initially, menus were single-level so all I did was created a striped background image twice the height of a menu item and had that as a background for the block.
Read more »Category: Theming Tags:
How do you call t() for a string like this:
'You can now <a href="abc/def/ghi">change the settings</a>.'
the string should be properly translated, including "change the setting":
"You can now change the settings."
This version is no good:
t('You can now !link.', array('!link' => '<a href="abc/def/ghi">change the settings</a>');
because the string "change the settings" must to be translatable.
Or this:
Read more »Category: Modules Tags:
Customizing a Theme for RTL (right-to-left) "Farsi" text
I need to customize my template (prospoint) to support RTL (right-to-left) layout. and i don't know How to ! I'd appreciate anyone's here.
FYI I added a new Language That is aligned Right to left ( i.e Arabic) , Created a new story and selected the Arabic language. Eveything looks fine when creating a story but when published the teaser, thumbnail, Headlines, and content are all aligned Left to right instead of Right to left.
Thanks
Read more »Category: Translations Tags:
Getting between Drupal and the User table
Hello fellow Drupal developers.
I'm relatively new to Drupal and especially new to the community / forum, however I have a pretty simple question (I'm hoping).
Could somebody please point me to where Drupal inserts users into the user table post-registration? I need to get in there and work out a few things.
Thanks in advance,
TJ
---
Edit: Fixed my database / table mistake.
Read more »Category: Modules Tags:
help with Flash node
Hi,
I just downloaded and installed Flash node.
I can add flash content to my site, but I want to add it to the body of a page between two paragraphs or other navigation. Can someone tell me if this can be done with Flash node?
Read more »Category: Modules Tags:
Menu based on previous Menu Item
Hey all,
I want to create a menu which displays the items based on previous selected item menu...
For example: on front page i have the following menu
HOME | ABOUT | FOO | BAR
when user click on FOO
I want the menu to appear as
SERVICE | BLA | SUPPORT | BACK
any idea?
Read more »Category: Modules Tags:
Styling form input
Hi,
I have been struggling with this for a couple days now. My theme is completely done except for one small but crucial problem.
In Internet Explorer the search box and search button at the top right do not render correctly. The text is offset up so that it is cut off. I can't figure out what the interference is that is causing this to happen.
Does anyone know what is causing this to happen? It is really odd. Please help.
Read more »Category: Theming Tags:
Block Visibility
Hello everyone,
This is my first Drupal forum posting, so hopefully I am following the rules. Thank you for your help ahead of time!
My test website: http://www.connectioncaddy.com; Using: Drupal 6.2.x
Read more »Category: Theming Tags:
content box
Hello,
I am still new to drupal so be gentle, lol. I recently downloaded burnt rubber theme and have been editing it to fit my needs. However, currently i am trying to edit the content box (i believe that is the title of it) to use a background image (a closed box) for each new post, but i cant seem to find the css information to allow me to edit this setting in the current theme.
Thank you for any help that you could provide
Read more »Category: Theming Tags:
synchronization of data with external system
Hi everybody!
I'm currently working on a Drupal site which has to integrate with an existing legacy system. Every day, I receive from the legacy system CSV files containing information about users and some nodes. I must read those CSV and create/update users/nodes as needed. I cannot directly tap into the legacy database, I must use the CSV files.
Read more »Category: Modules Tags:
Which module is best for media in a node?
Hello,
I'm running Drupal 6 and I would like to know which module is best for inserting/upload media like audio into a node like the function in Wordpress.
In WP you're able to upload an audio file and it automatically places a player with the audio you uploaded into your new topic.
I'm sure Drupal has this module already developed but reading through all these findings I don't know which one I should use.
Thank you for your time.
Edited by WorldFallz - moved to appropriate forum.
Read more »Category: Modules Tags:
Categories
Best published scoops
Recent comments
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
- мой комментарийcastledwel
Best upcoming scoops
- Adding classes to list items using drupal superfish
- How to use a openlayers_wkt_widget without a 'real' field?
- Any one help on this issue
- How to Limit comments to a particular node within a content type
- [Date Module] How to save historical dates like 1942, 100 B.C. (Before Christ) or A.D. (Anno Domini), 5 Millionen years ago, etc
