As I often come across people that would like really simple webpages that just need to work I find GetSimple to be an interesting CMS to look at. The problem with most of these people is that they have no knowledge about anything at all.
Today is my first day of testing GetSimple and as one of the things I wanted to change the slug for the homepage, which is currently fixed on 'index'. I was a little disappointed when it told me I couldn't change it but I know some of my client would get completely frustrated by this. I tried to solve this problem by editting the associated line (#152) of edit.php. I made it as follows:
It seems to work and looks exactly as I had pictured. However, for some reason once I have this change in place and I go to change the page it will tell me it couldn't submit any of the changes due to me having changed the slug. I am very certain I did no such thing and the field is disabled so I can't have done it accidentally (leaving out of consideration the fact I tested it multiple times).
Could someone test this piece of code for me and report their findings? Maybe I'm just constantly overlooking something.
I bet there are even more places that could be made more dummy proof. This does not mean the error messages can be removed, but it will add an extra layer of protection against stupidity.
Thanks for your time.
Today is my first day of testing GetSimple and as one of the things I wanted to change the slug for the homepage, which is currently fixed on 'index'. I was a little disappointed when it told me I couldn't change it but I know some of my client would get completely frustrated by this. I tried to solve this problem by editting the associated line (#152) of edit.php. I made it as follows:
Code:
<input class="text short" type="text" id="post-uri" name="post-uri" value="<?php echo @$url ?>" <?php echo ($url=='index'?'disabled="disabled" ':''); ?>/></td>
Could someone test this piece of code for me and report their findings? Maybe I'm just constantly overlooking something.
I bet there are even more places that could be made more dummy proof. This does not mean the error messages can be removed, but it will add an extra layer of protection against stupidity.
Thanks for your time.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!