Wednesday, May 16, 2012

My answer to "Multisite functionality - when?"

This is my answer to a Question on Support site for LampCMS project


I have a pretty good idea how to do this multi-site setup. I'm going to try it this weekend.

If it works then I'll release the update next Monday, May 21

Monday, May 14, 2012

My answer to "Post times are incorrect"

This is my answer to a Question on Support site for LampCMS project


Thank you for this bug report. It definetely has to be fixed. You are correct that time zone is set to user's time zone. I don't remember if user was able to set own time zone in "settings", but I'm sure that was the idea - to let user set own time zone.

I will investigate all these issues soon.

Friday, May 4, 2012

My answer to "Can we use lampcms in production ?"

This is my answer to a Question on Support site for LampCMS project


About AOL, Google, Yahoo and OpenID login - these no longer work. They used to be a part of a Google Friend Connect service. Unfortunately Google discontinued this service recently.
I have just removed these buttons from this site, I will also remove all the Friend Connect related code from the program soon.

So now we are left with Facebook, Twitter and LinkedIn login.

I will have to add Login with Google using Google's API. I have not decided on Yahoo login support. I don't think I will be adding OpenID support.

The categories links do not work because I have not added rewrite rules for category urls. Category support is very new, just added recently. Originally Lampcms had support only for tags and I was not even planning on categories but because many people requested it, I have added categories which also support unlimited sub-categories.

You can use the program in production if you want, but at least wait for me to add rewrite rules and update css files to better support categories. I plan on doing it in the next 3 days.

Also this is still a beta version. For a pre-release I plan on changing the url model and it will not use rewrite rules, will instead use url routing model similar to how it's done in CodeIgniter or Symfony frameworks

The Pre-release will also fully support multi-site installation and also support for installation in non-root web directory, so people will be able to just add Lampcms to existing site in own sub-directory

Saturday, April 28, 2012

My answer to "Subdirectory installation problems"

This is my answer to a Question on Support site for LampCMS project


Actually I looked into this little further and realized that this is not an easy thing to do right now.
The rewrite rules have to be changed as well as a new functionality have to be added to site to automatically
prefix all generated urls with some type of constant like WWW_BASE_DIR

I will treat this as a feature request and will work on it.

Wednesday, April 18, 2012

My answer to "Math symbols support"

This is my answer to a Question on Support site for LampCMS project


This has been asked before.

http://support.lampcms.com/q1120/Math-symbols-supported

If you can post a UTF-8 char of math symbol it will be rendered in Lampcms without any problem

I will have to research this further in case it cannot be solved just by using UTF-8

My answer to "Error in Exception handler: : file_put_contents(php.log): failed to open stream: Permission denied"

This is my answer to a Question on Support site for LampCMS project


This means that program cannot write to php debug log.
What this also means is that there was some kind of exception thrown, then exception handler tried to write the error message to php debug log and was unable to do it.

The default debug log is located in www dir, which is a bad place to have your log file.
You should set a path to your own writable directory where you want to keep debug log.
Look in your !config.ini file - search for LOG_FILE_PATH setting and edit it.
Set it to full path to your own writable directory anywhere on your server.
For example something like /var/logs/lampcms.log

Sunday, April 8, 2012

My answer to "Right to Left Laguages"

This is my answer to a Question on Support site for LampCMS project


Tought question. I have not tried it. You can try creating a translation .xlf file based on the russian translation file and see it it will make any sense.

In translations folder copy messages.ru.xlf to your own language, for example messages.ir.xlf then translate all strings to your language.

You will also have to add your language to the [LOCALES] section of !config.ini
for example, add ir = "Iran"

This will add a language to the drop down language selections. (you may need to also go to settings link and click on clear cache and also may need to logout and log back in to see the changes since translation object is cached and may be stored in session)