I was getting a error message while trying to visit Joomla site in my local PC. I can visit the live joomla sites, but can not visit the Joomla site those are hosted in my local PC.
Following error message was generating:
[sourcecode language=”plain”]Layout "unijoy" not found[/sourcecode]
I was trying to visit using Mozilla Firefox. If I use any other browser it shows everything fine. What was the problem?
I was facing this problem since several months. I could not mange time to identify the problem. Today I made a promise “I’ll fix this problem today”, and identified the problem and fixed.
Simply, there was a cookie in Firefox named layout and the value was “unijoy” for the localhost domain. When I try to visit Joomla site from my local PC, it picks the cookie “layout” and try to render the view “unijoy“.
Dot bd (.bd), internet address of Bangladesh. Would you like to register .bd domain? You need to visit BTCL‘s office in Mogbazar, Dhaka. You may visit BTCL’s official website to know how to register .bd domain.
Here I would like to share a simple service to search .bd domain for registration or whois record.
Now a days I am working in Open Flash Chart (OFC). I found this amazing, easy to generate chart and use in web applications. Flash produces high quality graphics. OFC generates high resolution charts, I think you like this very much. Lets take a look into a screenshot.
Click on the thumbnail to view actual size. You may visit OFC homepage, try the tutorial to lean how to make chart using open flash chart. Here your find some sample charts. OFC has two sets of chart library, version 1 and version 2. I think version 2 is better than version 1. Here is the download link of OFC version 2. OFC tutorial is very much easy to understand.
OFC includes some other tools, swfobject, and JSON for data files. And also includes Server Side Helper Libraries for PHP, Perl, Python, Ruby, .NET, Google Web Toolkit and JAVA to generate hassle free JSON formatted data.
I was working with HTML forms. In the forms I used readonly and disabled input elements. What is the deference between these two attributes of input element?
Say for I have an input element in HTML form.
If we set the attribute readonly="readonly" then the input element is not editable. This attribute allows the user to highlight and copy the text inside the input field, but not change the value.
This attribute is only used if the type attribute of the input element is set to “text” or “password”.
I have another text field like bellow.
If we set the attribute disabled="disabled", the input element is disabled, un-editable and un-selectable. This attribute not allow the users to highlight and copy the text inside the input field. Another thing happen here, the data within the input element will not be submitted to the action page.
I need the current time then I call the php function – time() and get the current Unix timestamp. Then function time() returns the second measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). Say for, in my website users can register for free for one year. I need to calculate an account expiration time after one year. How can I calculate the expiration time. I need to add one year with the account creation time. We may get the the date and time of account expiration using following code.
Step two: Setting the form attributes
Now we set the form attributes like bellow
Last one year I used an internet connection of a local ISP at Dhanmondi. I was not happy with them. Most of the time their server got down. If I called them they told “there is a problem in a hub or switch”. I was very much angry with them. I started to keep a log file of connection status manually in excel file. I found 60% of the total time my PC was disconnected.