Pride Design Blog

May 14, 10
0 comments

[b]Q:[/b] How do I remove or delete the forum container entries from the 'Forums:' dropdown on the 'New Topic' form? If a user chooses a forum container rather than an actual forum and then tries to create a post an error message like 'The item [Container Name] is only a container for forums. Please select one of the forums below it.' is displayed - this is really annoying the client!

Kevin's picture
May 14, 10
0 comments

[b]Q:[/b] How can I programmatically invoke a view and retrieve its result/output data in PHP?
[b]A:[/b] Use the new(ish) views function - views_get_view_result(), and access the result data in the array that it returns.

Kevin's picture
Apr 21, 10
0 comments

[b]Q:[/b] How can I programmatically create or add new Taxonomy Terms using PHP code?
[b]A:[/b] Call the function taxonomy_save_term() passing in the details of the new taxonomy term.

Kevin's picture
Apr 20, 10
0 comments

[b]Q:[/b] How do I get the 'display id' ($display_id) of a view display so that I can pass it to views_embed_view() when programmatically showing a view?

[b]A:[/b] View display ids follow a pattern like page_1, page_2, block_1, block_2 etc., depending on the display type - they do not follow the display's title (I spent a lot of time trying to plug in variations of the display name with no success!) The documentation for views_embed_view() does not explain what the display id is or where it comes from....

Kevin's picture
Apr 16, 10
0 comments

In this gloomy climate it's great to see some good news - and the Irish Times reports [url=http://www.irishtimes.com/newspaper/breaking/2010/0416/breaking15.html]h... that Google has seen a sharp rise in its profits for the first quarter of this year - more evidence they say that the online advertising and technology sectors are bouncing back from the recession. It seems that revenue rose 28% which is the the biggest rate of growth since the third quarter of 2008.

Kevin's picture
Apr 15, 10
0 comments

[b]Q:[/b] How do I load a user's [url=http://drupal.org/project/content_profile]Content Profile[/url] node in PHP given their UID or user object?
[b]A:[/b] Use the function content_profile_load() to load the associated profile node.

Kevin's picture
Apr 08, 10
0 comments

[b]Q:[/b] How do I remove unwanted page tabs in drupal 6?
[b]A:[/b] Follow the instructions in this article - http://drupal.org/node/483324

Kevin's picture
Apr 01, 10
0 comments

[b]Q:[/b] How can I get the drupal [url=http://drupal.org/project/location]location[/url] module to display proper province/state/county names rather than just its code (e.g. Cork vs CK)?

[b]A:[/b] One quite easy way of achieving this is to override the default location display template, [i]location.tpl.php[/i] and get it to output the full province name.

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