Pride Design Blog

Jul 30, 10
0 comments

[b]Q:[/b] How do I arrange for the taxonomy term description text to be displayed when I use the built in 'taxonomy_term' view to handle the display of my taxonomy lists?

[b]A:[/b] You can get the text to display by enabling the view's header and adding in some PHP code which queries and displays the text...

Kevin's picture
Jul 30, 10
0 comments

[b]Q:[/b] How can I theme and display a user picture or avatar in a page, block or content template with PHP in a way that works with [url=http://drupal.org/project/imagecache]ImageCache[/url] and respects the default user picture?

[b]A:[/b] One easy way to embed a user picture into your content is to create a user view to output the picture and then just embed this view into your content by calling views_embed_view() passing in the user id as an argument.

Kevin's picture
Jul 30, 10
0 comments

Q: How do I get the user id that is associated with a [url=http://drupal.org/project/content_profile]Content Profile[/url] node, it doesn't seem to have any obvious referenced user field?

A: The user that a Content Profile [http://drupal.org/project/content_profile] node refers to is given by the node's author field! It can be accessed as $node->uid

Kevin's picture
Jul 09, 10
0 comments

We think we've just coined a phrase! 'Keep me texted'! Makes sense doesn't it?! Haven't heard it used before. Have you?

Sinéad's picture
Jul 02, 10
0 comments

[b]Q:[/b] How can I override my theme's node template file, node.tpl.php, just for one specific node id?
[b]A:[/b] In your theme, override [i]phptemplate_preprocess_node()[/i] and provide a template suggestion for 'node-[nodeId]', and then flush cache.

It is easy to provide an alternative [i]node.tpl.php[/i] template for your different content types by naming your new node template file along the lines of node-[nodeType].tpl.php, placing it in your theme folder and then clearing you cache. Drupal automatically handles all of this for you.

Kevin's picture
Jun 30, 10
0 comments

[b]Q:[/b] How can I remove the 'You have already submitted this form. View your previous submissions' message from my webform?
[b]A:[/b] There is no setting to get rid of this message, however it can be quite easily removed by overriding: [i]theme_webform_view_messages()[/i] in your theme.

Here is a handy way of removing the (sometimes) annoying webforms message - 'You have already submitted this form. View your previous submissions', see comment #11 by kees@qrios, here:

Kevin's picture
Jun 02, 10
0 comments

Are you thinking of quitting Facebook? Quite a few people seem to be annoyed at Facebook advertising to them! (imagine! Trying to make some revenue from providing a service, the cheek of it!), others are uneasy with the privacy issues.

We have a simple rule of thumb: You don't want the world to see something? Then don't post it on the internet! Especially not on a Social Networking website! There are plenty of secure photo sharing sites out there if you want to password protect your holiday snaps.

Shane's picture
May 21, 10
0 comments

[b]Q:[/b] Help, I just installed the [url=http://drupal.org/project/lightbox2]lightbox2 module[/url] and now nearly every link I click on results in a lightbox appearing, what do I do?
[b]A:[/b] Upgrade to the dev version of the [url=http://drupal.org/project/lightbox2]lightbox2 module[/url] and the problem should go away...

Kevin's picture

Pages

Recent Work

Some of Ireland's biggest brands use Pride Design to Design, Build, Manage, Market and Maintain their websites.

Website design for St.Patricks Credit Union in Dublin, Including Loan Calculators.

Website design and development for a step by step wedding and other stationary ordering website f

New website designed and developed for Cork's newest café, which is based in Merchants Quay in Co

New Website design for Pain Relief clinic based in Cork City.

Website for a busy Dublin city centre pub.

We redrafted the Ballymaloe house website to modernise the look and feel of the site and to also

We revamped the website for the Ballymaloe Cookery School.

We revamped the Cully & Sully website onto Drupal.

Rachel Allen was brought up in Dublin and left home at eighteen to study at the world-famous Ball

Clóna Dairy Products are a Dairy Company based in Clonakilty, Co. Cork, since 1919.

Project Arts Centre is Ireland’s leading centre for the presentation and development of c