Related Topics
(0 votes) 3:15 am
July 1, 2017
OfflineHi, i need a simply solution how to write a customfield by php code, i need format data from custom field by low and upper case
So i think the best way will be a use custom php code line for example in custom field
we have
display_name->displayname
so in custom php code will be
$post['custom_fields']['displayname'] = ucfirst($post['custom_fields']['NEW_CUSTOM_FIELD']);
I don't know if i use a correct code i don't know php much tnx.
12:16 pm
July 1, 2017
OfflineNot exactly.
I would like to keep two value normal and with ucfirst
$post['custom_fields']['display_name'] = ucfirst($post['custom_fields']['display_name']);
and by this code (I add new custom field)
$post['custom_fields']['display_name'] = ucfirst($post['custom_fields']['NEW_DISPLAY_NAME']);
but this no working
btw how add a raw code on forum tnx
tnx
12:53 pm
July 1, 2017
OfflineWhen I do by this.
$post[‘custom_fields’][‘display_name’] = ucfirst($post[‘custom_fields’][‘NEW_DISPLAY_NAME’]);
I don't get nothing i main field display_name and also in NEW_DISPLAY_NAME
So maybe will be a reason to remove a
display_name->display_name
from custom field form in settins
but how to add this main directive by php tnx/.
Most Users Ever Online: 1026
Currently Online:
15 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 87
harboot: 75
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
tormodg: 53
Member Stats:
Guest Posters: 337
Members: 3285
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1753
Posts: 9040
Newest Members:
efimerisai.pm, bozorcode, clay89.duck, service.bummelwelt, cyberseopro.berschi, adam.connor.servicemaxAdministrators: CyberSEO: 4256

Log In
Home
All RSS