Hello,
I am just now trying out ChronoConn., after seeing what a great extension the ChronoForms and ChronoComments are.. I couldn't wait! What a powerful set of tools!
Anyway, on to the question.. I am just trying to put together a test connection, that shows all the articles in a specific section.. from within the jos_content table.
In the admin Data View, my Data View Field names are: title,sectionid,catid,created and my Data View Column Titles are: Title, Section, Category, Created
Those work fine and display correctly.. but, in my Data View it shows ALL articles from all sections..
Here is my Record Edit Template:
The other problem I'm running into is that I cannot view/change the category from the option drop down within this template.. it's an empty drop down. The 'Published' drop down displays.. though it does nothing to change the published/unpublished status of the article.
So, to wrap it up, can any help me to:
1) Only show articles from sectionid '5' within the Data View screen
2) Show the category within the Edit Record View and allow me to change the category
3) Correct the Published drop down to make it functional.
Any help is greatly appreciated !!
Thank you!
I am just now trying out ChronoConn., after seeing what a great extension the ChronoForms and ChronoComments are.. I couldn't wait! What a powerful set of tools!
Anyway, on to the question.. I am just trying to put together a test connection, that shows all the articles in a specific section.. from within the jos_content table.
In the admin Data View, my Data View Field names are: title,sectionid,catid,created and my Data View Column Titles are: Title, Section, Category, Created
Those work fine and display correctly.. but, in my Data View it shows ALL articles from all sections..
Here is my Record Edit Template:
<?php
$editor =& JFactory::getEditor();
?>
<table>
<tr>
<td>Title:</td><td><input type="text" name="title" size="100" value=""></td>
</tr>
<tr>
<td>IntroText:</td><td><?php echo $editor->display( 'introtext', '' , '100%', '350', '75', '20', false ) ; ?></td>
</tr>
<tr>
<td>MainText:</td><td><?php echo $editor->display( 'maintext', '' , '100%', '350', '75', '20', false ) ; ?></td>
</tr>
<tr>
<td>published:</td><td>
<select name="published">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</td>
</tr>
<tr>
<td>Category:</td><td>
<select name="cid">
<?php
$database->setQuery( "SELECT * FROM #_chronoforms_RSVP-mens-life-group" );
$categories = $database->loadObjectList();
foreach($categories as $category){
?>
<option value="<?php echo $category->id; ?>"><?php echo $category->title; ?></option>
<?php } ?>
</select>
</td>
</tr>
</table>
<input type="hidden" name="id" value="">
The other problem I'm running into is that I cannot view/change the category from the option drop down within this template.. it's an empty drop down. The 'Published' drop down displays.. though it does nothing to change the published/unpublished status of the article.
So, to wrap it up, can any help me to:
1) Only show articles from sectionid '5' within the Data View screen
2) Show the category within the Edit Record View and allow me to change the category
3) Correct the Published drop down to make it functional.
Any help is greatly appreciated !!
Thank you!