(Dutch) help wanted for making content

casperb71 02 Jun, 2010
Hi I'm new and try to make a form to create content. The start (from the example) is ok and the normal fields I find back in the content and the d-base. I'm having trouble with the validation of the select boxes. Example: I have a selection of red, blue and green (sections). In the d-base the sections are having numbers. How do I make the connection of the sections with these numbers.

For the Dutch members: "Is er iemand die mij hiermee een beetje op gang kan helpen?
GreyHead 02 Jun, 2010
Hi casperb71,

If you are trying to use ChronoForms to create Joomla articles then you should take a look at the submit content form from the Downloads area here.

The usual way of linking select-boxes to numbers is to set the values of the options to the numbers.

Bob
casperb71 03 Jun, 2010
Thanks for your answer and I think I understand it not enough. I made a testform on http://www.bedrijfsopvangteam.nl/index.php?option=com_chronocontact&Itemid=58
I validated the select box "section" and select box "category". I named the fields correct like the d-base required. I made a Table and made the selections green.

When I fill in the form, there is content with a title, fulltekst and thats it.
No section, no category and the article is disabled.
GreyHead 05 Jun, 2010
Hi casperb71,

The values of the Options for Section and Category probably need to match the IDs that Joomla is using.

You may find it useful to get someone who knows more about how Joomla works to help you with this.

Bob
casperb71 05 Jun, 2010
Hi GreyHead. Tnx for the answer but my knowledge of Joomla is sufficient.
It is not clear why Chronoforms only takeover in the D-base the normal text fields and not the boxes. I think it has to di with the configuration from the boxes in Chronoform. So I ask again how to configure the boxes value? With regards. ps is it not possible to upload a file in these Forum?
casperb71 06 Jun, 2010
When I create the table and after make the selections green, there is the following message:

Error while creating table :Table 'jos_content' already exists SQL=CREATE TABLE `jos_content` (`cf_id` INT(11) NOT NULL auto_increment, `uid` VARCHAR(255) NOT NULL, `recordtime` VARCHAR(255) NOT NULL, `ipaddress` VARCHAR(255) NOT NULL, `cf_user_id` VARCHAR(255) NOT NULL, `title` VARCHAR(255) NOT NULL, `fulltext` VARCHAR(255) NOT NULL, `sectionid` VARCHAR(255) NOT NULL, `catid` VARCHAR(255) NOT NULL, PRIMARY KEY (`cf_id`)) ENGINE = MYISAM ;

I think that hasse to do with the valuation problem I have.

Could anyone please help me?
GreyHead 06 Jun, 2010
Hi casperb71,

The message "Error while creating table :Table 'jos_content' already exists" is correct. 'jos_content' is a core Joomla table and you shouldn't be trying to mess with it :-( You may severely damage your site if you over-write or alter the Joomla core tables.

You may find it useful to get someone who knows more about how Joomla works to help you with this.

Bob
This topic is locked and no more replies can be posted.