- Joomla! 1.5
- Joomla! 1.0
- Joomla! 1.7
- Joomla! 1.6
- Joomla 2.5
How to access Facebook Pages?You can find Facebook Pages in left column on your Facebook home page when you are logged in. If it is not showing you can click on More link to find it. Then click on create page link as shown in screenshot. If you still can not find it Click Here to go directly to Facebook Create Page Screen (Make sure you are signed in Facebook).
Creating a Facebook PageOn Create a Page screen you will be asked to enter various categories of information to input. You can choose between Official Page or Community Page. When you create a page you will see URL in Browser address bar for that page. For example
Customized Facebook Profile URLIf you have customised Facebook Page URL then your ID will not show in URL and your URL will be like http://www.facebook.com/USER_NAME instead. To find your Facebook Page ID from a Customised URL simply click on your profile picture and it will take you to your profile pictures. On profile pictures area you will see your Facebook Page ID in browser address bar. Read More...
This tutorial is about how to moderate and delete process works for Facebook Comments box.
Click on Moderator view so we can have a look what is in Moderators view. In Moderators view you will see a list of all the comments for that page. In this screen you can Like, Follow and Moderate comments.
Facebook has made changes and now only the user who posts a comment can competely delete it. Owners and Moderators of Comments Plugin can choose to Hide comments. Hide comments option will remove the comment and it will not be visible to your readers except to friends of that person who actualy made that comment.
At present only a user(who made comment) can completely remove their comment by clicking the cross sign that appears next to their comment (cross sign appear when you hover over your own comment).
If you choose to Ban user then it will permanently block that user from commenting on any of your posts.
If you choose to Boost comment will bring the comment at top so that everyone could read it.
Facebook Comments plugin also allows o arrange the order of comments. For example you can set to show the New comments first and old comments later.
By default comments are organized by social ranking which means that only those user comments' will be displayed at top who has good reputation on Facebook.
Click on Settings to open Settings. Under settings you can add moderators, set Moderation mode, Blacklist words, allow other Login providers, enable Grammer filter and set Comments Composer. See screenshot below highlighting these settings.
If you want the newest comments to be displayed at top and oldest at bottom then choose Reverse Chronological.
Following queries will single Magento orders. [sql] set @increment_id='100000001'; select @order_id:=entity_id from prefix_sales_order_entity where increment_id=@increment_id; delete from prefix_sales_order_entity where entity_id=@order_id or parent_id=@order_id; delete from prefix_sales_order where increment_id=@increment_id; [/sql] where prifix_ is your database table prefix if you use one. 100000001 is the order number that you would like to deleteRead More...
I needed CURL to test some php scripts on WAMP Local Server where CURL is disabled by default. To enable it under WAMP running on a Windows Environment follow these steps.Read More...
Eclipse comes with advanced search capabilities. User can drill down in file explorer view but using search can make it really easy. Use Ctrl+Shift+R to open Open Resource dialog box which will let you type in any file name you are looking for. Results will starts appearing as you start to type file name. You can click to open any file you want from the results. This is the fasted way to find any resource (files). To search any text in any file on project hit Ctrl+H and it will open a search dialog box where you have many different search options to choose from.Read More...
Often we need to update text in column of a database table. It can be time consuming if there are thusands of rows to be updated. Follwing query will update text based on Like condition: Syntax: [code] UPDATE tablename SET fieldname = REPLACE(fieldname, 'text to find', 'text to replace with') WHERE fieldname LIKE '%text to find%' [/code] Example: [code] UPDATE z2uil_kaimageslider SET image = REPLACE(image, 'images/stories', 'images') WHERE image LIKE '%images/stories/members%' [/code] Backup of database is recommended just to be on safe side.Read More...
$uri is global variable which holds current SEF url in Joomla 1.0Read More...
If you need to know what is current template being used in your plugin or component code you can use following code to find it. [code] $app =& JFactory::getApplication(); $template = $app->getTemplate(); [/code]Read More...
Joomla content management system comes offers various language packs and translations. You can download language packs from following URL: http://joomlacode.org/gf/project/jtranslation/frs/ Once you have the language files that you want to install on your computer go ahead and login into Joomla backend at [your_website]/administrator and go to Extensions > Install/Uninstall. After installation you can set new installed langauge as default language for your Joomla website by going to Extensions > Language Manager and selecting the language for default. Note: Installing a new language does not automatically translate the content of your website. It only set direction of text Right-to-Left and Left-to-Right and transalates most of backend strings into your new language. You still have to install and setup a language extension if you want to fully translate your Joomla site.Read More...
GIT is a very famous version control system used by majority of developers and designers these days. If you have ever used Subversion, CVS or Mercurial you would know the concept and need of version control in software development and graphics design. By default GIT is not available on Ubuntu. You can use following command to install it.After you run that command in SSH of your server and installation is complete you can start to use got on your server b using GIT commands. To confirm that GIT is installed on your sever enter following command and it will show you available commands for GIT. To check version of GIT enter following command Read More...
On my Ubuntu 4.9 with PHP Version 5.3.2-1 I had to install Magento that required myscrypt. To install it, I followed following steps:Sometimes you might get the message “php5-mcrypt is already the newest version“. If so, install with: Read More...
Handy function to parse XML and other strings and get the inner string out. Example 1:Example 2: Read More...
To reset password you must have access to Joomla database. Most of the hosting providers come with some sort of control panel or PhpMyAdmin. Also make a backup of your database in case you have to revert back to original database. Find users table, e.g. jos_users. Note you table names may vary depending on the prefix used with table names (e.g. prefix_users). Find the Super Administrator account. It will have usetype = "Super Administrator" Using mySQL's builtin MD5 function we can set the new password using following SQL statement.Now goto www.yourwebsite.com/administrator and login to backend using your Super Admin username. Read More...
For install and uninstall process of component queries can be put into a separate SQL file, however if there are not lot of queries then they can also be included in component XML. For example after languages tags in XML file put following:Read More...
SSH ("Secure SHell") is a means of establishing a secure command-line shell interface on a remote system. Log into your server via SSH and navigate to location where you would like to install Joomla e.gTo get the path for file to download goto: http://joomlacode.org/gf/project/joomla/frs/?action=index use wget in SSH client (e.g. putty) to retrieve the remote file to the folder you will be installing Joomla. Once the download is complete you should have the file: Next step is to uncompress the file, navigate to location of file: Now you can go to front end of your website where you should see the installation screen. Following some of the other useful commands to uncompress files that are in other formats: Once you have Joomla install file on server you can proceed with installation process by navigating to install URL in web browser. For example http://www.example.com/ or if your Joomla is in a sub directory then http://www.example.com/joomla_directory/ Once the installation is complete, remove installation directory using the following: Now you have a live Joomla website. You can secure file permission by following ssh commands. Read More...
Following are some of the great techniques and scripts to fix IE6 PNG transparency issue. DD_belatedPNG Supersleight jQuery Plugin PNG 8-bit technique (Fireworks) Clever PNG Optimization Techniques PNG Optimization Guide: More Clever Techniques More and more web designers nowadays not fixing the PNG issue for IE6 anymore.Read More...
Following is list of constants that can be used in Joomla:Read More...
Using following code we can get joomla's language and use it in our extensions code.$language will give us the current language selected. Read More...
There are 21 different standard parameter types supported in the Joomla Framework for all extension types (templates, components, modules and plugins). This section gives a brief description of each parameter type, in alphabetical order. Full details of each parameter type are given on the following pages. Standard parameter types Component parametersRead More...
Following is a template that can be used to develop plugins to inert code into Joomla head section.Read More...
Website Root pathRead More...
A list of useful Joomla variables I often need.Read More...
Some useful Ubuntu command lines I use often: Restart AppacheRestart MySQL Find Ubuntu Server Specs Update the directory permissions Collect Statictics data: Read More...
Soluotions 1:If you want to output all modules on a certain position, then use JModuleHelper::getModules('name_of_position') and render the array of modules in a foreach-loop. Some XML around it and you have a XML-output (often used that to get modules into Flash). Solution 2: Read More...
Joomla's JLog class enables to create log files with useful debug info and other log messages. Following is the PHP code that can be used to log messages.Read More...