editor
- This topic has 15 replies, 2 voices, and was last updated 1 year ago by
Peter.
-
AuthorPosts
-
March 29, 2024 at 2:13 PM #45058
lambert bernard
ParticipantHi
on video you use editor to insert php code in the windows. How do you do for that. is a spécial extension for the editor ?
regardsMarch 30, 2024 at 10:07 AM #45064Peter
ModeratorHello,
It's a code editor that allows you to add and execute the code in a specific template. Please follow the documentation step by step to use the View editor
https://docs.metabox.io/extensions/mb-views/March 30, 2024 at 2:03 PM #45069lambert bernard
Participanthi
I ma not clear ! I saw this and i see you edit the code , and a extension ?? help you to write php with syntax, incremential ;
i don't have this feature !! and i want to know how i can have this
regardsApril 1, 2024 at 7:28 PM #45087Peter
ModeratorHello,
Can you please share screenshots of the Meta Box menu in the admin area and the page Meta Box > Extensions?
If you use the plugin Meta Box AIO, please follow the documentation to enable extension MB Views.
https://docs.metabox.io/extensions/meta-box-aio/April 2, 2024 at 1:59 PM #45106lambert bernard
Participantfirst i can't put screen shot ??!! img is a link and i i dont know where i can put image
second i think you don't understand with my poor english.
I have the view module , i use the editor but you show in the video it is possible to call php function with incremential.
I just ask how you do that. fo myself in the editor I can't call the php function event with tab touch or other F1 give me keybord touch, F3 ??
bestApril 2, 2024 at 11:20 PM #45120Peter
ModeratorHello,
1. You can add the image link directly to your reply.
2. Calling the PHP function in the View editor is noted in the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions
you can use the proxy
mb.
to call it. Note: the PHP function should return a value to use in the View editor.April 3, 2024 at 12:23 AM #45121lambert bernard
Participantstop
it is a conversation at cross purposes
bestApril 3, 2024 at 2:51 PM #45122lambert bernard
Participantat 7:46 it insert php code: <div = ..
HOW does this ? with a keyboard key ? an extension for the editor
April 3, 2024 at 9:19 PM #45126Peter
ModeratorHello,
It's the HTML code, not PHP code and not an extension for the editor. You can type it directly from the keyboard.
<div class="abc-def">
If you are not familiar with coding, I recommend you take some basic courses to understand and use Meta Box extensions https://www.w3schools.com/
Or hire an expert developer to help you do your project.
April 3, 2024 at 9:48 PM #45128lambert bernard
ParticipantHi sorry i am tired i was talking about html
but i said for example on my PC i use blue-griffon to do that and when i write a code , as in the video , i have a list of item and automaticaly the balise first and end
an I don't have this capacity in the meta editor and i am looking for that !April 4, 2024 at 8:21 PM #45139Peter
ModeratorCan you please share a screen record of the issue on your end? You can upload the video to Google Drive and share the URL here.
April 6, 2024 at 4:00 PM #45156lambert bernard
ParticipantApril 6, 2024 at 4:01 PM #45157lambert bernard
ParticipantApril 9, 2024 at 9:02 PM #45179Peter
ModeratorHello,
I don't see any issue according to your screen record. It's just the code suggestion to complete or close the HTML tag. You can simply type it manually.
The new version of the View editor might be a little bit different from the old one. Here is the screen record on my end https://drive.google.com/file/d/1kIWmdme1mJGpydJ9bPViOu9lTmXBRFRl/view?usp=drive_linkApril 9, 2024 at 10:04 PM #45181lambert bernard
Participant<It's just the code suggestion to complete or close the HTML tag. You can simply type it manually.>
That's the problem, i did'nt get any suggestion I type and nothing .
is new version of view editor available ?
Best -
AuthorPosts
- You must be logged in to reply to this topic.