Is strange, because $Site->url() return slash in end of site URL.
In my tests, i have 2 slash:
Code: Select all
http://localhost/bludit//contact
Link in first post.
Is strange, because $Site->url() return slash in end of site URL.
Code: Select all
http://localhost/bludit//contact
Could be, because the code for static content is improved. I will have a look at it.sergiosgil wrote: ↑Tue Mar 06, 2018 12:11 pm hello!
this plugin is not working in the last beta![]()
Bludit v2.3-beta-2
It is however clear for which version of Bludit the plugin is compatible ...sergiosgil wrote: ↑Tue Mar 06, 2018 12:11 pm hello!
this plugin is not working in the last beta![]()
Bludit v2.3-beta-2
You are right, for a local installation the address is a path to a directory with a trailing slash.Fred wrote: ↑Tue Mar 06, 2018 10:59 am Is strange, because $Site->url() return slash in end of site URL.
In my tests, i have 2 slash:Code: Select all
http://localhost/bludit//contact
Code: Select all
http://localhost/bludit/
Code: Select all
http://localhost/bludit
This is great! Merci beaucoup!I' update plugin with added Mail format (HTML or TEXT).
It works fine with Bludit v2.3.1.sergiosgil wrote: ↑Tue Mar 06, 2018 12:11 pm hello!
this plugin is not working in the last beta![]()
Bludit v2.3-beta-2
Okay, in that case, can you tell me if we make this change to the former it works?Edi wrote: ↑Sat Mar 10, 2018 12:01 pm You are right, for a local installation the address is a path to a directory with a trailing slash.
But when installed on a webserver with a domain Bludit has no slash a the end.
You can emulate this with the settings at "Paramètres" > "Avancé" > "URL du site" changing
toCode: Select all
http://localhost/bludit/
With this settings you will get the error.Code: Select all
http://localhost/bludit
Code: Select all
<?php echo $Site->url() . $Page->slug(); ?>
Code: Select all
<?php echo '.' . DS . $Page->slug(); ?>