Making Component - New Field Type in admin - Joomla! Forum - community, help and support


hi all,

hope can me - i've been using hello world guide: http://docs.joomla.org/developing_a_model-view-controller_(mvc)_component_for_joomla!2.5_-_part_06#site.2fviews.2fhelloworld.2ftmpl.2fdefault.xml me adding drop down field admin model.

i've got new drop down field working in admin side , pulling records database select, i'm stuck on last bit - "display chosen message". in tutorial extend "jmodelitem" , return jtable need create query filtered value selected in new drop down field created earlier.

in other words - how site model variable ($options) returned in admin model?

i'm close making work , getting grips understanding of mvc - if can point me in right direction i'd eternally grateful!

all best

mb :d

hey mb,

you selected greeting id jinput object.

should this

code: select all

$id = jfactory::getapplication()->input->get('id', 0, 'int');


then use id in db query's clause.

hope helps.
take care , keep pushing. you'll hang of it.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support