Drupal Dojo

Drupal Dojo

Drupal DojoAre you climbing the Drupal learning curve? Do you want to write your own modules or themes? Have a vision of running a killer Drupal-based site? If you've got big-D dreams, then this is the group for you. We'll make you skilled like a ninja.

The Drupal Dojo is a group for apprentice/journeyman developers who want to increase proficiency, and for experts looking to grow the pool of Drupal talent.

Would you like to learn? Become involved? Support the Dojo?

Recent Discussions

spessex's picture

Will MySQL Databases work on MariaDB? Is there anything to consider or watch out for?

Hi everyone

If I were to change across to MariaDB would my existing MySQL databases work without issue or is there anything I need to consider or watch out for?

Thank you

Stephen

spessex's picture

Advice on best way to serve Audio Files (MP3 etc) - Linux Box

Hi

I just wanted to know if anyone had any advice or experience with using small/short audio files in their websites?

I'm intending on placing the odd audio clip into a survey to test advertising effectiveness. The audio clip will be short, around 30 seconds and the survey might be hit by a 1000 users over the period (with the possibility of up to 300 users accessing the survey - and the resulting audio file - at anyone time (depending on when they hit the server).

Read more
spessex's picture

How to identify if a user has 'clicked' the edit tab of an entity (as opposed to the view tab/page)?

Hi everyone

I've looked everywhere and cannot appear to find an answer to a problem I have and was hoping that someone might be able to advise.

To cut a long story short Profile2 permissions do not appear to be working properly whereby if you want a certain profile to exclude an authenticated user from being able to 'edit' the profile and only 'view' this is not possible (basically permissions only appear to work for Admin) - [for those that are interested please see http://drupal.org/node/1954290]

Read more
spessex's picture

Is it possible to hide parts of a returning URL from the users address bar?

I'm not sure if I'm asking the impossible here but is it possible to hide part of a returning URL from a User's address bar to a Drupal site.

The reason I am asking is that I am firing a Rule on a user returning to a particular URL (which they will have been automatically redirected to from another non-Drupal website) which assigns them user points. Obviously I don't want people to cotton onto this URL that is firing the points Rule, otherwise they might tell other users to visit the pages to receive points hence the original question, is there a way to hide part of this URL?

Read more
el_reverend's picture

Module for quiz/poll/thingy game form?

Hi all,
I am trying to create a poll/quiz/thingy to our site that allows a user to fill out a form only to receive a 'calculated' result which you'll often find on entertainment sites, etc.

What AM I talking about? See here:

-------------------------------------------------------------------------
What magazine do you like to read? | O Watchdog | O Spa Magazine | O Magazines?
-------------------------------------------------------------------------
Who is you favorite super hero? | O Batman | O Spungebob | O Hulk, smash

Read more
spessex's picture

Is it possible to pre-populate an empty field (of any type) with data?

I've been stuck on this issue all day now. Is there a way to pre-populate an 'empty' field of any type with data?

I've tried Rules, specifically 'Set a data value' but it does not appear to allow data values to be set on empty fields and usually reports back (in 'Recent Log Messages') 'The variable or parameter entity is empty'.

The reason I need this is that I have a 'profile type' (using Profile2) with various fields. These fields are updated - when required - using VBO (Views Bulk Operations) and unfortunately they can only be updated by VBO if the fields have existing content.

Read more
wipeout_dude's picture

Filter views by comparing two fields?

Hi,

I have a content type with two date fields both with start and end dates..

I need to create a view filter that if the start date and time of fieldA is more than 15 minutes before or after the start date and time of FieldB then show it in the view..

Obviously views can compare dates to "now" or now relative to a time period but I can't see a way for views to filter based on the comparison of the value of two fields..

Anyone have any ideas?

Thanks..

spessex's picture

How can I easily and frequently distribute links to URL's so only selected users can view the link?

I have a site where I need to frequently send URL links to select users at any given time. These links are to surveys, so essentially the survey link at the time can only be passed to users that fit/screen to the requirement.

At the moment I have a View where I can easily screen the users using exposed filters but cannot work out how to send these users the specific URL link? Additionally, after any given time the URL link will become redundant so I then need to be able to remove the link for their View when this happens (I don't want them to see expired links).

Read more
wipeout_dude's picture

Help with accessing data in rules..

Hi,

I am having a hard time getting the information I need into a rule in order to perform a calculation.. Hopefully I can explain it well and someone has a suggestion..

I have three content types.. For simplicity we will call them "A", "B" and "C"..

"A" is the main one and "B" and "C" each have a node reference back to "A"..

Read more
gkalus's picture

Using Filters or Search in View with Webform

I have put together some Webforms but ran into some problem after colleting a lot of data. I am looking at configuring some simple search or filtering for the different data fields that is in the Webforms. My Question:

What is the Best Practice for searching or filtering data in Webforms?

The other problem I ran into was limiting what data the admins EDIT from Webforms. I have it so they can view the entire record in Webform but I would like to go to selected fields when they want to EDIT a record in Webform. I using Views, and I think it is hidinplainsight.

Thanks for the help
G

Subscribe with RSS Syndicate content