[ solved ] k2 joomla - fix Tags, when K2 remove spaces and Dashes
If you save K2 article and K2 remove from the Tags spases and dashes - we need fix this in function check (). Open administrator\components\com_k2\tables\k2tag.php. Pleace find line 30 and replase this code
// Oldest line 30 $this->name = JString::str_ireplace('-', '', $this->name);
Replase old line in this code:
// approve - and space $this->name = JString::str_ireplace('-', '—', $this->name); $this->name = JString::str_ireplace(' ', ' ', $this->name);
Leave a comment
Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.