Archive for the ‘php’ Category

vTiger: Associating filters with users

TO-DO: Associate the filters for the modules (such as Leads, Accounts, etc.) with users, so that when users log in, they get to see only the filters that they created and which belong to them.

Read more »

Search in vTiger CRM – Part I

We need to change search functionality in vTiger (version 5.0.x) so that we display details of only the leads/fields belonging to the user, and for the rest of the entries, display who it belongs to. How do we do that? This requires an understanding of the search functionality in vTiger.

Read more »

JoomFish PHP problems with Joomla 1.5

I just installed JoomFish, the translation content manager, for Joomla 1.5.9 on my 1and1 hosting service, and right away ran into PHP problems.

Read more »

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 »