Forums

How to EDIT DATA_RECORD

jan 29 Nov, 2008
hELO,

im new in chronoconnectivity, i just want to edit my data but when i click edit nothings happen it only a blank screen has shown. IS there someone has a code? Tnx

Jan
Max_admin 29 Nov, 2008
Hi Jan,

the code depends on your table and how do you want it to look so you need to make it, you need to put this code in the frontend permissions tab, the frontend edit template code box!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jan 29 Nov, 2008
Helo Max

What i want is, in my connectivity if im going to click the edit option, all the data will be editable like for example if i have a data field name like, name, address, gender,birtdate,telephone. then it happens that i misspelled my name so i want to changed it, so how im goint to do this? i hope you get what i mean. tnx.

jan
Max_admin 30 Nov, 2008
Hi jan,

all depends on your table fields names, give me some fields names from the table you are connected to.

e.g: you table has 3 fields : id,name,hits, so your edit code can be :

<input type="hidden" name="id">
<input type="text" name="name">
<input type="text" name="hits">



Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jan 01 Dec, 2008
Helo Max

ok heres my sample table fields name, ID,FirstName,LastName,Gender,BirthDate,Addressline1,addressline2,City,Zipcode and more. So how im going to do that, and where im going to put the code?
thnx so much

jan
Max_admin 01 Dec, 2008
ok, replace my 3 fields names in the code above with some of your fields names and add it in the "frontend edit template" and set the permissions and add some text for the edit link in the general tab too, and save!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jan 02 Dec, 2008
Helo Max,


I follow your codes, i replace your codes but sad to say nothings happen. It ddnt give me a result

jan
Max_admin 02 Dec, 2008
show me screenshots for your frontend and general tabs!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jan 03 Dec, 2008
Helo Max,

Here is my screen shot:
Max_admin 04 Dec, 2008
Good, you didn't set permissions for the edit!!

I need to see the bottom area of the general tab as well!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
b1naryc0de 21 Jan, 2009
Thank you Payne.. You answered my question on how to make data editable on frontend.. I couldn't find it in tutorial..

This thread seems hang.. So I decided to give some basic tips for new chrono connectivity user..

What jan miss is, he did not put any code in 'body' under 'general tab' and maybe he also not entered any text in 'edit link code' under 'general tab'.. Other things he miss is to select 'Editors user Groups' under 'front permissions tab'..

Here I give a sample for this matter..
In 'header' under 'general tab':
<h3>Employer Data</h3>
<table>
<tr>
<td>Company</td>
<td>Contact Person</td>
<td></td>
</tr>


in 'body' under 'general tab':
<tr>
<td>{company_name}</td>
<td>{contact_person}</td>
<td>{edit_record}</td>
</tr>


in 'footer' under 'general tab':
</table>
{pagination}


in ''edit link code' under 'general tab':
edit

in 'record edit template' under 'front permission':
<table>
  <tr>
    <td>Company:</td><td><input type="text" name="company_name" size="50" value=""></td>
  </tr>
  <tr>
    <td>Contact Person:</td><td><input type="text" name="contact_person" size="50" value=""></td>
  </tr>
</table>
<input type="hidden" name="id" value="">



Thank you chronoengine for creating this great flexible joomla components! But I hope you will update your tutorial.. 😀
Max_admin 21 Jan, 2009
Thank you for the great tutorial! we WILL update the tutorial, just waiting to get some free time because I'm busy with Chronoforms!🙂

Best 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.