Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1477543

    Hi
    how can i switch from standard editor to ALB for many posts?
    In bulk!

    There must be at least a way to do it via the database or php in the function.php.

    regards
    marcus

    #1477587

    Hey MarcusJeroch,
    We don’t have a PHP snippet for this, but this has worked well in the past:

    Best regards,
    Mike

    #1477692

    Hi
    Its not about getting a new page to start with ALB.
    It is about “how can i switch from standard editor to ALB for many posts?
    In bulk!”

    We are talking about switching posts which are already existing

    marcus

    PS: The link you provided does not even show the initial question.
    How can i tell if it might help if there isnt any context?

    #1477696

    Hi,
    The script will work on already existing pages, not just new pages, this is the only way we have.
    Otherwise you can choose the ALB option and save the page as you edit each page in the future, this is how the script works.

    Best regards,
    Mike

    #1477860

    The information if a page is ALB or standard must be stored somewhere.
    Where?

    marcus

    #1477925

    Hi,
    I miss read your first post,
    I see now that you want to convert, standard editor pages into the ALB.
    If you try to convert standard editor pages into the ALB you will have errors, pages can not be automatically converted.

    To answer your question it is stored at _posts > post_type > avia_framework_post
    I recommend that you not do this.

    Best regards,
    Mike

    #1478050

    Hi
    “To answer your question it is stored at _posts > post_type > avia_framework_post”
    So it is stored in the database.
    To alter it with an SQL query/statement i need to know:
    1: What is the string i need to look for? Is it “avia_framework_post”??
    2: What is the string i need to convert to?

    “If you try to convert standard editor pages into the ALB you will have errors, pages can not be automatically converted.”
    Why?

    regards
    marcus

    #1478076

    Hi,

    This is possible, but it will require modifications beyond the scope of support. Please note that pages/posts using the ALB also require these custom fields:

    _aviaLayoutBuilder_active
    _aviaLayoutBuilderCleanData
    _avia_builder_shortcode_tree
    _avia_sc_parser_state
    _av_alb_posts_elements_state
    _av_el_mgr_version

    These entries will not be generated without manually switching to the Advance Layout Builder.

    Best regards,
    Ismael

    #1478108

    Hi
    what are the strings stored in the DB for both cases (ALB / standard)

    PS: I dont need support for it.
    I just need to know and you are the devs so you should know your system.
    Otherwise point me to the ducumentation
    Thankx
    marcus

    #1478193

    Hi,

    The entries should have the following values, but they could differ depending on the content of the page. As mentioned above, you have to manually switch to the Advanced Layout Builder and update the page in order to generate these entries correctly. Do not add these entries manually to your database if you’re not sure what they do. If you need further assistance, please consider hiring a freelance developer or contacting our partner, Codeable.

    https://kriesi.at/contact/customization

    _aviaLayoutBuilder_active – active

    _aviaLayoutBuilderCleanData – [av_custom_layout link='alb_custom_layout,3385' av_uid='av-m7mv5xmb' sc_version='1.0']

    _avia_builder_shortcode_tree – a:22:{i:0;a:3:{s:3:”tag”;s:16:”av_custom_layout”;s:7:”content”;a:0:{}s:5:”index”;i:0;}i:1;a:3: … incomplete

    _av_alb_posts_elements_state – a:23:{s:11:”av_icongrid”;b:1;s:12:”av_one_third”;b:1;s:12:”av_one_fifth”;b:1;s:16:”av_custom_layout”;b:1;s:13:”av_layout_row”;b:1;s:17:”av_cell_one_third”; … incomplete

    Best regards,
    Ismael

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