To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #426 (accepted enhancement)

Opened 20 months ago

Last modified 17 months ago

New task : Rebuild slugs

Reported by: jehanbruggeman Owned by: tboutell
Priority: major Milestone: 1.5.2
Component: apostrophePlugin Version:
Keywords: Cc:
Symfony version: 1.4

Description

I wrote a new task to address a specific use case : having massively re-organized the website structure prior to public release, I wanted the slugs to reflect that new structure (since no URIs had been made public, there were none to break), so I created a task very similar to the apostrophe:repair-tree task, called apostrophe:rebuild-slugs, which browses the tree and rebuilds the slug paths as it goes.

The code is provided as a patch (see attachment). The paths are relative to the svn.apostrophe.org root. I hope it is adequate, being the first patch I ever made.

Attachments

rebuildslugsTask.patch Download (3.6 KB) - added by anonymous 20 months ago.

Change History

Changed 20 months ago by anonymous

Changed 20 months ago by jehanbruggeman

  • symfony changed from 1.4 to 1.3

Changed 20 months ago by boutell

  • status changed from new to accepted
  • milestone set to 1.5

Changed 20 months ago by jehanbruggeman

  • symfony changed from 1.3 to 1.4

Sorry, I didn't pay attention to the label : it was referring to the symfony version.

Changed 17 months ago by tboutell

  • owner changed from boutell to tboutell
Note: See TracTickets for help on using tickets.