Twitter
AddSuffix_Terix - Title suffix

Inspired by this support request: 
http://www.mightyextensions.com/support-desk-forum/item/tickets-topics/32-resources/24381-article-formautomatic-numered-title-from-item-id-or-cat-nums 

It will add a suffix to the article title.
Options: 
1) optional Suffix Divider - (None, Space, Dash, Underscore, Dot)
2) optional "Add Field Content" - will add the content of selected field
3) optional "Add Record ID" - will add the unique record id

21 August 2010 V0.6

1) Added Custom Delimiter
2) Added Support for "Alias" field (replacing " " with "-" and converting to lowercase)

21 August 2010 V0.7

1) Added Field Filter (displays only supported field types)
2) Added "Edit Mode" functionality. Will detect if suffix was already added
3) Added "Backup Mode". (Original title/alias can be restored) Only from V0.7 onwards

Supported field types:
text, text_terix, calendar, calendar_terix, email, textarea, url, select_simple, radiobutton

24 August 2010 V0.8

1) Added Prefix Mode - select between Suffix or Prefix

22 April 2011 V0.8.5

1) Added Divider, when using Field and Divider based on request.

Version 0.8.5
License GPLv2 or later
Type Non-Commercial
Extension type Plugin
Complaint Click to send e-mail online
sackgesichtAvatar

sackgesicht VIP
 
Votes: 0
Answers: 22
Hits: 2681
Modified: 30 Nov 2011

In Comment section you can leave only reviews. If you have questions or support requests ask in Support Desk / 3DP Extensions category or send Personal Message.

Comments
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 21 Aug 2010

forgot to remove a debug line ... uploaded again

-
koraykupeAvatar
Quote
- -
Written by koraykupe VIP on 21 Aug 2010

Thanks for your effort. It's wonderful idea but

I tried it doesn't work properly. When i select relate parent 3 field it added "Array" text as suffix. When i select simple select field it added "QWzEsW7EsWs=" (instead of regular text) as suffix.

-
koraykupeAvatar
Quote
- -
Written by koraykupe VIP on 21 Aug 2010

It works only with textarea field.

Could you add more field option for "Add Field Content".

Also please make suffix divider textfield.

Thanks!

-
koraykupeAvatar
Quote
- -
Written by koraykupe VIP on 21 Aug 2010

Ok, i maked a custom hack for me. :)

If you want to use Relate parent / child 3 plugin for "add field content" it will be an array.

I got first array value. It's article's id. And added an extra sql query that find this article's title. And it works successfully now.

Maybe it will be hard to make all plugins acceptable for "add field content" option for you. Because almost every field has different structure.

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 21 Aug 2010

21 August 2010 V0.6

1) Added Custom Delimiter
2) Added Support for "Alias" field (replacing " " with "-" and converting to lowercase)

will look into different field types in a while .. ;-)

-
koraykupeAvatar
Quote
- -
Written by koraykupe VIP on 21 Aug 2010

I added 2 more types modification also for me. :)

Btw, for select simple value, you must decode it. It's encoded by base64.

-
clowrideAvatar
Quote
- -
Written by clowride VIP on 21 Aug 2010

wonderfull thank you

-
guiguiAvatar
Quote
- -
Written by guigui on 21 Aug 2010

Hello

sorry but can you explain me how it works ?

thank you

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 21 Aug 2010

based on the support request, it will add a suffix to the title.

Example:
Lets assume you want to have a unique number at the end of your title, like "MyTitle 23", "My Title 24", etc etc then go to the parameters and select "Add Record Id" to 'yes' and divider to "Suffix divider" to 'Space'.
It will only add these unique suffix when you create an article. when you edit it nothing will happen, to avoid another suffix.
you can also select another field from the same type if you want to use it as a suffix. It should be a text, textarea or calendar field in the moment. 
I will upload later another version, which will support more field types.
The sequence is "Divider" "Field" "Record Id". It only adds it, if it is selected. 
see http://www.mightyextensions.com/support-desk-forum/item/tickets-topics/32-resources/24381-article-formautomatic-numered-title-from-item-id-or-cat-nums 
for the request

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 21 Aug 2010

21 August 2010 V0.7

1) Added Field Filter (displays only supported field types)
2) Added "Edit Mode" functionality. Will detect if suffix was already added
3) Added "Backup Mode". (Original title/alias can be restored) Only from V0.7 onwards

Supported field types:
text, text_terix, calendar, calendar_terix, email, textarea, url, select_simple, radiobutton

@koraykupe

for relate3 and select relate, we should consider different options.
Example for select relate: "last only", "first only", "all in line" ...
(maybe tomorrow as a sunday exercise... ;-) )

-
janraczAvatar
Quote
- -
Written by janracz VIP on 21 Aug 2010

in download is still V0.6

-
janraczAvatar
Quote
- -
Written by janracz VIP on 21 Aug 2010

I try use it - there is anotrher thing.

When i submit article, and open that, the title has a twice ID "My Title 32 32"

-
janraczAvatar
Quote
- -
Written by janracz VIP on 21 Aug 2010

... and after edit, one of that ID disapears - butthat ID from title in any lists

-
janraczAvatar
Quote
- -
Written by janracz VIP on 21 Aug 2010

...and one more thing.

 

When I edit on backend, every time i save, new ID is added - "My title 32 32 32..."

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 21 Aug 2010

Please download again ... it link was for an old testversion.. sorry, i did not update the link.

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 24 Aug 2010

24 August 2010 V0.8

1) Added Prefix Mode - select between Suffix or Prefix 

-
janraczAvatar
Quote
- -
Written by janracz VIP on 20 Sep 2010

i dwonload, but there is 0.7 version

-
koraykupeAvatar
Quote
- -
Written by koraykupe VIP on 12 Oct 2010

 sackgesicht, could you update the link pls? It's version 0.7, not 0.8.

And will you give support everytime? e.g after Joomla! 1.6 published

-
VasiletsAvatar
Quote
- -
Written by Vasilets VIP on 20 Apr 2011

Hello,

Thanx for nice field!

For my custom title I use suffix divider "-", Field content from text field and Record ID, and my title looks like Title-text_fieldID. Is it possible to devide text_field and ID, that title looks like Title-text_field-ID ?

-
sackgesichtAvatar
Quote
- -
Written by sackgesicht VIP on 22 Apr 2011

@Vasilets

22 April 2011 V0.8.5

1) Added Divider, when using Field and Divider based on request.

-
VasiletsAvatar
Quote
- -
Written by Vasilets VIP on 25 Apr 2011

Thanx for field update!

-
VasiletsAvatar
Quote
- -
Written by Vasilets VIP on 30 Nov 2011

Hello,

I have a version 0.8.5 and have the same problem as janracz. When I edit my article in frontend, after save in title is new duplicated names like Title-Field-ID-Field-ID after next edit, title will be Title-Field-ID-Field-ID-Field-ID.

Here is written that from version 0.7 Added "Edit Mode" functionality which will detect if suffix was already added, but it doesn't work.

-
Add New Comment
Name:
Email:
Comment:
Attachment
Hide Comment
Security code:
Enter text as you see on image
 
 

Latest Extensions

What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 2095 guests and 12 members online


MightyTemplate - Professional Joomla Templates