K
K
krontill2014-06-28 12:38:11
MODX
krontill, 2014-06-28 12:38:11

How to make a personal account in the front-end in modx revolution?

Hello. There is a site getnewcar.ru/ made on modx revolution.
You need to create a personal account for mechanics.
After registration, they go to their personal account and there they should see their information and their completed work.
It will have data editing - all the fields on this page:
getnewcar.ru/mechanics/grigory-sengapov/ i.e., full name, about the specialist, services, price, be able to upload your photos.
In the admin panel, this is done by tv fields for the mechanic template.
Plus should be able to add completed work and fill in the fields title of work, task, done, client, add photos.
In the admin panel, this is done by tv fields for the work done template.
The number of completed works is considered as child documents of the mechanic.
Prototypes: www.dropbox.com/sh/vgbnv5x9tsk9qrd/AACYQI5QfEC0Tdq5VdzdnzDKa
How can I display all these fields in my personal account in the front-end?
Please advise how to make such a personal account.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alvisX, 2014-06-30
@alvisX

If your mechanic parameters are organized by TV-fields, then mechanics, respectively, are resources. It seems to me that this is the wrong approach. Mechanics should be made users (by the standard MODX mechanism), create an additional table in the database with additional fields (about the specialist, services, price, etc.) and join it to the users table. Completed works are already resources linked to users.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question