M
M
Mikhail Shatilov2014-01-02 14:54:41
PHP
Mikhail Shatilov, 2014-01-02 14:54:41

Is the method of completing the task of creating a page on Bitrix correct?

There is a site on Bitrix, you need to make a new page (1) in the user's personal account, where a list of phone numbers of the client's acquaintances will be displayed with the ability to edit and add. js will be used. Possibly ajax too.
How did I decide to complete the task? Create a page in the catalog, call a component (complex?) in it, in which to organize the work.
I'm new to Bitrix and I'm not sure what exactly the component should be used, perhaps I need to implement it differently?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
may-cat, 2014-01-02
@may-cat

The logic of Bitrix implies the use of components . Sometimes, even where it is redundant.
Depending on the problem statement, the described functionality can be solved both with a self-written complex component and with a standard one.
I will touch on the second option (because, despite its redundancy, it saves time, and time is money). If the client can freely edit the specified list and no one tells him what to store in this "table", I would recommend using the bitrix:iblock.element.add complex component . Or, as an option, take this component as a basis and cut it.

D
Denis Didenko, 2014-01-06
@Diden05

In fact, you need 2 simple components, one is adding / editing / deleting a phone (you can just use bitrix:iblock.element.add), the second is just an output, you can even use bitrix:news with a customized template.
Those. in fact, you get two pages (php files), in one output, in the other editing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question