Thursday, 6 May 2010

Getting permission problems with noixACL - Joomla Extension help

if you've noixACL installed on your Joomla CMS installation then you may end up banging your head against a wall when you go back into your admin area and find that you can't add articles etc. At this time you'll probably search the settings and try and sort it out. If you manage to sort this out on a perminant basis then let me know because my solution is to

>> choose 'Access Control' from the components drop down.

>> goto 'adapters'

>> then turn off the adapter for the item that your working on

>> then turn it on again.

yeah it's not ideal but a temporary solution until I work it out properly.

Thursday, 15 April 2010

Setting your Facebook up receive twitter updates.

Here's the deal, So you have a website that when you write a new article it then automatically sends the title and and a Short url to Twitter, which then also sends the same status update to your facebook fanpage. Saving you time, energy and money.

Well with Joomla it's easy, all you need is AutoTweet - This will status your Twitter account. This is installed onto your Joomla installation

Next you'll need to add 'Twitter Fan Page Sync' this is done from your Facebook Fanpage. You can get this app here Twitter Fan Page Sync

Have Fun!

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in *plugins/system/autotweet.php on line 26

I got this error message when using the Plugin Autotweet on a new installation of Joomla! 1.5

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in *plugins/system/autotweet.php on line 26

The problem had occured because I had not set up my webspace to be using PHP 5.

The Solution:

open up the file htaccess.txt in your editor.

add the following line to the top

SetEnv DEFAULT_PHP_VERSION 5

now save as .htaccess

and upload.

THATS IT !!!!

hope this works for you.

Friday, 9 April 2010

Database transfer has put ’ , ‘ , “, Â, ”, –, …, ’ in my text.

Here's how I got rid of these from my database.

On this project I am working with Joomla 1.5 but the following instrunctions are fairly Generic and could be used with other mysql database problems with a little adaption.
The theory of the mysql find and replace is this

UPDATE tablename SET fieldname = replace(fieldname,"valuetofind","valuetoreplacewith");

Note: in this scenario I need to replace with apostrophe's ( ' ) . when doing this they need to be escaped. ie \'

Here are the commands I ran in my phpMyAdmin area.

UPDATE jos_content SET introtext = replace(introtext,"’","\'");

UPDATE jos_content SET introtext = replace(introtext,"‘","\'");

UPDATE jos_content SET introtext = replace(introtext,"“","\"");


UPDATE jos_content SET introtext = replace(introtext,"Â"," ");

UPDATE jos_content SET introtext = replace(introtext,"”","\"");

UPDATE jos_content SET introtext = replace(introtext,"–","-");

UPDATE jos_content SET introtext = replace(introtext,"…",";");


I also had to check the titles of the articles to do this replace 'introtext' with 'title'



Building Websites with Joomla! 1.5: The best-selling Joomla! tutorial guide updated for the latest 1.5 release

Wednesday, 17 March 2010

Facebook Fanpage not showing status on others news feeds / wall

The problem:

I was updating statuses to my Facebook Fanpage and they weren't showing up on other peoples news feeds. This only happens when you add links, however this might not be obvious to you at the time ( it didn't occur to me until after I had fixed it )

The solution:

>> goto 'edit page' under your fanpage image
>> go to 'Links' app
>> Click application settings
>> Click the Additional Permissions'
>> tick publish content to my wall

solution can be found here also http://littleripplesproject.blogspot.com/

Thursday, 4 March 2010

Joomla - Showing a module position in a module.

I've made a simple module that shows a modulepostion in a module.

The advantage of this being that I could assign a whole load of modules to different positions and then get a module to display them dynamically.

For example...

On my business pages I have all the pages being called by the 'locid ' which lets me know what location I'm displaying. I then have different 'Twitter'Modules for each loacation. For each one I have typed in the Module Position manually. In this format 'locationLOCID' - where i have written LOCID this is where i input the actually locid that references the location in my database.
I can then call up the module using
{modulepos }
and the twitter for that location will be displayed.

To do this though I first needed to install the 'Modules Anywhere' Joomla Extension. Joomla Modules Anywhere Extension

Joomla Hack to get GoogleMap Plugin to work in Modules

I had a plugin installed that means I can call Google maps from inside articles, but what I needed to do is call them up from inside a module.
The GoogleMaps plugin for Joomla! can be found here GoogleMaps plugin for Joomla!

If you like me need to call these maps from inside a module then this link is where you will find the hack for doing this. Hack to get GoogleMap Plugin to work in Modules BE WARNED!! running a hack like this will mean that if someday we run a Joomla update and the index.php page is changed, as it is a core file then this hack will need to be installed again.
No doubt on this day coder like you and me will have long forgotten out this hack and will wonder why our google maps aren't showing!! which is why I've written this blog hoping I may type in one of the following phrases and find my own documentation :D

googlemaps not working joomla
joomla google maps not working on upgrade
joomla google maps dissapeared on upgrade
Joomla GoogleMaps plugin not working
Joomla GoogleMaps plugin broke on upgrade