Title Field is an extension which helps you create better weblog entry titles. Quite often I’ll have a weblog where the title of that weblog entry contains the values of two or three other fields in that weblog. For example, if I’m adding information into a weblog which contains a number of second hand cars, I’d probably have a title like: “Honda - Civic - 2006” and then have three custom fields in my weblog which are “Manufacturer: Honda”, “Model: Civic”, “Year: 2006”.
Given this example you would normally have to enter this information in twice! Once into the Title and once into each of the custom fields. Title Field saves you from having to repeat yourself! It adds an option as you create each custom field to define that custom field as a Title Field. Anything entered into a Title Field will be used to create the title of that entry.
Title Field should play nice with Gypsy and other extensions. It also works with drop downs and text fields but may have issues if you use it on certain Field Frame fields. If you do discover any problems, please let me know and I’ll try to address them.
Find out more on here: About Title Field
Or download direct here: Title Field 1.0.0
Hiya,
Nice little extension that one, well done. I’ve made these types of things many times before for sites where I’ve needed that sort of functionality albeit without the settings in the custom field page which is a great addition by the way.
I was just wondering a couple of things though. Will this work with SAEFs? You mentioned that it requires the jQuery plugin so I’m just wondering will this work outside of the control panel or not?
Also would there be any way of perhaps getting an extension settings page so that you could perhaps add something else into the mix too such as the username or date or something else like that maybe?
I’m just thinking that with your example of cars if you were say for instance creating a site where people can sell a car you may well get lots of people selling the same make and model of car and as ExpressionEngine has a limit on how many url_titles with numerics at the end it creates then this might become a problem. However if the date or the username of the person posting was put into the mix too then this would definitely solve that problem.
Anyhow just an idea but again a great little extension which I’m sure will come to a lot of peoples aid.
Best wishes,
Mark
@eveyvariety - that’s for the feedback, we’ve been hanging for someone to write something like this for a while too but in the end I figured it’s probably faster if I put something together. Hope you find it useful.
@mark - Thanks for the ideas, I’m impressed with how quick you are to respond to these posts! I’m yet to take on a settings page but I’m keen to add them to both my recent extensions (Publish Button and Title Field) in an upcoming release. I’m still a bit of a newb in the EE extension game so I’m trying to keep it simple in my initial releases.
As for SAEF, I hadn’t even though about applying this same functionality to them but it could be done quite easily using a plugin which replicates the extensions functionality. It would require the user to run jQuery on the front end too but from what I’ve seen, jQuery seems to be the JS framework of choice for most EE site developers anyway so hopefully this doesn’t cause too many people any issues.
Thanks for the great extension.
We have modified your extension a little bit.
The modified version enables the admin to define a different separator for each weblog (if of course more than one field is selected as a title field).
For example let’s say we have a weblog called People, and there are fields defined as First Name and Last Name.
In the original extension one can define First Name and Last Name as title fields. If first name is John and Last names is Doe then the title will become John - Doe.
In the modified version if you set + as a separator for People weblog then the title will become John + Doe.
Download: http://publicdownloads.biberltd.com/ee_extensions/ext.blis_titlefield_modified_biberltd_v1.1.0.zip
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.