customize front end form

toddschick
toddschick
Offline
0
I read the http://www.joomlathat.com/documentation/music-collection/customize-front-end-forms
It does not show or tell me where to edit the form itself?
How do i edit a field in the form or more importantly add a field ?

For example if i want to create a new field in the form called "gender" and then give the options of male female or both in a drop down?
Responses (9)
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Wednesday, January 07 2015, 05:25 PM - #Permalink
    0
    Have you looked at this question yet?
    Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 08 2015, 06:28 PM - #Permalink
    0
    hello!

    this article simply explains how to add explanation to fields, or make them required, it's not about adding new fields..

    that actually requires PHP coding and new MySQL DB fields, and adding code in several files..
    The reply is currently minimized Show
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Thursday, January 08 2015, 06:33 PM - #Permalink
    0
    How do I add new fields to the forms then?

    Can I just copy a field from the php page and then change its name in php.

    In other words if I see a dropdown field is already created in one form can I just copy the php code for that field say from div to div and paste in another forms php?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 08 2015, 06:35 PM - #Permalink
    0
    No.. that's what I said above. it's not just copying/pasting something in the form, it's much more than that!
    as I said, requires additions to several files in PHP and also changes in the Database (so you need to know MySQL as well). otherwise, how will the fields be stored? :) do you know what I mean?
    this is not something you can do yourself if you're not familiar with Joomla programming and have PHP and MySQL knowledge...
    The reply is currently minimized Show
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Thursday, January 08 2015, 07:14 PM - #Permalink
    0
    if you go to almost any of the music collection pages you will see the icons are not working
    Here is a link that should show you that
    http://www.keystothenet.com/elitejoom/main-detailed-layout/index.php?searchword=&artist_id=&genre_id=&tag_id=&option=com_muscol&search=songs&view=search&Itemid=160

    or this one where it is more obvious
    http://www.keystothenet.com/elitejoom/main-detailed-layout/voice-over-and-projects/playlist-1-my-first-playlist
    The reply is currently minimized Show
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Friday, January 09 2015, 04:19 PM - #Permalink
    0
    did this work for you?
    The reply is currently minimized Show
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Friday, January 09 2015, 04:27 PM - #Permalink
    0
    this is not something you can do yourself if you're not familiar with Joomla programming and have PHP and MySQL knowledge...

    I have been doing my own coding edits for 15 years certainly not a certified coder but have done numerous edits and MySQL edits and have expert Joomla experience.
    I can do most of these edits if directed to the right files and paths.

    The main issue is we are going to need to change these fields in the forms for our business in the future so we need access to the forms themselves or a solid way of editing them.

    If I cant do it what would you charge to do some edits to these forms in the main function of adding some fields to them?

    Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 09 2015, 05:19 PM - #Permalink
    0
    ok, in that case you need:

    1. to add the new field(s) in the DB table (for albums, #__muscol_albums is the DB table)
    2. add the new field into the table class (in music collection's component, /administrator/components/com_muscol/tables
    3. add your new field in the form field (form.php)
    4. if necessary, add any necessary checks in the model file (/models/album.php)
    The reply is currently minimized Show
  • Accepted Answer

    toddschick
    toddschick
    Offline
    Monday, January 19 2015, 08:46 PM - #Permalink
    0
    If I cant do it what would you charge to do some edits to these forms?
    • Germinal Camps
      more than a month ago
      for quotes and custom coding work please write us directly at support@ joomlathat.com
    The reply is currently minimized Show
Your Reply