joomla MVC compoent for suporting two tables in joomla 2.5

370 views
Skip to first unread message

b2z

unread,
Sep 8, 2012, 2:05:34 AM9/8/12
to joomla-de...@googlegroups.com
Hi.

Just create another table class, for example HelloworldTableFlight and use it for crud.

Best regards,
Dmitry

Mashal Ahmad

unread,
Sep 8, 2012, 3:03:32 AM9/8/12
to joomla-de...@googlegroups.com
i try it but no success it wont recognize second class

b2z

unread,
Sep 8, 2012, 11:17:44 AM9/8/12
to joomla-de...@googlegroups.com
Can you be more specific - where it wont recognize? You are displaying data from two tables in one commont view or in separate views?

Mashal Ahmad

unread,
Sep 10, 2012, 12:16:48 AM9/10/12
to joomla-de...@googlegroups.com
im displaying in separate views but when i apply curd operations it gives the error

Mashal Ahmad

unread,
Sep 10, 2012, 12:18:26 AM9/10/12
to joomla-de...@googlegroups.com
here is my component if you can chek plzz
com_helloworld (10).zip

Mashal Ahmad

unread,
Sep 10, 2012, 12:32:21 AM9/10/12
to joomla-de...@googlegroups.com


kindly chek it and correct my code that why component is not deleting information of flight and hotel thx i vl be very thankful to you
regards

b2z

unread,
Sep 10, 2012, 11:51:38 AM9/10/12
to joomla-de...@googlegroups.com
Ok, but cant guarantee that could make it in nearest days.

b2z

unread,
Sep 10, 2012, 1:56:22 PM9/10/12
to joomla-de...@googlegroups.com
Ok, I have some free time today. If I correctly understand your code, it seems that you have mistake in HelloWorldControllerafiliates. You are trying to use incorrect model $name = 'HelloWorld'. You need $name = 'Affiliate' here.

Mashal Ahmad

unread,
Sep 11, 2012, 1:30:32 AM9/11/12
to joomla-de...@googlegroups.com
yep i figured out it yesterday and it works thanx alot btw

b2z

unread,
Sep 11, 2012, 11:36:32 AM9/11/12
to joomla-de...@googlegroups.com
You are welcome.

Dmitry.

Reply all
Reply to author
Forward
0 new messages