Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 89

nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
12/11/13 05:33 PM (11 years ago)

adding child items to the cp tut

https://dl.dropboxusercontent.com/u/2452503/Child%20Items.pdf If any devs have any feedback on this I would be glad to add it to the pdf.
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
12/11/13 05:45 PM (11 years ago)
Great work! I just sent you a PM
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
12/11/13 06:07 PM (11 years ago)
cool thanks
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/11/13 08:24 PM (11 years ago)
Sweet mama! Thank you! Let us know of any updates. Also, ask Susan to post it into the How-To section. Thanks :-) - Niraj
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/12/13 03:21 AM (11 years ago)
You ARE the man! :) Cheers! -- Smug
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
12/12/13 08:19 AM (11 years ago)
Just Awesome man. This really helps break this down, the child items are the most complex part of making plugins. You picked a great example here of a flashcard. 1 object with 2 child items. Perfect to study. I'm hoping this code ends up on the market soon so I can see exactly how you setup the child items in the source code. That combined with this great tutorial is exactly what I need. Otherwise I still have that "Blank Child Items" plugin template that chris put together a while ago. I wonder if that would work with this tutorial? Maybe converting that to 3.0 would be a good lesson... also - you can reorder these child items if you change the row numbers and hit the save button? I do wish David picked a different name like 'children.html' for the child items. Those 2 names are just so similar it's bound to trip me up sooner or later. regardless, top notch stuff and a million thanks for putting it together. Thanks :)
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/12/13 09:27 AM (11 years ago)
It does have the ability to reorder the items. There is a lot of code in the sample package that isn't in the pdf. Its best to look at the full source. I highlighted and commented the sample package as best I could. This is mostly David and Chris's doing. I just highlighted the important areas.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/12/13 02:03 PM (11 years ago)
Nice job, @nadthevlad! I love the image on the cover. I will get it posted in the How-to's right now.
 

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.