Category: "Announcements [A]"
Trimed out html in Joomla
I found by default, Joomla trimed out all html tag in request variables.
The solution is like that:
PHP
$data = JRequest::get( 'post' ); | |
$data['html'] = JRequest::getVar('html', '', 'post', 'string', JREQUEST_ALLOWRAW); |
I can't login after upgarde to b2evolution 2.4.6
I did an upgarde to b2evolution 2.4.6 this morning.
I can't login again.
It gave me this error:
Either you have not enabled cookies or this login window has expired.
I found the solutions;
Go to conf/_advanced.php
PHP
$instance_name = 'b2evo'; |
to
PHP
$instance_name = 'itblogs'; |
Actually, just need to change a unique name, then it will be fixed.
Joomla Request Variable
In PHP, you have $_GET and $_POST. In Joomla 1.5 framework, that is easy and quite similar with ASP.Net.
Code
$Itemid = JRequest::getVar('Itemid'); |
JRequest, then you can access GET and POST.
More information, http://docs.joomla.org/Retrieving_data_from_GET_and_POST_requests
WordPress 2.7 RC1
http://wordpress.org/development/2008/12/wordpress-27-release-candidate-1/
WordPress 2.7 RC1 is ready to download now!
b2Evolution Captcha Image No Fonts Problems
I have installed Captcha Image on b2evolution. But I got an error about "No TrueType Font". That is easy! All you need to do,uploading a TrueType to "/fonts" under the plugin. That will works