joomla MVC compoent for suporting two tables in joomla 2.5
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Fri, 7 Sep 2012 01:15:59 -0700 (PDT)
Local: Fri, Sep 7 2012 4:15 am
Subject: joomla MVC compoent for suporting two tables in joomla 2.5
i have been developing MVC component of joomla 2.5 here is link
http://docs.joomla.org/Developing_a_Model-View-Controller_Component/2...
i successfully displayed data from two tables at backend but for CURD operation i have to initialize the id of table in jatble class like this
class HelloWorldTableHelloWorld extends JTable {
function __construct(&$db) { parent::__construct('code', 'id', $db);
//parent::__construct('#__fairinfo', 'flight_id', $db);
}
}
whichever table's id is initialized i can do delete and edit operation only for that table. my question is how can i do this for two tables?
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
b2z <bzzj... @gmail.com>
Date: Fri, 7 Sep 2012 23:05:34 -0700 (PDT)
Local: Sat, Sep 8 2012 2:05 am
Subject: joomla MVC compoent for suporting two tables in joomla 2.5
Hi.
Just create another table class, for example HelloworldTableFlight and use it for crud.
Best regards, Dmitry
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Sat, 8 Sep 2012 00:03:32 -0700
Local: Sat, Sep 8 2012 3:03 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
i try it but no success it wont recognize second class
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
b2z <bzzj... @gmail.com>
Date: Sat, 8 Sep 2012 08:17:44 -0700 (PDT)
Local: Sat, Sep 8 2012 11:17 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
Can you be more specific - where it wont recognize? You are displaying data from two tables in one commont view or in separate views?
i try it but no success it wont recognize second class
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Mon, 10 Sep 2012 09:16:48 +0500
Local: Mon, Sep 10 2012 12:16 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
im displaying in separate views but when i apply curd operations it gives
the error
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Mon, 10 Sep 2012 09:18:26 +0500
Local: Mon, Sep 10 2012 12:18 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
here is my component if you can chek plzz
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Mon, 10 Sep 2012 09:32:21 +0500
Local: Mon, Sep 10 2012 12:32 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
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
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
b2z <bzzj... @gmail.com>
Date: Mon, 10 Sep 2012 08:51:38 -0700 (PDT)
Local: Mon, Sep 10 2012 11:51 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
Ok, but cant guarantee that could make it in nearest days.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
b2z <bzzj... @gmail.com>
Date: Mon, 10 Sep 2012 10:56:22 -0700 (PDT)
Local: Mon, Sep 10 2012 1:56 pm
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
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.
On Monday, September 10, 2012 6:51:38 PM UTC+3, b2z wrote:
> Ok, but cant guarantee that could make it in nearest days.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Mashal Ahmad <mashalahmadb... @gmail.com>
Date: Tue, 11 Sep 2012 10:30:32 +0500
Local: Tues, Sep 11 2012 1:30 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
yep i figured out it yesterday and it works thanx alot btw
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
b2z <bzzj... @gmail.com>
Date: Tue, 11 Sep 2012 08:36:32 -0700 (PDT)
Local: Tues, Sep 11 2012 11:36 am
Subject: Re: [jgen] joomla MVC compoent for suporting two tables in joomla 2.5
You must
Sign in before you can post messages.
You do not have the permission required to post.