Hi,
I don't know if it's an issue but when I display a value (in an element page) from an linked entity (dropdown ajax list) with a title from auto-increase field, it just displays the number and not the prefix before. And by the way, in this dropdown ajax list field I need to add a model for the title with the id of the auto-increase field for showing the prefix, because without that, it just shows only the number in the form.
Let me know if it's confused and I will take some snapshot.
Thanks
[SOLVED] Displaying auto-increase in an element page (but no prefix)
[SOLVED] Displaying auto-increase in an element page (but no prefix)
Last edited by Didou12 on 14 Mar 2023, 07:46, edited 1 time in total.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6216
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Displaying auto-increase in an element page (but no prefix)
Not clear what do you mean. Please provide some screenshots.
Re: Displaying auto-increase in an element page (but no prefix)
Here is the demo :
https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866
test.admin
admin
You can see the prefix doesn't show up, just the increased number (field "link with item")
In Item, it's field "auto-increase"
And for adding, in the dropdown list I need to add a model (see pictures).
https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866
test.admin
admin
You can see the prefix doesn't show up, just the increased number (field "link with item")
In Item, it's field "auto-increase"
And for adding, in the dropdown list I need to add a model (see pictures).
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6216
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Displaying auto-increase in an element page (but no prefix)
You configured Heading in dropdown, but selected value uses Heading field that setup in Entity.
Just setup field 215 as heading for this entity.
Just setup field 215 as heading for this entity.
Re: Displaying auto-increase in an element page (but no prefix)
It's already the case, that's why I think it's a bug. hihih Sorry I didn't mention it in my last message.
Same at the top of the page of the element, name is just number (without prefix).
Same at the top of the page of the element, name is just number (without prefix).
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Re: Displaying auto-increase in an element page (but no prefix)
Hi Sergey,
Any update about that ?
Have a good weekend,
Any update about that ?
Have a good weekend,
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6216
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Displaying auto-increase in an element page (but no prefix)
Ok, I see. File from archive replace to includes\classes\items\
- Attachments
-
- items.zip
- (10.73 KiB) Downloaded 188 times
Re: Displaying auto-increase in an element page (but no prefix)
It's perfect
thank you
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)