Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter GDY

    (@grandy)

    @reelism Well then … glad i could help ??

    Thread Starter GDY

    (@grandy)

    @reelism Actually it wasn’t meant to be mean at all. A review is a representation of a users subjective opinion of something … and i decided to rather code my own solution or look for an alternative than using this plugin … heres why:

    Many plugins create very flippantly (don’t know if this is the best word for that) top level admin menu items even though many of those settings would be better placed as sub menu item under settings or even as section inside existing settings menu items … Thats absolutely ok if the plugin is very big like for example WooCommerce … but for features as small as adding media categories i don’t expect a top level menu item to be added. That just leads to a total overloaded admin and is absolutely uneccesary.

    I actually dislike this so much that i thought about giving only one star but after all the plugin does what its states so that would have been a bit harsh.

    A 3 stars review means – at least for me – that it does what you would expect, nothing good nothing bad … so 2 stars seems reasonable for me in this case.

    Plugin Author GDY

    (@grandy)

    Hey steffkap24,

    i’ve just published version 1.5 of the WC Gift Packaging plugin. After the update you should find the setting under Woocommerce > Settings > General > WC Gift Packaging.

    Best regards GDY

    Plugin Author GDY

    (@grandy)

    Hey Matthijs,

    i’ve just published version 1.5 of the WC Gift Packaging plugin. After the update you should find the setting under Woocommerce > Settings > General > WC Gift Packaging.

    Best regards GDY

    Plugin Author GDY

    (@grandy)

    Hey steffkap24,

    yeah this section is lost due to changes in the WooCommere API. I try to dig into that problem as soon as im able to.

    Plugin Author GDY

    (@grandy)

    Hey Matthijs,

    thanks for the information. I can confirm that this is a bug in the plugin most likely due to changes in the WooCommerce API. I have a look and try to fix that ASAP.

    Plugin Author GDY

    (@grandy)

    Hey @bananajoexp sorry for broken documentation link. Seems like the doc will not become a reality in the near future – so i try to be detailed in this answer.

    Installation
    This plugin is kind of a development framework. It tries to deliver a pretty tailored editing experience and not to bloat your backend with tons of stuff that you don’t need or that editors can use to break the website … for this some initial setup is needed that normally have to be done by an developer.

    1. Install and activate the plugin
    2. Add a module area by using the [gdymc_area] shortcode in the post content or better adding the gdymc_area() function in your theme. Module areas are restricted to posts and terms (posts, pages, attachments, categories, custom post types …). It is only possible to create one module area per object (post or term).
    3. Create the modules folder ./wp-content/modules/ or use the gdymc_modules_folder filter to set a different path (for example in you themes folder)
    4. Create some content modules (more on that later)
    5. You can now edit in the frontend of your page (as logged admin or editor role)

    Creating a module
    The core part of GDYMC is that you can build your content out of different modules (kinda similar to gutenberg blocks but much easier to create but more powerful if it is needed). A content module can be as simple as just a HTML snippet or contain scripts, styles and php code that not just alter the module but also the website itself (wp hooks).

    To create a module create a index.php inside a new folder inside your modules folder … for example ./wp-content/modules/my-module-name/index.php.

    Inside this index.php you can work pretty much like in any other theme file. In addition to that you can use editable contents (more on that later).

    It is also possible to add a functions.php inside you module folder that is loaded pretty much the same than the themes functions.php. In that functions.php you can enqueue scripts or styles or adjust the website using WordPress hooks.

    Editable contents
    As mentioned earlier GDYMC is kind of a development framework. On of the functions delivered are editable contents. Inside your theme (post or term) or module you can use the contentCreate( $contentKey, $contentType = 'text', $contentOption = null ) function to create different editable contents.

    Parameters
    $contentKey
    Is used to identify the content inside the current instance (theme or module).

    $contentType
    To create different contents: text, image, gallery, table

    $contentOption
    Adjust the created content based on the content type

    Examples

    <?php contentCreate( 'headline', 'text' ); ?>
    <?php contentCreate( 'thumb', 'image', '400x300' ); ?>
    <?php contentCreate( 'showcase', 'gallery', 'autoxauto' ); ?>
    <?php contentCreate( 'infos', 'table', '5x3' ); ?>

    Hope that gives you a starting point. Best regards GDY

    • This reply was modified 5 years, 10 months ago by GDY.
    • This reply was modified 5 years, 10 months ago by GDY.

    @jonathandejong that would be great. Thanks for answering i am going to try that tomorrow and let you know if that was the problem.

    Also the copy post content button seem to do absolutely nothing when a error is triggered right away. Makes sense because the post content ist empty but why is this button then shown anyway …

    I’ve create a fresh installation with twentynineteen and no plugins and got a similar error as soon as the editor opens. No matter if it is a existing page or post or a new one …

    TypeError: Cannot read property ‘core/paragraph’ of undefined

    Thread Starter GDY

    (@grandy)

    Especially the encoded ampersand … its simply impossible.

    Have the same problem here. Fun part is that all the buttons that are shown aside this message don’t do anything … furthermore it is not possible to get to your content anymore. It seems like the new WordPress is highly dangerous in this regard because it is not easily possible to restore these corrupted contents.

    I’ve installed the classic editor plugin an it works again but it leaves me speechless that a modern content management system rejects your contents on first occurence of a problem.

    • This reply was modified 5 years, 11 months ago by GDY.
    Thread Starter GDY

    (@grandy)

    Hi Johann,

    great to hear that ?? … let me know if you need some help or a tester to fasten things up ??

    Have a nice Weekend

    Grü?e

    • This reply was modified 6 years ago by GDY.

    +1 I have the same problem. Just stick to the defaults and don’t show any icons there. Thats just unnecessary fancyness over the top.

    Plugin Author GDY

    (@grandy)

    Ok. So i’ve just released version 1.1 wich allows you to do simply this:

    add_filter( 'wc_gift_packaging_field_hook', 'custom_hook_position' );
    
    function custom_hook_position( $hook ) {
    
        return 'woocommerce_review_order_before_submit';
    
    }

    I think you need woocommerce_review_order_before_submit or woocommerce_review_order_after_submit. Check out more possible hooks at this page.

    • This reply was modified 7 years, 11 months ago by GDY.
Viewing 15 replies - 1 through 15 (of 26 total)