jimie VIP
Total posts: 531
28 Апр 2014 08:38

Hello Sergey

Can you help me with the php code needed to display on the "Add new" button of a parent field or to grab the link corresponding to that button ?

rgds

Последние изменения: 02 Сен 2021


Sergey
Total posts: 13,748
28 Апр 2014 13:37

Why do not you just copy that link in HTML source?


jimie VIP
Total posts: 531
28 Апр 2014 13:50

Because doing that it will simply put the same link for all article.. and that`s not oky


Sergey
Total posts: 13,748
28 Апр 2014 14:01

Change parent_id parameter there.

  1. Look the link
  2. Craete a link with the same parameter and but values you need.
  3. Put it through JRoute

jimie VIP
Total posts: 531
28 Апр 2014 14:21

Thanks a lot Sergey, that did it, yeeee ! :)

Работает на Cobalt