Most of the time when we are working with a Joomla site we tend to switch off the display of the Created, Last Updated, Category and other info which can be displayed as it’s just not necessary. Every now and again, however, we display the creation date, for example if we are using the Article Manager to display news items and want their associated dates to be shown.
What you might have noticed is that if you choose to display any of these items you’ll get the word Details appearing just above them and whilst there may be times that this is retained, nine times out of ten for us we would rather remove it. Whilst this can be done by just creating a template override and removing the line which contains the COM_CONTENT_ARTICLE_INFO variable, there’s an easier and non-technical way to go about it using Joomla 2.5’s Language Manager.
This will create a language override which gets rids of that Details word from displaying quickly and easily and without the need for any template overrides!
http://www.arcas.co.uk/blog/2013/01/08/how-to-get-rid-of-the-details-label-in-joomla-articles.html
On shared hosting/VPN or cloud if you’d like to increase the default max file upload size from 10M check our the below
You need to set the value of upload_max_filesize and post_max_size in your php.ini (in the example below 40M is what I’ve set the max upload to, however you can change to whatever you’d like eg. 100M etc.):
; Maximum allowed size for uploaded files. upload_max_filesize = 40M ; Must be greater than or equal to upload_max_filesize post_max_size = 40M Or in the cursed .htaccess filephp_value upload_max_filesize 40Mphp_value post_max_size 40M
Happy uploading ....
Testing, Testing, Testing – the dreaded curse of software development. From case scenarios to pass/fail – from white box to black box I get bored with repetitive tasks. However, it’s important and for QA (ISO and CMMI) it’s essential.
So for testing we need test data – I usually run out of names or data so have check out http://www.generatedata.com/ that generates pretty accurate demo/sample/test data for use in testing. It also exports to popular formats like HTML/Excel/SQL/XML so you can actually import it directly and continue testing. Pretty cool site check it out.
Happy testing ….. (NOT!)
Looking for an open source cloud file hosting application …
Look no further than http://owncloud.org/
– awesome app,
– easy to install (even on shared hosting),
– desktop sync clients,
– totally free and customisable
Sometimes you just need to edit the cursed .htaccess file and on the Mac by default the file is “hidden” – here’s how to show all.
To show all hidden files and folders, in Terminal in OS X 10.9 Mavericks:
[wc_code]defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder[/wc_code]
Getting back to cleanliness:
[wc_code]defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder[/wc_code]
To show all hidden files and folders, in Terminal for earlier versions of OS X 10.8 and prior:
[wc_code]defaults write com.apple.finder AppleShowAllFiles TRUE ; killall Finder[/wc_code]
Getting back to cleanliness:
[wc_code]defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder[/wc_code]
Or if you lazy and would like an app (there’s always an app) – download this (FinderRevealer.zip (app))
A great free way to learn to code http://www.codecademy.com/ if you interested in any development. Simple and very effective.
Knowledge tree was an awesome open source document management system … I deployed it at Berlitz Al Ahsa on a Shared Hosting platform. Here’s how I did it.
How to install Knowledge tree on shared hosting:
PreStep:
You will need access to FTP/cPanel/PHP 5.2
Step 1:
Find the installation file called kntree.tgz > around 50meg file
Step 2:
Extract to the directory you need e.g. /myKnowledgeTree
Step 3:
Navigate to the browser of myKT and complete installation … When requested for DB details add anything > last step on installation will fail on DB credentials don’t stress (DB not found / Unable to access).
Step 4:
Add a new database (cPnanl – mySQL) and create a user with full access
Step 5:
We must use the mysql setup scripts included with KT. Open phpmyadmin. Open the database. Click on the “import” tab. Click on the browse button. browse to where you extracted the files. Then go to sql\mysql\install\. Import structure.sql. Once that’s finished, go back and import data.sql. Close phpmyadmin.
Step 6:
Edit the config.ini file in /directory you made/config/config.ini
edit below data
[db]
; The Database Engine to use. Currently mysql is the only
; supported type.
dbType = mysql
; Database login details
dbHost = localhost
dbName = dbname
dbUser = dbUser
dbPass = password
dbPort = 3306
dbAdminUser = admin
dbAdminPass = password
Step 7 (if you plan on using PHP 5.3):
Update PHP to 5.3 in cPanel – you will get Depreciation error on myKT login (Deprecated: Assigning the return value of new by reference is deprecated)
Edit:
editing config/dmsDefaults.php from:
CODE: SELECT ALL
error_reporting(E_ALL & ~E_NOTICE);
to:
CODE: SELECT ALL
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED);