We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Title Field Extension

Development and Programming

Blis Web Agency's avatar
Blis Web Agency
67 posts
16 years ago
Blis Web Agency's avatar Blis Web Agency

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

  • Please note: Requires EE’s JQuery Extension
       
eyevariety's avatar
eyevariety
158 posts
16 years ago
eyevariety's avatar eyevariety

Super Dank man, could have used this 100 times. Slowly but surely all my little input annoyances with EE are getting taken care of by great devs. Thanks so much.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

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

       
Blis Web Agency's avatar
Blis Web Agency
67 posts
16 years ago
Blis Web Agency's avatar Blis Web Agency

@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.

       
MediaGirl Inc.'s avatar
MediaGirl Inc.
186 posts
16 years ago
MediaGirl Inc.'s avatar MediaGirl Inc.

Great extension!

I’m seeing one issue with v.1.0.0 and EE 1.6.8 (Build: 20091201).

The value “Title will be created automatically” you are setting in the JS for the title field isn’t being displayed in the title field for some reason.

Any ideas? The JS looks correct.

       
biberltd's avatar
biberltd
54 posts
16 years ago
biberltd's avatar biberltd

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

       
Keith E's avatar
Keith E
24 posts
16 years ago
Keith E's avatar Keith E

Could someone please explain how to make this work in the SAEF? Keep in mind that when Blis Web Agency wrote “run jQuery on the front end” it zoomed right over my head.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.