editor

Support MB Views editor

  • This topic has 15 replies, 2 voices, and was last updated 1 year ago by PeterPeter.
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #45058
    lambert bernardlambert bernard
    Participant

    Hi
    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 ?
    regards

    #45064
    PeterPeter
    Moderator

    Hello,

    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/

    #45069
    lambert bernardlambert bernard
    Participant

    hi
    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
    regards

    #45087
    PeterPeter
    Moderator

    Hello,

    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/

    #45106
    lambert bernardlambert bernard
    Participant

    first 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 ??
    best

    #45120
    PeterPeter
    Moderator

    Hello,

    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.

    #45121
    lambert bernardlambert bernard
    Participant

    stop
    it is a conversation at cross purposes
    best

    #45122
    lambert bernardlambert bernard
    Participant

    at 7:46 it insert php code: <div = ..

    https://youtu.be/4udvu8PqfkE

    HOW does this ? with a keyboard key ? an extension for the editor

    #45126
    PeterPeter
    Moderator

    Hello,

    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.

    #45128
    lambert bernardlambert bernard
    Participant

    Hi 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 !

    #45139
    PeterPeter
    Moderator

    Can 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.

    #45156
    lambert bernardlambert bernard
    Participant

    Please , normaly it is ok

    #45157
    lambert bernardlambert bernard
    Participant

    Google drive

    #45179
    PeterPeter
    Moderator

    Hello,

    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_link

    #45181
    lambert bernardlambert 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

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.