Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24731

    I would be nice if the “copy content” button would work on ajax portfolio items.

    Another thing with ajax. The link to the portfolio item only display half a picture. So I can’t link to a portfolio item from my blog as it won’t display it.

    Like this: http://greenforcecompany.dk/projekter/esbjerg-gods-as-100-kwp/

    #124525

    Hi,

    About the resized images


    Are you using some kind of a plugin to resize ? Since your image has a query string at the end attached that forces the image to resize. to 710×270

    http://i2.wp.com/greenforcecompany.dk/wp-content/uploads/2013/04/esbjerg_gods_01.jpg?resize=710%2C270

    This isn’t part of the theme or WPML.


    I just tried translating a portfolio item and saw no difference between translating ajax or regular portfolio items http://www.clipular.com/c?6478296741052416=hSy3o64XZBCKvJzcEwaDX3J9H_Q&f=.png

    Thanks,

    Nick


    WPML

    #124526

    No i dont have any resize tool or anything. I just added the pictures along with the preview text and that is pretty much it. You also see the project on the frontpage.

    When I click on it on the frontpage it works fine with the ajax settings and all. The problem is if I link to the project from somewhere alse.


    When you translate, have you tried (copy content) because it doesn’t copy any of the ajax settings (pictures and preview text)

    It will only copy content from the layout builder. Which I don’t use, since I use the Ajax instead

    #124527

    Hi,

    You are using photon.js which is resizing your images. I think that is part of jetpack plugin. Please turn off jetpack as in my experience that plugin is responsible for a quarter of all support issues or at least turn off its image resizing.


    I use duplicate and then I decouple the duplication http://www.clipular.com/c?6288338927484928=Lk87W4U0oBA-iq67-c5Afr7gGoE&f=.png

    Have the 3 main plugins of WPML running. translation management, string translation + main plugin.

    To use copy, when you make and save the original text, scroll down to the bottom of the page and you will see a number of radio buttons with 3 choices as seen below. Make sure that you set Copy for the ones i listed below and click Apply right next to the radio buttons

    http://www.clipular.com/c?6348812067012608=RcNhuaYzAhgIfpLbTLLxtNiqp6c&f=.png

    _thumbnail_id	 Don't translate   Copy   Translate
    _wp_old_slug Don't translate Copy Translate
    _aviaLayoutBuilder_active Don't translate Copy Translate
    _aviaLayoutBuilderCleanData Don't translate Copy Translate
    _avia_builder_shortcode_tree Don't translate Copy Translate
    layout Don't translate Copy Translate
    sidebar Don't translate Copy Translate
    header

    _portfolio_custom_link Don't translate Copy Translate
    _portfolio_custom_link_url Don't translate Copy Translate
    _preview_ids Don't translate Copy Translate
    _preview_display Don't translate Copy Translate
    _preview_autorotation Don't translate Copy Translate
    _preview_columns Don't translate Copy Translate
    _preview_text

    When you now initially ho tosecond language page you should see something like this on top

    http://www.clipular.com/c?5038743962517504=TSs6blsbN8gIk2NADgINR1ExqMg&f=.png

    What’s interesting is that at that moment when you click copy content, even though nothing can be seen , it really is there. just click publish or save draft and when the page refreshes again you will see that indeed everything copies over.

    So just remember to save as draft as first thing you do in order to make everything show up.


    check the radio buttons for copy, thats the key to the whole copying business. I tested it and it copies perfectly, including the ajax bit.

    http://www.clipular.com/c?6348812067012608=RcNhuaYzAhgIfpLbTLLxtNiqp6c&f=.png

    Thanks,

    Nick

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WPML copy content from ajax’ is closed to new replies.