for duplicate title there add hyphen and numeric at the end. I want it to start. How it possible

Comments

Freso’s picture

Category: feature » support
greggles’s picture

Status: Active » Postponed (maintainer needs more info)

I'm having a hard time understanding what you mean.

Can you please expand a little more on the topic?

Thanks.

vm’s picture

I think the user is trying to say that when a duplicate title is entered to have pathauto automatically add a hypen and a number at end.

example:
mystory = 1st path
mystory-1 = 2nd path if 1st path is already in use

vm’s picture

Assigned: bdtushar » Unassigned
bdtushar’s picture

example:
mystory = 1st path
mystory-1 = 2nd path if 1st path is already in use

but i want

mystory = 1st path
1-mystory = 2nd path if 1st path is already in use

greggles’s picture

The system described in #4 is already part of the way that Pathauto works.

The system described in #5 is not currently possible. My feeling is that this is a nice to have, but not terribly important feature. And, since it would clutter the user interface, I think it should be marked "won't fix".

@Freso - do you have a feeling about whether we should support that?

Freso’s picture

@greggles: I'm thinking perhaps marking this a duplicate of #212208: allow other modules to affect strings (to help with custom accent/string replacement) and moving the current code that does the "title-n" thing to be a child of this.

greggles’s picture

Title: duplicate title » Provide admin control over location of number which prevents duplicate aliases
Version: 6.x-1.1 » 7.x-1.x-dev
Category: support » feature
Status: Postponed (maintainer needs more info) » Postponed

Ok - let's see how that issue progresses and mark this as a postponed feature until then.

dave reid’s picture

Status: Postponed » Closed (won't fix)

That did not progress. At this point this should be a won't fix.

greggles’s picture

Won't fix in favor of hook_pathauto_clean_alias() which doesn't exactly provide control over this but gets close.