• Resolved beheist

    (@beheist)


    Hi qTranslate-X authors,

    first of all thanks for your work on this plugin – I’ll be recommending it and I hope you keep up the development.
    I noticed that adding the <!–more–> or <!–nextpage–> tags seems to break the post editor if qTranslate-X is installed. Everything that comes after these tags is truncated and can’t be edited anymore, including the tags themselves. It is most likely a JeveScript error. I reproduced it on a fresh WP4.1 install by just installing qTranslate-X, then adding a post with a more tag in it. Could you please investigate? I’d be happy to help out or test if you’d like some support.

    Best regards,
    Bastian

Viewing 10 replies - 1 through 10 (of 10 total)
  • Great Bastian!
    Hope you join the team of qtranslate Slugs and qtranslate-X

    You’re support is much appreciated ??

    Thread Starter beheist

    (@beheist)

    Good Morning eirikv,

    sure, I’d be happy to support you guys. Is there a github page for qTranslate-X also or are you exclusively using SVN? I haven’t used that yet, so is there a similar mechanism to the pull requests in github, so I could make a contribution for you to review?

    Plugin Author John Clause

    (@johnclause)

    Hi @beheist, yes, github page is on the way, but not yet. Please, give us a couple of days. It is actually going to be https://github.com/qTranslate-X/qtranslate-x, but code is not there yet. Do you wish to help and finish setting it up? What do I need to do to enable you?

    Plugin Author John Clause

    (@johnclause)

    Sorry, @beheist, for my ignorance, but what do you use <!–more–> or <!–nextpage–> tags for? I saw some business about them in the code and I probably broke it. Did it work ok in original qTranslate? I will setup github soon. Thanks!

    Plugin Author John Clause

    (@johnclause)

    GitHub for qTranslate-X is now available:

    https://github.com/qTranslate-Team/qtranslate-x

    Thread Starter beheist

    (@beheist)

    Hi John,

    sorry for not replying earlier, I was on a business trip with little spare time.. the <!–more–> tag creates a mark for wordpress to add the “Read more” link in archive views. <!–nextpage–> allows you to paginate individual posts.
    I never tried qTranslate original, but since qTranslate-X separates the language versions of posts with similar comments, I assume something is going wrong there. I will take some time this weekend to investigate since you now have a github page available. Thanks so far!

    Plugin Author John Clause

    (@johnclause)

    Hi @beheist, please try 2.9.1. I changed js script to allow those tags, and it may be working for you now. Could you please, test? But there is probably more in php files to clean up. I did not look carefully enough, but it looks like the former qTranslate puts pagination tags outside of language text. I do not see a reason why that would be necessary, and I probably missed something. I am still not clear on that piece. I would appreciate if you take a look, since you apparently know better what is needed. I will not touch relevant pieces until you tell me. Thanks a lot!

    Thread Starter beheist

    (@beheist)

    Hi John,

    I tried it locally and the more and nextpage tags are working now – thanks for that!

    Also, I opened an issue on the github page to discuss whether we should include the slugs functionality in qtranslate-X altogether – please see here: https://github.com/qTranslate-Team/qtranslate-x/issues/1.

    Edit: Just found this post, so nevermind about the broken editor in Chrome – works again.

    First, I appreciate so much the effort that qTranslate-X team perform to expand and support such plugin. I have another issue according to <!–more–> tag.

    I use two languages in my blog: Spanish and English. Let us imagine that I put such tag in the first language editor field. When I preview it at the blog, I see it correctly and thus the text after tag is not showed. But when I change language to the second one, no text is displayed at all. I hope you understand the problem.

    Thank you for your attention.

    Best regards

    Plugin Author John Clause

    (@johnclause)

    try the latest version. thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘More and nextpage tags break the post editor’ is closed to new replies.