Archive for the 'php' Category

Links to section/category from a content item in Joomla

For version 1.0.x: normally, Joomla’s mosPathWay() and module would take care of generating links to sections and categories, but in case you ever needed to do it yourself:

Read more »

First Joomla 1.5 module: Displaying contents from another webpage

For my first Joomla 1.5 module, I had to write a module that would get the contents from another webpage (actually, just a number) and display it in the module area.

Read more »

Digg API: Showing latest stories from your site/URL/domain

To do: To show a list of the latest stories from your site/URL/domain using the Digg API.

Solution:

The following PHP code will display the latest 20 stories from the domain of your choice. Thanks a heap to Web Cash’s entry on grabbing a random Digg story as well as the Digg Story API which helped with this code.

Read more »

Making Gallery2 Joomla component point to Gallery2 URL

Request: The excellent Gallery2 Bridge component/module for Joomla has one “shortcoming”: it points to the embedded Joomla component. Some applications/websites will require the Bridge’s functionality to embed the Gallery, but will want to link to Gallery2 and not the embedded component.

Read more »

Setting current user view in Custom Views - vTiger

Thanks to this forum post on vTiger, one additional change needs to be made to the CustomView code in order to get the CURRENTUSER variable to work (I don’t know which versions of vTiger it applies to, but I think to all version of 5.x):

Read more »

Customizing vTiger custom views with dynamic “variables” - II

A quick follow up to my previous post Customizing vTiger custom views with dynamic “variables” . There is an easy extension to enable multiple variables to be used in the custom views.

Read more »

Customizing vTiger custom views with dynamic “variables”

I’ve come across a problem where you have to customize your vTiger custom views by specifying particular “variables”. For instance, list the leads assigned only to the current user.

This will require some custom programming, but it can be done!

Read more »