i don't know if yoy're still trying to figure this out but I've only recently stumbled upon these extensions and am trying to work out the same issue and have an answer.
To do this you'll have to edit both the "mod_yj_taxi_booking.xml" and the "mod_yj_taxi_booking.php" files.
In the xml file scroll down to the parameters and find this line:
"<param name="work_section" type="mos_section" default="" label="News items section" description="In this section there must be min 1 categorie and 1 news item published" />"
It's the type
which we are concerned with. Currently it is set to mos_section
, to tell the admin back end to list your categories you have to change this to mos_category
. That will now list all your categories by section in the back end.
Now to change around in the "php" file so that the values are carried over into the form for the user.
Find this php line:
$query = 'SELECT title ,sectionid FROM #__content WHERE (state=1) and (sectionid='.$work_section.') ORDER by ordering';
Change "sectionid" to "catid"...there should be only two.
That's it! It should now list your categories in the back end and show only the article titles to the user of the category you chose...