Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    You can rename all PHP classes and install it as a renamed version of the plugin.

    Or check this paid modification:
    “Multiple YMM on the same website”
    https://hottons.com/ymm_modifications

    It already contains a renamed version of the plugin.

    Stanislav

    Thread Starter user123user

    (@user123user)

    thank you for the quick answer i will definetly try it.

    if i add a modification for that issue, will the shortcode to get the results be diifferent?

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Yes the renamed copy uses a renamed shortcode like:
    [ymm2_selector template=”selector.php”]

    Stanislav

    Thread Starter user123user

    (@user123user)

    thank you for your answer we will try it

    Thread Starter user123user

    (@user123user)

    it worked i now have 2 plugins:
    ymm
    ymm2
    but i dont see ymm2 in my admin panel does this mean i didnt rename everything?

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Rename in all files:
    ymm to ymm44
    Ymm to Ymm44
    YMM to YMM44

    Rename folders:
    /Block/Adminhtml/Ymm44
    /Controller/Adminhtml/Ymm44
    /view/adminhtml/templates/ymm44
    /view/adminhtml/web/ymm44

    Rename the plugin folder and the main plugin files:
    ymm-search-44/ymm-search-44.php
    ymm-search-44/ymm44_ajax.php

    Then you should apply some corrections to make two plugins to not conflict with each other.
    You should contact me by email [email protected] to get the modified files.

    Stanislav

    Thread Starter user123user

    (@user123user)

    goodmorning i have renamed everthing and have installed the modified version and activated it works i can upload a csv.
    i have 2 different ymm search bars.

    but i cant export the data it wont work do you maybe know why?

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to enable WordPress debug logging by setting:
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );

    in the wp-config.php file.

    and then check if the log file:
    wp-content/debug.log

    contains any errors.

    Stanislav

    Thread Starter user123user

    (@user123user)

    this is the error im getting any idea?

    [22-Sep-2021 11:45:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Pektsekye_Ymm2_Block_Adminhtml_Ymm2_Selector::hasYmm2HData() in C:\xampp\htdocs\wpmodified\wp-content\plugins\ymm-search-2\view\adminhtml\templates\ymm2\selector.php:35
    Stack trace:
    #0 C:\xampp\htdocs\wpmodified\wp-content\plugins\ymm-search-2\Block\Adminhtml\Ymm2\Selector.php(24): include_once()
    #1 C:\xampp\htdocs\wpmodified\wp-includes\class-wp-hook.php(303): Pektsekye_Ymm2_Block_Adminhtml_Ymm2_Selector->page_init('')
    #2 C:\xampp\htdocs\wpmodified\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #3 C:\xampp\htdocs\wpmodified\wp-includes\plugin.php(470): WP_Hook->do_action(Array)
    #4 C:\xampp\htdocs\wpmodified\wp-admin\admin.php(259): do_action('toplevel_page_y...')
    #5 {main}
      thrown in C:\xampp\htdocs\wpmodified\wp-content\plugins\ymm-search-2\view\adminhtml\templates\ymm2\selector.php on line 35
    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to replace:
    hasYmm2HData

    with:
    hasYmm2Data

    in the file:
    C:\xampp\htdocs\wpmodified\wp-content\plugins\ymm-search-2\view\adminhtml\templates\ymm2\selector.php

    Stanislav

    Thread Starter user123user

    (@user123user)

    hello

    is this also possible to do with a already modified ymm plugin?

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Yes, it is possible to create a copy of a modified plugin.

    Stanislav

    Thread Starter user123user

    (@user123user)

    thanks it is working
    everything works just fine

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘is there a way to create 2 different search bars’ is closed to new replies.