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

I have questions on modifying an extension (Huot's File more specifically)

Development and Programming

Blue Flavor's avatar
Blue Flavor
36 posts
16 years ago
Blue Flavor's avatar Blue Flavor

Greetings all, second time poster, long time listener.

So I’ve been trying to modify Mark Huots “file” extension in order to add other form fields attached to specific images uploaded. I’ve been reading diligently through the EE Documentation and Developer area and I’m afraid I can’t find my answer or at least don’t understand it.

My main question is about hooks. There is no real great explanation about hooks and how they work in the EE Docs, and I understand that I need to understand them 😊.

Here are the questions: What is the philosophy and the magic behind hooks? How do I generate form fields?

In the case of Mark huot’s file, I can see that there is a table created, and I understand how, in the extension, to add the fields I want to track.

Here are my modification requirements: I wish to add an alt, title and description field for images that aren’t thumbnails. I wish to add a title and description field for flash movies, as well as the proper html involved. I want to add templates tags for the above.

No small feet indeed, but something is not clicking in how to create the custom form fields properly, attach them to the file extension and then add them to the templates.

Any help would be greatly appreciated and rewarded with messages of heaping praise.

Thanks, Kenny

       
Kevin Miller's avatar
Kevin Miller
11 posts
16 years ago
Kevin Miller's avatar Kevin Miller

This describes exactly the wall I’ve hit today. Did you have any joy extending the File Extension in this way Kenny?

       
Kevin Miller's avatar
Kevin Miller
11 posts
16 years ago
Kevin Miller's avatar Kevin Miller

This problem in site construction can be solved by using Brandon Kelly’s FieldFrame Matrix along with nGen’s FieldFrame File extension.

http://brandon-kelly.com/apps/fieldframe http://www.ngenworks.com/software/ee/ngen-file-field

Thanks to lockwesmonster for pointing these out

       

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.