Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
joomla MVC compoent for suporting two tables in joomla 2.5
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
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:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mashal Ahmad  
View profile  
 More options Sep 7 2012, 4:15 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b2z  
View profile  
 More options Sep 8 2012, 2:05 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mashal Ahmad  
View profile  
 More options Sep 8 2012, 3:03 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b2z  
View profile  
 More options Sep 8 2012, 11:17 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mashal Ahmad  
View profile  
 More options Sep 10 2012, 12:16 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mashal Ahmad  
View profile  
 More options Sep 10 2012, 12:18 am
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

  com_helloworld (10).zip
57K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mashal Ahmad  
View profile  
 More options Sep 10 2012, 12:32 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b2z  
View profile  
 More options Sep 10 2012, 11:51 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b2z  
View profile  
 More options Sep 10 2012, 1:56 pm
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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mashal Ahmad  
View profile  
 More options Sep 11 2012, 1:30 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b2z  
View profile  
 More options Sep 11 2012, 11:36 am
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 are welcome.

Dmitry.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »