This page has moved. You will be automatically redirected to its new location in 10 seconds. If you aren't forwarded to the new page, click here.

Search This Blog

Tuesday, April 13, 2010

Joomla puts meta tags

Joomla automatically puts meta tag generator with comments about joomla in the site. here is how to remove tht

http://forum.joomla.org/viewtopic.php?f=428&p=1214236

Thursday, April 1, 2010

Count number of modules in a joomla position

 <?php if (mosCountModules('left')>0) {  ?>


(where left is the position name)


http://forum.mamboserver.com/showthread.php?t=41728

Wednesday, March 31, 2010

Set title of Joomla page

$mydoc =& JFactory::getDocument();
$mytitle = $mydoc->getTitle();
$conf =& JFactory::getConfig();
$sitename = $conf->getValue('config.sitename');
$mydoc->setTitle($mytitle.' - '.$sitename);

 

http://joomlapanel.com/joomla-article/58-page-titles-in-joomla-15.html

Wednesday, March 3, 2010

Get latitude and longitude from Google maps

Open the map using post code or whtever u want to use.

then paste this in ur browser location bar:

javascript:void(prompt('',gApplication.getMap().getCenter()));



 



http://lifehacker.com/267361/how-to-find-latitude-and-longitude

Tuesday, February 23, 2010

Get Machine Name using .NET

System.Net.Dns.GetHostName();

Thursday, February 18, 2010

Assign file permissions in jumpbox

These files were not modified through Core FTP Lite or any other ftp client i was using, so I had to login to the jumpbox as root and pass the chmod command to change permissions

sudo –i

(logs you in temporarily as root)

chmod og=rw /var/data/joomla15/xyz/abc.php

http://www.jumpbox.com/archives/140_how-to-access-a-jumpbox-as-root.html

http://catcode.com/teachmod/chmod_cmd2.html

Wednesday, February 17, 2010

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {61738644-F196-11D0-9953-00C04FD919C1} to the user SID (S-1-5-21-573225893-205518295-0000000000-00000). This security permission can be modified using the Component Services administrative tool.

  • Search the GUID in HKCR registry..
  • 61738644-F196-11D0-9953-00C04FD919C1
  • The service name for this key is IIS WAMREG Admin Service
  • Load DCOMCNFG, browse to My Computer -> ” DCOM Config”
  • Go to the properties of IIS WAMREG
  • The permission missing was “Local Activation” permissions for the user .

 

http://www.cleverworkarounds.com/2007/10/25/dcom-fun-with-sharepoint/