Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 99

LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
12/01/13 02:42 PM (11 years ago)

Plugins HTML

Hey gang, I'm a little lost here on the new plugins. I'm trying to update "Voice Notes" plugin but it still has the index.php. Also trying to get Baseball Stats in the market but having a few questions: 1. Where do we put the html files for a particular plugin? 2. How do we reference the config_cp.txt? 3. How do we put the JSON Config Data at the bottom of the screen? This make sense? LA
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/01/13 02:47 PM (11 years ago)
1. Where do we put the html files for a particular plugin? Its just in the root or your plugin folder 2. How do we reference the config_cp.txt? You don't really need to reference it anywhere. CP reads it automatically 3. How do we put the JSON Config Data at the bottom of the screen? ??
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/01/13 02:50 PM (11 years ago)
3. How do we put the JSON Config Data at the bottom of the screen? It's just the last entry on your config_cp.txt. Nothing else needed. { "propertySections": [ { "fileType": "custom", "fileName": "childItems.html" }, { "fileType": "bt_section", "fileName": "btSection_dataURL.html" }, { "fileType": "customInclude", "fileName": "quizQuestions.html" }, { "fileType": "customInclude", "fileName": "quizBehavior.html" }, { "fileType": "customInclude", "fileName": "button_background.html" }, { "fileType": "customInclude", "fileName": "exp_screen_prop.html" }, { "fileType": "customInclude", "fileName": "gameCenter.html" }, { "fileType": "customInclude", "fileName": "share_via_email.html" }, { "fileType": "customInclude", "fileName": "sendScoreToFacebook.html" }, { "fileType": "customInclude", "fileName": "sendScoreToTwitter.html" }, { "fileType": "customInclude", "fileName": "screenDataAdvanced.html" }, { "fileType": "customInclude", "fileName": "landingScreens.html" }, { "fileType": "customInclude", "fileName": "fontProperties.html" }, { "fileType": "customInclude", "fileName": "quizSounds.html" }, { "fileType": "customInclude", "fileName": "nadQuizBackground.html" }, { "fileType": "bt_section", "fileName": "btSection_ads.html" }, { "fileType": "bt_section", "fileName": "btSection_search.html" }, { "fileType": "bt_section", "fileName": "btSection_login.html" }, { "fileType": "bt_section", "fileName": "btSection_tabBar.html" }, { "fileType": "bt_section", "fileName": "btSection_screenJson.html" } ] }
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/01/13 02:52 PM (11 years ago)
@nadthevlad, Alright so we create an html page and put it in the root of the plugin folder? What I do with the index.php that is still in there, even though I updated? LA
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/01/13 02:57 PM (11 years ago)
Yes keep the index.php somewhere safe but don't include it in the zip before uploading to BT.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/01/13 03:34 PM (11 years ago)
lol yeah I'm lost! LA
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/01/13 06:41 PM (11 years ago)
Yeah, its been one of those days. Does this help? https://dl.dropboxusercontent.com/u/2452503/nad_advanced_quiz.png
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/01/13 11:31 PM (11 years ago)
I created a plugin that I'm going to use during my presentation at the developer meeting. Perhaps it might help a little beforehand? https://dl.dropboxusercontent.com/u/115208762/SW_forTestOnly.zip Cheers! -- Smug
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/03/13 02:23 PM (11 years ago)
Thank you both! I think I'm getting it! Still not sure though why my plugins, ones I check, are not downloading..thoughts? LA
 

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.