if component..

Joomla 1.5 - Make an "if" statement based on the component loading at one time

, on October 27, 2008 Add new comment

For some reason, selecting on what pages to show a block from admin doesn't work all the times.

Example, i wanted the breadcrumb module to show only on the gallery(rsgallery2), but selecting the gallery from "Menu Assignment" in mod_breadcrumbs settings worked only for the first page of the gallery, and not for the rest of the pages in gallery.

This is what i have done in the index file of the theme:

Read more »

vbulletin

Add a linkedin field to vbulletin user profile

, on May 13, 2008 Add new comment

A few days ago i added a new option to the user profiles in a vbulletin forum ( seo-romania.com/forum ). This option let the users have on their postbit a link to their http://linkedin.com profile.

It's simple to achieve this, just follow the next steps:

1. Go to admincp -> User Profile Fields -> Add New User Profile Field

Read more »

Joomla 1.5

Joomla 1.5 - add a new module position inside an article

, on May 11, 2008 24 comments

Today i received a request to insert a new module position inside the article template of a joomla website. The client wanted to print an adsense module in that position. You can see the result in the image below.



To do this, you need to define a new position first, so go to /templates/your_template. Open the templateDetails.xml file and search for <positions> Add a new position, something like <position>adsense_in_content</position>.

Save the file, and upload it back to it's place.

Read more »

hide it

Drupal - Hide a block for a specific node type

, on March 16, 2008 3 comments

I needed to hide a block for a certain node type on a drupal driven website so i found this snippet on drupal.org. I will post it here for my future needs.

Paste this in "Page specific visibility settings" tab on the block you want to hide. Select "Show if the following PHP code returns TRUE (PHP-mode, experts only)." first.

Read more »