at first thank you for this great component an this absolutely fantastic forum.
I hope that somebody could help me to create a "more-result" link in a CC-view. I know there are a few topics around that and I tried the code in this topic http://www.chronoengine.com/forums.html?cont=posts&f=12&t=12019, but I couldn't get it work.
I have the following codes in my CC "index.php?option=com_chronoconnectivity&connectionname=product"
Where SQL: .... search function...
Header
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<td style="font-weight: bold; width: 40%;">label</td>
<td style="font-weight: bold; width: 40%;">product</td>
<td style="font-weight: bold; width: 20%;">edit</td>
</tr>
</tbody>
</table>
Body
<table style="text-align: left; width: 100%;" border="0" cellpadding="4" cellspacing="0">
<tbody>
<tr<?php if ($i % 2) echo ' style="background-color: #D1EEEE;"';?>>
<td style="width: 40%;">{label}</td>
<td style="width: 40%;">{product}</td>
<td style="width: 20%;">{edit_record}</td>
</tr>
</tbody>
</table>
<?php $i++ ?>
Everything works fine.
Instead of the link "edit_record" I want to create a link that shows more details, like "no", "price" of the product from the second connection "index.php?option=com_chronoconnectivity&connectionname=product_detail" in a new window or the same window but not in a smooth-box.
Maybe someone could explain how do I have to change the following code. I couldn't figure out which things I have to change:
<p class="blocknumber">
<a class="smoothbox" name="#{cf_id}" href="#TB_inline?height=500=650&inlineId=cccontent_{cf_id}_box"
id="cccontent_{cf_id}">Ref. no.{cf_id}</a>
<div id="cccontent_{cf_id}_tip" style="display: none;">More info::</div>
<div id="cccontent_{cf_id}_box" style="display: none;">
<b><font color=#660099>ABOUT THE QUESTION</font></b><hr>
</div>
<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: 18%;">{select_2}</td>
<td style="width: 30%;">{text_3}</td>
<td style="width: 15%;">{text_14}</td>
<td style="width: 20%;">{select_5}</td>
</td>
</tr>
</tbody>
</table>
<?php $i++ ?>
After changing nearly everything in that code to names and ids that i found in my table I give up now. Am I on the wrong way with that code?
Tom
I hope you understand the problem, sorry for my not so perfect english.