link on the list to the single record form (CC V4)

bighen 14 Mar, 2012
Hi,

ChronoConnectivity V4 R1

Quite basic thing:
The front-end list of the records with the hyperlink on one of the fields.
The body of the custom view contains:


<tr>
<td>{id}</td>
<td><a href="index.php?option=com_chronoforms&id={id}&chronoform=szkola">{nazwa}</a></td>
</tr>

So {nazwa} is the link to open form 'szkola' passing the record id in URL.
The {id} in the first cell is ok, but {id} in reference is with long underscore so
the final url is like:
.../index.php/en/component/chronoforms/?id=_____________________1__________________&chronoform=szkola

???
Anyone to explain?
I know V2 r3.2 is much more stable but I've got some CF V4 forms used and have to use
CC V4 ...

Henryk
Max_admin 14 Mar, 2012
Hi bighen,

CC V4 is better! however, I'm still adding some stuff, a help tab is supposed to be available in the new release(hopefully this week) which should explain the basic stuff.

In order to have some field linkable to an "Edit" view, you will have to:

1- have a data view list of fields, pay attention to the Models IDs.

2- add one of these fields to the "Editable fields" box.

3- you should also have a form selected.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bighen 14 Mar, 2012
Thanks for your help.
However I'm still interested in 'Custom Listing' not only in Auto Listing.
Custom means freedom of formatting output table.

So is there any way to create proper hyperlink including the value of one of the fields?

Looking for next release
With 'big' Thank You for your work
With best regards
Henryk
Max_admin 15 Mar, 2012
Hi Henryk,

You can get the data of any of your fields in the "body" section using this:
{field_name}


but if you have a model id it should be:
{MODEL_ID.field_name}


To have an "Edit" view link, you can use:
index.php?option=com_chronoconnectivity&chronoconnection=CONNECTION_NAME&task=edit_data&cb={ID}


but the regular use would be to have the field defined in the "Editable fields" box and then using it in the body {editable_field_name} would simply output the field value inside an edit link.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.