Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 56

CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
05/24/14 08:01 PM (10 years ago)

custom control panel section.

I cant get my custom section to show on the control panel.Can someone help me understand what Im doing wrong? thanks {"propertySections":[ {"fileType":"bt_section", "fileName":"btSection_navBar.html"}, {"fileType":"customInclude”, "fileName”:”artImage.html"}, {"fileType":"bt_section", "fileName":"btSection_login.html"}, {"fileType":"bt_section", "fileName":"btSection_backgroundColor.html"}, {"fileType":"bt_section", "fileName":"btSection_backgroundImage.html"}, {"fileType":"bt_section", "fileName":"btSection_tabBar.html"}, {"fileType":"bt_section", "fileName":"btSection_screenJson.html"} ] } <!-- ##################################################### --> <!-- ############### artImage ################# --> <div class='cpExpandoBox colorLightBg' id="section_artImage"> <a href='#' onClick="fnExpandCollapse('box_artImage');return false;"><img src='../../images/arr_right.gif' alt='arrow' />Image name</a> <div id="box_artImage" style="display:none;"> <div style="padding-top:10px;margin-bottom:10px;"> <div style="padding-top:10px;"> art Image <input type="text" name="json_imagez" id="json_imagez" value=""> </div> <div style='padding-top:10px;'> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec elementum libero at ligula pulvinar euismod. Donec ac ipsum interdum, mollis justo et, commodo erat. Aliquam erat volutpat. Fusce sit amet posuere enim. In vitae tellus ac volutpat convallis, turpis diam sodales neque, non aliquet ante turpis at neque. Vestibulum blandit orci velit, ac vehicula sapien elementum iaculis. <br> </div> </div> <div class='boxButton'> <input type='button' title="save" value="save" align='absmiddle' class="buttonSubmit" onClick="saveAdvancedProperty('saveResult_artImage');return false;"> <div id="saveResult_artImage" class="submit_working">&nbsp;</div> </div> </div> </div> <!-- ############### artImage ############# --> <!-- ##################################################### -->
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/24/14 08:06 PM (10 years ago)
It might just be the way I see it, but there looks like there are a couple of the 'wrong kind' of quotes in your config_cp.txt file: {"fileType":"customInclude”, "fileName”:”artImage.html"}, The closing quote on 'customInclude', the closing quote on 'fileName', and the opening quote on 'artImage.html'. Otherwise, it all looks like it should work... give that a shot and see if it helps. Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/24/14 08:08 PM (10 years ago)
cool thanks,lol Ive had this problem before when writing code for something,and to figure out it was that after all those hours. I will try and post back
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/24/14 08:11 PM (10 years ago)
haha it worked thanks again SmugWimp!.I had to copy and paste the right quotes,they were automatically changing them to italic when I typed them haha
 
krompa
Lost but trying
Profile
Posts: 257
Reg: Jun 14, 2013
Bristol
8,820
like
05/25/14 10:35 AM (10 years ago)
After helping with forum queries, Smug leans back from his workstation, collects 3 deadly sharp knives from his middle drawer, places a blindfold over his head, spins 540° in his executive chair, then throws the knives within 1mm of the vital arteries of a woman in a leotard (possibly Mrs Smug) on a perpetually rotating giant dartboard. Then casually returns to work.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.