paulgrafx
When creating a new tag it still allows Apostrophe's and other characters in the slug.
The Livetag.php protected function getOrCreateTag($tagname) needs changing from...
if ($tag == null) {
$slug = strtolower(str_replace(' ','-',$tagname));
$tag = TagModel::create(array('name' => $tagname, 'slug' => $slug));
}
to...
if ($tag == null) {
$slug = str_slug($tagname);
$tag = TagModel::create(array('name' => $tagname, 'slug' => $slug));
}
Last updated
1-3 of 3