Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization:
Song_Entry - Song_Add Modifications
thegreatunkown



Joined: 26 Feb 2012
Posts: 122
Location: The Bronx, New York

Posted: 05/29/12 15:32 
I am trying to simplify things for my producers and artists and would like to remove some the functions in the control panel of my skin. I using a medipro skin and I am trying to modify this file MediaPro/cp/form.cfg. Here's the code I am using -

# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
# disabled_form_fields = "message_more,Song_Lyrics,Explicit_Lyrics,Songwriter_License,ISRC_Code"

What am I doing wrong. I would really appreciate anyone who could help with this.


_________________
The Great Unknown - http://www.beatmarketworldwide.com
Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 05/29/12 16:10 
Some of the fields are named wrong and you can't use capital letters... it should be:


Code
# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
# disabled_form_fields = "message_more,song_lyrics,song_advise,song_slicense,song_isrc"


Hope this helps,
Douglas


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
thegreatunkown



Joined: 26 Feb 2012
Posts: 122
Location: The Bronx, New York

Posted: 05/29/12 16:27 

SixString:
Some of the fields are named wrong and you can't use capital letters... it should be:


Code
# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
# disabled_form_fields = "message_more,song_lyrics,song_advise,song_slicense,song_isrc"


Hope this helps,
Douglas


Thank you very much Douglas gonna try that out right now Smile.


_________________
The Great Unknown - http://www.beatmarketworldwide.com
Back to top
thegreatunkown



Joined: 26 Feb 2012
Posts: 122
Location: The Bronx, New York

Posted: 05/29/12 16:54 

SixString:
Some of the fields are named wrong and you can't use capital letters... it should be:


Code
# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
# disabled_form_fields = "message_more,song_lyrics,song_advise,song_slicense,song_isrc"


Hope this helps,
Douglas


Used that same code you gave me and it's not working. Wonder what it could be .


_________________
The Great Unknown - http://www.beatmarketworldwide.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 05/29/12 19:24 
to find the names of the fields i use firebug for firefox.

If you look at the input name, that will be the name you will want to use.

for example, looking at the source code for the "Create a Song" form there is this row:

Code
<input type="text" class="input" value="" id="song_name" name="song_name">


You can see that the id="song_name" is in there. so if you didn't want that field to show you would use song_name

in your config file.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 05/30/12 02:18 
# All comments must begin with a '#'

Have you removed the # from the lines in your actual code?


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
thegreatunkown



Joined: 26 Feb 2012
Posts: 122
Location: The Bronx, New York

Posted: 05/30/12 02:25 

SteveX:
# All comments must begin with a '#'

Have you removed the # from the lines in your actual code?


No I hadn't . I also use the firebug program and got the exact terms still not working. So in other words my code should be like this ?


# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
disabled_form_fields = "message_more,Song_Lyrics,Explicit_Lyrics,Songwriter_License,ISRC_Code"

is that correct ?


_________________
The Great Unknown - http://www.beatmarketworldwide.com
Back to top
thegreatunkown



Joined: 26 Feb 2012
Posts: 122
Location: The Bronx, New York

Posted: 05/30/12 02:29 

thegreatunkown:

SteveX:
# All comments must begin with a '#'

Have you removed the # from the lines in your actual code?


No I hadn't . I also use the firebug program and got the exact terms still not working. So in other words my code should be like this ?


# Default Control Panel Form Config file
# Copyright 2008 by Talldude Networks, LLC.
# All comments must begin with a '#'

# Disabled Fields -
# would like to disable, separated by commas - i.e.
# song_history,song_lyrics
disabled_form_fields = "message_more,Song_Lyrics,Explicit_Lyrics,Songwriter_License,ISRC_Code"

is that correct ?


Yup that worked. Thank you very much sir Smile


_________________
The Great Unknown - http://www.beatmarketworldwide.com
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.