404 - Component Not Found
I am writing a joomla component, I got an 404 - Component Not Found. I found that is because I got a typo in main component file. For example, the component name is com_hello, then it needs com_hello\hello.php.
PHP Editor in Ubuntu
I like to use Screen in Ubuntu. That is a just editor, is not an IDE.That is what I want, a lightweight stuff. Moreover, I love there is a spell checker!
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); |
Aggregating all posts at the front page b2evolution
In 1.8.X, by the default, the frist blog will aggregate the posts from all other blogs. But new version 2.4.x, it won't do by default. I read some posts in forums. Some people suggested to use multiblogs.php and summary.php. Yes, they are right, if you want to do a custom layout, please use multiblogs.php, if you want to have a summary of your blogs, using summary.php is a right choice. But if you just want the frontpage working like the older version. Please go to backoffice->Blog setting. And select you default blog. At Advance tab, there is an option to set aggregate blogs' post. You need to enter ID of blogs need to be aggregated in a comma-separated format, such as "2,3,5". Then it will work for you.
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.