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 Component Development in 2.5 version
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
  3 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
 
Prashant Sudeep  
View profile  
 More options Jul 30 2012, 6:34 am
From: Prashant Sudeep <prashant.sudee...@gmail.com>
Date: Mon, 30 Jul 2012 03:34:32 -0700 (PDT)
Local: Mon, Jul 30 2012 6:34 am
Subject: Joomla Component Development in 2.5 version

I am trying to build a component in Joomla 2.5
I have to 2 tabs Items and Categories
I have created 5 categories.

What I want is whenever I create a new item I want all 5 categories to be selected

How do save all catid to that particular item.??

Whenever I select ]multiple=multiple in xml form, and Submit the form, catid is set to zero.
<field
name="catid"
multiple="multiple"
type="category">
<option value="0">JOPTION_SELECT_CATEGORY</option>
</field>
How do I achieve that?

Secondly where is code to insert catid values in db.
protected function loadFormData()
{
// Check the session for previously entered form data.
$data = JFactory::getApplication()->getUserState('com_xyz.edit.xyz.data', array());
if (empty($data))
{
$data = $this->getItem();

}

print_r($data);
return $data;

}

Can any help me???

Regards
Prashant


 
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.
Elin Waring  
View profile  
 More options Jul 30 2012, 1:56 pm
From: Elin Waring <elin.war...@gmail.com>
Date: Mon, 30 Jul 2012 10:56:49 -0700 (PDT)
Local: Mon, Jul 30 2012 1:56 pm
Subject: Re: Joomla Component Development in 2.5 version

Hi Prashant,

You will get much better advice by posting on the general development list.
This list is for talking about developing the Joomla platform not building
applications.

https://groups.google.com/forum/?fromgroups#!forum/joomla-dev-general

Elin


 
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.
Prashant Sudeep  
View profile  
 More options Jul 31 2012, 2:13 am
From: Prashant Sudeep <prashant.sudee...@gmail.com>
Date: Tue, 31 Jul 2012 11:43:44 +0530
Local: Tues, Jul 31 2012 2:13 am
Subject: Re: [jplatform] Re: Joomla Component Development in 2.5 version

thanks a lot Elin


 
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 »