PHP - Calculate number of Business Days in Month
- Details
- Written by Super User
I have seen many solutions for this problem, but somehow everybody keeps complicating it. This is a VERY SIMPLE computation, just check it out:
Joomla Tips for Beginners
- Details
- Written by Super User
Open source software/scripts have made it easy even for people without much of technical knowledge when it comes to building a website. The Joomla CMS software is a good example. It’s is one of the most popular free CMS on the Internet to date. Whether you run a professional web design company or you are someone who just want to build your own website, you can benefit from this great free CMS software. Many professional web designers have built simple websites as well as complicated ones with Joomla.
Joomla Core Hack - Change page encoding to ISO 8859-1
- Details
- Written by Super User
This is a core hack and you should use it with caution and on your own risk
If you want to change the page encoding of your joomla site from UTF-8 to ISO-859-1 you can do this by editing
Read more: Joomla Core Hack - Change page encoding to ISO 8859-1
How to turn off Notices in a Joomla Driven site (Joomla 1.0 and Joomla 1.5)
- Details
- Written by Super User
If you have a component (extension) that for some reason does generate Notices, then you can safely turn off this in Joomla Configuration.
Notices are not real errors, they are merley informations for developer in order to help them either improve the performance or to avoid some bugs due to some unitialized variables.
There is no real need for a joomla running website to have notices turned on, but some hosings have this as a default.
To turn notices on, follow the following steps...
Read more: How to turn off Notices in a Joomla Driven site (Joomla 1.0 and Joomla 1.5)
Joomla Error "Too many Pages"
- Details
- Written by Super User
Did you ever recieve the Error in Joomla : „Too many pages.” ?
It appears on a plain white page, without any sign of a template. It’s scary. But there is hope
It seems that it’s just a way for Joomsef (Artio sef) to cope with huge amount of redirects. Since huge is a relative word these days, I have to say I am quite disappointed. I got this error with “just” 26.000 Articles in my joomla, and a whopping 61.000 redirects. Now you ask why so many redirects if you have just a third of that count in articles. There is a simple answer: Itemid – you get one redirect with itemid, one without itemid, and so on. Pretty redundant I know.
The solution was just to truncate the table jos_redirects (Purge did not work for me – it did nothing … too many pages for purge too ;-) )
There is one problem thou… since Google is spidering your webpage, you will get back to “too many pages” after some crawls.
What is to be done?
Well , there are some simple tricks to reduce the amount of redirects, but that’s only a delaying of that problem:
Reduce the components for witch you use SEF .. for instance Ako comments would generate a load of redirects without use. (for every content item 1 or 2 redirects), also there are some other content related components that you may consider not to SEF
Maybe there will be a solution in the future… Too many pages is these day not so many
How can you change the output encoding for joomla?
- Details
- Written by Super User
If you need your output encoding set to UTF-8 instead of Joomla's default iso-8859-1 just go to your current language file and search for :
DEFINE('_ISO','charset=iso-8859-1');
you can change it to
DEFINE('_ISO','charset=utf-8');
of course this helps only if you have content with UTF-8 encoding...
Community builder tabs - not opening the right active tab
- Details
- Written by Super User
And maybe displaying some strange Javascript errors?
For instance:
cbshowtabsArray.push( [['livre d'or','29','getprofilebooktab'],'tabPanecb_tabmai...
or
Then check your CB tabs captions. You may have one illegal char in there. (in our sample there is the single quote char that's bothering)
If it's not that obvious, try unpublishing tabs and publish them one by one until you find the faulty one
I'm getting "Restricted access" when i tried to install Joomla
- Details
- Written by Super User
Installation Joomla 1.0.11 or 1.0.12 I was getting "Restricted access" after uploading all installation files to my hosting provider. after trying to set some other rights to the files, i had no success. finally i debugged a little the process and with a define( '_VALID_MOS', 1 ); placed in installation/index.php as the first php code line solved the problem i suppose with it it's not really secure, but you have to delete the installation folder anyway..
Read more: I'm getting "Restricted access" when i tried to install Joomla
How can i make my Users to be AUTHORS upon registration
- Details
- Written by Super User
Read more: How can i make my Users to be AUTHORS upon registration