When I use an apostrophe in the title of an article, it adds the article without the title. I've tried using \' instead, but that doesn't seem to work. I'm sure it's a simple answer, but how does one add an apostrophe to a title?
I have 1.2.4 installed (with the newest Zenpage). Are you saying magic quotes should be off? I'm assuming so.
I added the "php_value magic_quotes_gpc off" to the .htaccess file, but it is still behaving the same way. If you have an apostrophe in the title, it adds the article, but also creates a duplicate with no title or text, but it has a TitleLink with the same name.
I really just asked for the state of magic_quotes_gpc, but of course, the recommendation is for it to be off. Does your .htaccess change get rid of the setup warning? If not you will have to edit your PHP.ini file.
What do you mean by "with the newest Zenpage"? 1.2.4 has Zenpage integrated into the release.
Anyway, I could not reproduce the behavior on the 1.2.4 release.
I want to report that I did some testing on this problem on my generic installation of Zenphoto (with Zenpage activated and applied).
For me, I discovered it all depends on if the "filter-zenphoto_seo v1.0.0" plugin is activated or not. If it's off, I get an error when I create a title in a Zenpage article (it creates an extra untitled article). When "filter-zenphoto_seo v1.0.0" is on, everything's fine.
Guess we will have to be sure bad characters are stripped if there is no seo filter. The original intent was that you could substitute a different function if you did not like the transformations done by the supplied filter.
Comments
What version of zenphoto/zenpage?
Do you have gpc_magic_quotes set?
I added the "php_value magic_quotes_gpc off" to the .htaccess file, but it is still behaving the same way. If you have an apostrophe in the title, it adds the article, but also creates a duplicate with no title or text, but it has a TitleLink with the same name.
What do you mean by "with the newest Zenpage"? 1.2.4 has Zenpage integrated into the release.
Anyway, I could not reproduce the behavior on the 1.2.4 release.
For me, I discovered it all depends on if the "filter-zenphoto_seo v1.0.0" plugin is activated or not. If it's off, I get an error when I create a title in a Zenpage article (it creates an extra untitled article). When "filter-zenphoto_seo v1.0.0" is on, everything's fine.
So I guess I'll leave it on