I'm having a similar issue as the one in this post:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=17333&p=47973&hilit=joomla+default+template#p47973
Currently I'm using Chrono Connectivity to display a list of results from a Chrono Form and I've added a pagination, search, view, and edit links in my results. I hard coded the item id to display the view and edit links correctly:
However, when I submit a search form, or change my list display# in the pagination it goes back to the default template. I tried modifying the chronoconnectivity.php and chronoconnectivity.html.php files to hard code an Itemid into the urls but this didn't work. It seems like the problem is when a form is submitted it strips away the Itemid variable in the url to just:
Am I missing something? Where do I go so that my page template doesn't change or keep the url from being striped away of all my variables?
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=17333&p=47973&hilit=joomla+default+template#p47973
Currently I'm using Chrono Connectivity to display a list of results from a Chrono Form and I've added a pagination, search, view, and edit links in my results. I hard coded the item id to display the view and edit links correctly:
<?php
$id = $MyRow->staff_id;
$photo = $MyRow->photo;
$photo = JURI::Base().'components'.DS.'com_chronocontact'.DS.'uploads'.DS.'AddStaff'.DS.$photo;
?>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr<?php if ($i % 2) echo ' style="background-color: #EBEBEB;"';?>>
<td style="width: 5%;">{staff_id}</td>
<td style="width: 10%;"><a href='index.php?option=com_chronocontact&chronoformname=ViewStaff&staff_id=<?php echo $id; ?>&Itemid=275'><u>View Details</u></a><br />{edit_record}</td>
<td style="width: 10%;"><img width=50 height=50 src="<?php echo $photo; ?>"></td>
<td style="width: 15%;">{last_name}</td>
<td style="width: 15%;">{first_name}</td>
<td style="width: 15%;">{job_title}</td>
<td style="width: 15%;">{pri_phone}</td>
<td style="width: 15%;">{pri_email}</td>
<td style="width: 15%;">{recordtime}</td>
</tr>
</tbody>
</table>
<?php $i++ ?>
However, when I submit a search form, or change my list display# in the pagination it goes back to the default template. I tried modifying the chronoconnectivity.php and chronoconnectivity.html.php files to hard code an Itemid into the urls but this didn't work. It seems like the problem is when a form is submitted it strips away the Itemid variable in the url to just:
index.php?option=com_chronoconnectivity&connectionname=FormName
as opposed to index.php?option=com_chronoconnectivity&connectionname=FormName&Itemid=1
.Am I missing something? Where do I go so that my page template doesn't change or keep the url from being striped away of all my variables?