Removing options from users..

EJ
EJ
Offline
0
Is there anyway i can make some of the fields(during creating an artist) and (creating new album) either optional or remove them altogether? or is there any future upgrades that can allow admin more control over those fields? i want my Users to be able to upload their tracks and have it with less headache and convoluted overwhelming stuff in front of them as possible..
I want to be able to just put some of the basic stuff up so people are able to create their artist profile or album profile, load the tunes to preview and thats it..
I really also wish that they didn't absolutely "HAVE TO" create an artist in order to upload music, if there could be an option to ONLY UPLOAD, and name the file to be commented on, that would be awesome.. i can show you an example of a site that have it like this if you like..
I could probably sit through and sort through the code but im just getting the site up and i really have too much on my plate right now, i do plan to create some mods and plugin's for this development to help out the community and grow your product but right now im overloaded and running low on funds and frustrated.
Thanks Germi you always come through.
Responses (8)
  • Accepted Answer

    Thursday, February 25 2010, 03:00 PM - #Permalink
    0
    well, the fields that show up when creating new content are not "parametrizable", but if you want to hide some of them.. you can simply put them out of the form template, that simple

    /components/com_muscol/(album or artist)/tmpl/form.php

    just go and delete the field you dont want your users to see. that should do the trick, and wont take you more than 5 min
    The reply is currently minimized Show
  • Accepted Answer

    EJ
    EJ
    Offline
    Friday, February 26 2010, 09:43 AM - #Permalink
    0
    Ok, i was going to do that, i just wanted to make sure none of those fields were "Required" fields that should i delete one that is required to submit it wont give me a headache with my users..

    I'll start editing the template and if any problems come up i'll just overwrite it with the original one and report back.. thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 12 2010, 09:47 PM - #Permalink
    0
    Now the question is in the reverse. How would add fields? What must be in place to add fields?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 12 2010, 10:00 PM - #Permalink
    0
    imhotep06 wrote:
    Now the question is in the reverse. How would add fields? What must be in place to add fields?


    Yes, I am interested in doing this also :unsure: :unsure:
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 12 2010, 10:55 PM - #Permalink
    0
    It appears that you can go to the albums/views/form.php and alter the code. I have added an extra table row and added the code

    [code]/**
    *to add an field called EMAIL
    */

    label for="email"
    ?php echo JText::_( 'Email' ); ?:
    /label
    input class="text_area" type="text" name="email" id="email" size="50" maxlength="250" value="?php echo $this->album->email;?

    NOTE: I HAVE TAKEN OFF THE MARKS AS THIS FORUM DELETES THE HTML CODE. IT SHOULD BE EASY TO FOLLOW WHEN YOU SEE THE ACTUAL CODE.


    I have also added a field called email to the database. The problem is, when you go to the album and look for the field you've added, it does not show up. So what variables are missing that the form field doesn't show up to be entered into the database?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 12 2010, 11:53 PM - #Permalink
    0
    Okay, I forgot there is a folder in the admins section with the same files. So I enter the data there and the form fields show up. Good! But it won't enter into the database. When I go into the database and put the input data directly into the table and save it, when I refresh my back end Add Albums form then what I entered into the database directly shows up.

    So something is not happening in the process of entering the data in the form and saving into the database.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 13 2010, 05:32 AM - #Permalink
    0
    What page does the form post the data to? The code says "index.php" but no locative information. The method of the form is set to "post" which means the data has to go to another page to be collected [usually in tutorials it is called update.php]. This is the file we need so we can transfer the variables and have it enter in the database correctly.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 13 2010, 11:57 AM - #Permalink
    0
    @imhotep06 can you please provide us you Music Collection order ID? we cannot give you support in the forum un til we verify your account.. (you dont appear as a customer on our system...)

    thanks!

    Germi
    The reply is currently minimized Show
Your Reply