3070 Posts in 869 Topics by 651 members
| Go to End | ||
| Author | Topic: | 3264 Views |
-
Re: [SOLVED] URL slug instead of ID on DataObject?

10 December 2009 at 9:49pm
Hi Potion Maker,
I should have marked this one as resolved - Martijn's solution worked perfectly.
I'm not sure how you would get it working with yours, but I'd try generating a string from the two components, then sticking them thru the generateURLSegment function.
Les
-
Re: [SOLVED] URL slug instead of ID on DataObject?

6 March 2010 at 3:09am
Nice. So SiteTree::generateURLSegment() is SilverStripe's slug generation equivalent.
-- Jason
| 3264 Views | ||
| Go to Top |


