Forum Replies Created

Viewing 15 replies - 31 through 45 (of 102 total)
  • Thread Starter almcr

    (@almcr)

    I don’t imagine that there are a lot of us XPers out there, but it is doubtful that I am the only one. In that the other functions in Gutenberg seem to work ok, then I would need it proven to me that this particular function does not work in XP. When I can afford a new computer, then I will get one. Until then, this is what I have to play with.

    Should the ‘convert to blocks’ button link to some code to execute the ‘convert to blocks’ function? perhaps if I can show this, and there is some reason that this is not happening, then I can take corrective action.

    Where does a general user like me get support for gutenberg if needed? I and other users will run into problems like this and will need support to get this product working as it should, and right now I don’t see any general support forum out there for me. Something other that the support area for the plugin is needed.

    Al

    Thread Starter almcr

    (@almcr)

    browser is
    Chrome 49 or Firefox 52

    latest browser for XP: IE8 (never use this tho)

    Al

    • This reply was modified 6 years, 8 months ago by almcr.
    • This reply was modified 6 years, 8 months ago by almcr.
    Thread Starter almcr

    (@almcr)

    I am running
    Windows XP using XAMPP
    wordpress 4.9.7
    php 5.3.5
    gutenberg 3.3.0
    theme Atomic Blocks

    plugins active
    Atomic Blocks
    Classic Editor
    Display PHP Version
    Gutenberg
    Gutenberg Block Unit Test

    other functions seem to work in the Gutenberg editor as expected.

    I would expect the conversion to add the comments lines before and after the HTML element, and the third paragraph with an image within it to be converted to the figure HTML element.

    Al

    Thread Starter almcr

    (@almcr)

    Guido,

    That is true,
    I guess I did not expect that a page in Trash would meet that condition. Assumptions get you every time.

    Al

    Thread Starter almcr

    (@almcr)

    I did find out how to get the plugin working.

    In my initial testing of the plugin, I created a page called ‘Block Unit Test’. After that I realized that the plugin should create the page and not me manually. So I deleted it and it moved to Trash. Subsequent tests of the plugin just did not work as expected.

    Today I deleted the ‘Block Unit Test’ page from Trash. I then re-activated the plugin and found that it did indeed create a page called ‘Block Unit Test’ in Draft status. Logic in the plugin prevented the page from being created for me, one would assume that a page in trash would not be included in a test for a page already present. In this plugin, this seems not to be the case.

    Al

    Thread Starter almcr

    (@almcr)

    found the problem with the plugin??.

    I discovered that, when I initially set out to test this plugin, I created a page called Block Unit Test but in reading the documentation more carefully realized that the plugin creates the page, not I. So I deleted it and it went into Trash. Subsequent tests of the plugin still did not work, so finally today I deleted the page previously created that was in Trash. Then the plugin worked and creates the Block Unit Test page as expected.

    Logic in the plugin bypasses creation of the page if already present, I guess I assumed that if the page was in Trash that the already being present condition would not be met, bad assumption.

    Al

    Thread Starter almcr

    (@almcr)

    if I put this code into the plugin’s class-block-unit-test.php file at line 31

    //output some debug string
    error_log( ‘executing Block Unit Test code’ );

    then turning on debug mode does show that the plugin code is being executed, is there any way to show the ‘content’ of the page that is supposed to be created for me? which php line code creates the actual page to be created? is there any way for me to check that that code is being executed and why the page data is not being created correctly for me?

    still trying to figure out why this plugin is not working for me, and it does work for other users

    Al

    Thread Starter almcr

    (@almcr)

    that’s good Guido. I have no doubt that the plugin works, it is just that it does not work for me on my computer. I do not know why and have been trying to figure out why since I first installed the plugin. I tried it again not five minutes ago. I am using an old XP system with XAMPP, running php 5.3.5, wordpress 4.9.7.

    I looked at the code in the plugin and have extracted the code that the plugin generates and have put that into a page and have displayed the output. All of that works fine, it is just that no page is generated when I activate the plugin. The only way for me to get content out of the plugin is to copy and paste it.

    still searching for an answer

    Al

    Thread Starter almcr

    (@almcr)

    I did see that plugin. I downloaded it, activated it and have not figured out how to make it work yet. Rich states that it should create a Block Unit Test page, not for me, not sure why. Now I am using an old XP system with out-dated level of Chrome, perhaps that is why. Still working on that.

    Al

    Forum: Plugins
    In reply to: [Gutenberg] basic editting
    Thread Starter almcr

    (@almcr)

    in another post, I pointed out a link to an article on How to Test our Theme for Gutenberg. In the article, the person who posted it gives you an example of code in Gutenberg format for testing all of the Gutenberg blocks. This example shows that, yes, it is possible to create Gutenberg code externally and paste it into the Gutenberg editor using code editor mode.

    I have tested this and it does work OK.

    The catch in editing code externally is that it may prove difficult to write it in the proper Gutenberg format. If you do not do that, then editing your post/page with its external code using the Gutenberg editor may not work due to format errors.

    Al

    Thread Starter almcr

    (@almcr)

    // Set up the WordPress core custom background feature.
    add_theme_support( 'custom-background', apply_filters( 'handicraft_custom_background_args', array(
    'default-color' => 'ffffff',
    'default-image' => get_template_directory_uri() . '/assets/images/papertexture.jpg',
    ) ) );

    this is code from the theme handicraft functions.php file and is used to generate that css. didn’t realize this is what that did. this mystery solved, I am just a dabbler in wordpress, certainly not a professional, and like poking around and playing in the wordpress world.

    thanks Al

    Thread Starter almcr

    (@almcr)

    yes, this is what I want to be able to do.

    currently, I see only one option in which to do this, custom HTML, I believe. Not sure what the parent block is or how to use one, perhaps that is what will be available at some time. I assume that I could use that, depending on its usage.

    gutenberg seems to be a mystery box of tools which we will be required to use, whether we get any training on them or not, whether or not there is a users manual for it, although the option of using the Classic Editor is going to be available at initial release of 5.0. I have never used page builder software so this is a new ballgame for me. I learned HTML and CSS just after the table era so grew up with using raw HTML and CSS to do things. This was before I was introduced to wordpress, so no such thing as a page builder in use at that time either.

    Al

    Thread Starter almcr

    (@almcr)

    Here’s a link to some info on how to use gutenberg:

    gutenberg review

    Al

    • This reply was modified 6 years, 10 months ago by almcr. Reason: added info about post

    not sure why this would have been solved in 2.6.0, if the theme CSS has not changed, perhaps gutenberg in 2.6.0 included code to style that class?

    I think this points out one of the problems with using Gutenberg or any other page builder system. in gutenberg, when you add an image block and click on “align center”, all that gutenberg does with the image block is to add the class “aligncenter” to the image block code. it is then up to the theme code to process that class to actually center the image on the post or page. if the class “aligncenter” is not defined in the theme’s css, then the image will not be centered on the page or post when you are looking at it yourself. the image does not get centered by default or automatically.

    I doubt that either Weaver or twentysixteen have a class of aligncenter defined in their CSS code, so the image will not get centered as you would expect it to. somehow, you need to ensure that the CSS required to display your content matches that generated by gutenberg.

    Al

    is there a way to unfloat an image??

    I did it by editting the code, but perhaps this is not the best way

    Al

Viewing 15 replies - 31 through 45 (of 102 total)