Loading...
 
Skip to main content

Create smarty_modifier_slug

Status
Closed
Subject
Create smarty_modifier_slug
Version
20.x
Category
  • Easy for Newbie Dev
Feature
Templates (Smarty)
Resolution status
Fixed or Solved
Submitted by
Jonny Bradley
Volunteered to solve
Jonny Bradley
Lastmod by
Jonny Bradley
Rating
(0)
Description

I'm finding i need a consistent way of creating urls with a sefurl version of the title (usually) on tracker items, and i'm doing loads of title|replace:' ':'-' which leads to mess.
So i need to make smarty_modifier_slug() to do that as title|slug to obey the pref setting for it.
So just a reminder fo myself really, unless someone else wants to have a go! 😊

(don't forget about / chars )

Solution
Added in r70072 for Tiki 20.0
Importance
2
Easy to solve?
8
Priority
16
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7075
Created
Thursday 09 May, 2019 10:57:30 UTC
by Jonny Bradley
LastModif
Friday 24 May, 2019 16:26:11 UTC


Show PHP error messages