umco / umbraco-nested-content

Nested Content for Umbraco 7.1 to 7.6
https://our.umbraco.org/projects/backoffice-extensions/nested-content
MIT License
45 stars 35 forks source link

Feature request: Option to use document type name in name template #104

Closed bjarnef closed 7 years ago

bjarnef commented 7 years ago

I would be useful to be able to used name of document type in name template. E.g. instead of Item 1, Item 2, etc. then Slide 1, Slide 2, etc.

I have change the text directly in the config to "Slide", but is there a variable for the index/count? For example, name template: Slide {{count}}

mattbrailsford commented 7 years ago

There should be a $index variable you can use.

On 28 Jan 2017 4:50 p.m., "Bjarne Fyrstenborg" notifications@github.com wrote:

I would be useful to be able to used name of document type in name template. E.g. instead of Item 1, Item 2, etc. then Slide 1, Slide 2, etc.

I have change the text directly in the config to "Slide", but is there a variable for the index/count? For example, name template: Slide {{count}}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/umco/umbraco-nested-content/issues/104, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgLyRH7k_AZdes2thwyoYEDQ1eHkLZHks5rW3G-gaJpZM4LwjTj .

bjarnef commented 7 years ago

I have tried something like Slide {{$index}}, but doesn't seem to work. Is it only value af property editors that is replaced, when using it like {{alias}}?

leekelleher commented 7 years ago

@bjarnef It's a recent addition, (well, I say recently, it was in Oct 2016, 739070c1c02157212b875f3417b5b92e47eae7d8) ... but we haven't had a new release since. In the meantime, the MyGet feed has the latest builds.

bjarnef commented 7 years ago

Ahh okay, I have currently v.0.3.0 installed :)

leekelleher commented 7 years ago

We're definitely overdue a new release... all I can say is that @mattbrailsford & I have been under heavy workloads for (at least) the past 6 months - and haven't prioritised getting a release out. (Same applies for our other packages - DTGE & Ditto are sorely overdue new releases too)

I'll chat with @mattbrailsford about planning releases.


Closing this ticket off ❤️