WordPress.org

Ready to get started?Download WordPress

Forums

[Qtranslate, Advanced Custom Fields] Add extra wysiwyg for side column (6 posts)

  1. Marcus Forsberg
    Member
    Posted 1 year ago #

    Hey,

    I'm currently working on a client site running two different languages using qtranslate. I also use ACF for custom fields on different post types.

    The custom theme I've built is supposed to have one main content column for each page, as well as a side column. I *don't* want a sidebar with widgets in it, instead I need to add an extra WYSIWYG editor to each page where the client can add images and text in both languages.

    ACF allows me to add a WYSIWYG but it's *very* buggy (media library doesn't insert images, html/visual switch doesn't work) and of course doesn't support qTranslate. I can add a new metabox using qTranslate Extension but the client will be needing WYSIWYG, or at least a way to use the media library.

    Does anyone have any suggestions on this one? Would be great to get an answer ASAP.

    Also, while I'm at it, does anyone have any further tips on how to improve qTranslate's performance? I've already fixed that issue with the options being translated all the time which is a small improvement, but it's still * ridiculously* slow. Or is there a better, free, plugin available that I've missed?

  2. w_p_g
    Member
    Posted 1 year ago #

    Hello Marcus,

    For the ACF wysiwyg editor there's a discussion about it on the ACF website.

    http://www.advancedcustomfields.com/support/discussion/comment/5128#Comment_5128

    I hope they 'll find a solution to insert media in the ACF wysiwyg editor.

    G.

  3. Marcus Forsberg
    Member
    Posted 1 year ago #

    Hey, thanks for your reply

    I solved this using the Simple Fields plugin and some custom hacking of my own. The client has access now and we're awaiting the release date. :)

  4. MarcGuay
    Member
    Posted 1 year ago #

    I posted a fix for the insert media problem over here: http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=4&t=3436

  5. pawelpoz
    Member
    Posted 1 year ago #

    MarcGuay please explain how to use the patch? Where should I paste the code?

  6. bcworkz
    Member
    Posted 1 year ago #

    Apply a patch by saving the patch to a text file in the same folder as the base indicated in the patch file. On *nix systems just run in the terminal: patch < somename.patch
    Windows has programs such as Patch for Windows.

    You can manually apply short patches by finding the --- file listed in the patch, then working from the end of the patch file up, find the line numbers mentioned in the next up @@ line before the commas. The number after the commas have to do with the number of lines affected. Remove all lines marked with a - (minus) and insert lines marked with a + (plus). Leave any lines not so marked. When done, save it as the +++ file.

    Be sure to keep a clean copy of the original file because it's very easy to make a mistake applying patches manually, rendering the file unusable.

Topic Closed

This topic has been closed to new replies.

About this Topic