PyroCMS v0.9.7.4 - an open-source modular general purpose CMS |
[eluser]sshz[/eluser]
Phil, url_title() and humanize() are lacking non-english character support, so my news with "Весеннее предложение" title end up with http://localhost/pyrocms/news/-.html url.
[eluser]sshz[/eluser]
fatdog, strange that you have this issues, pyrocms works fine with "out of the box" XAMMP installation.
[eluser]Phil Sturgeon[/eluser]
I noticed an issue with assets loading using Windows (XAMPP) when the folder was outside of the directory root. That has now been fixed. I have just pushed that to master (means the new files are uploaded ;-)), along with the broken link found by Yorick Peterse.
[eluser]NightLion[/eluser]
hi, i'm from brazil, yesterday i'v downloaded ur system, and i played it a several minutes. then i saw few improvements that could be done, the principal: E.g: i have a website with a blog, then i have some people responsable to write on that blog, then i'v created a role to them, but, they need the url of the news admin to create posts, then i've made a function that verifies whats modules admin that role can access. then it shows on cpanel only the modules that they have access. (unfortunately, i had to disable the module cache ;/ ) in User_lib.php: Code: function check_admin_access() in User_m.php Code: function getAdminAccess($role = 'user', $module = NULL) inside of getModules function in modules_m.php: Code: if (($this->users_m->getAdminAccess($this->user_lib->user_data->role, basename($module_name))) or ($this->user_lib->user_data->role == "admin")) inside of the theme with the link with the Admin panel: Code: <? if( $this->user_lib->check_admin_access() ): ?> put if u want in PyroCMS, i dont know if u think useful, but i did. Hugs from Brazil edit:I think its better create a forum/site/whatever to PyroCMS, then the "community" can help developing modules, fixing bugs, developing funcions, etc. edit2:An improvement that could be done too it's a system of blocks, u said that u'll allow theme changes inside of the cpanel, then could be done a module to manage blocks of news/pool/whatever
[eluser]Phil Sturgeon[/eluser]
[quote author="NightLion" date="1241410789"]An improvement that could be done too it's a system of blocks, u said that u'll allow theme changes inside of the cpanel, then could be done a module to manage blocks of news/pool/whatever [/quote] Got a ticket for that but the system is still not fully planned out in my head. Not 100% on how it would work, but have an idea. As for only showing available modules, that is a great idea. It was originally pulled based on files as I have been trying to keep the CMS almost "plug n play" with its module content. I will have to see how I can keep that with your new suggestion. I just added a new ticket to take care of this suggestion.
[eluser]sshz[/eluser]
Phil, I can post here an updated url_title() function with non-english characters support if you want to. Fully working with cyrillic letters.
[eluser]Phil Sturgeon[/eluser]
[quote author="sshz" date="1241454687"]Phil, I can post here an updated url_title() function with non-english characters support if you want to. Fully working with cyrillic letters.[/quote] Sure thing, pastebin them over and I will add them into MY_url_helper.php. Thanks for the fix.
[eluser]sshz[/eluser]
url_title() function with non-english characters support Code: if ( ! function_exists('url_title'))
[eluser]Référencement Google[/eluser]
This is probably neater and should work also with all chars (at least all latin chars) : Code: function url_title($str, $separator = 'dash')
[eluser]Référencement Google[/eluser]
And if that can help, it's taken from Wordpress: http://toopixel.pastebin.com/f22711806 |
Welcome Guest, Not a member yet? Register Sign In |