Jump to content

cpx3

Members
  • Posts

    151
  • Joined

  • Last visited

Everything posted by cpx3

  1. Hi to all, as I need to translate a huge website in five languages, I tried Ryan's Translation export/import module. I installed it and everything works fine but when I try to reimport the translated strings, I only get the error message: 9 (i.e. all) rows skipped. I does not make any difference whether I use json or csv, it simply does not work as it skips all the translated values. Any ideas what I am doing wrong?
  2. Actually that was no solution for that problem as the data get deleted at another site, too. It is a simple AJAX POST, works, when I send it directly (I tried it with get) and all the data is deleted when I do it inside a Processwire templates directory. I made a new directory outside and now it works perfectly, so there cannot be any problems with my code.
  3. Hi @monollonom, thanks for the great module. I just have a strange problem: when I try to preview the rendered page as a guest user, I can only see <h1>title</h1> and the rest disappears it seems the module cannot be used to create a "view in browser" version, right? Ok, just saw that the editor says that "align is illegal", but it works perfectly with the normal MJML app...
  4. Actually, the answer is much simpler. I had the same problem with another script. When I call the page with "url: '/ajax/captcha-verify'", the data gets deleted, with url: '/ajax/captcha-verify/' it works. Thanks to everybody!
  5. With method D No, I did not touch it.
  6. First, a million thanks. I tried it that way, too, but without success. GET, POST, everything. The only thing I mentioned is the fact, that when I use get the /?name=value part gets deleted. When I use a page outside Processwire, it works perfectly...
  7. it looks like print_r($_GET) and the result is an empty array. The problem occurs only if I use a Processwire page to handle the request.
  8. Hello everybody, I try to send data from a formbuilder form with ajax (to verify a mail address). Everything works fine, but as well $_POST as $_GET are always empty. Any idea what I am doing wrong? $("#Inputfield_email").on("blur", function (e) { e.preventDefault(); // Get the form data as an object var postdata = $("#Inputfield_email").val(); alert(postdata); //Works fine // Send an AJAX request to the server to retrieve the selected format $.ajax({ url: "/ajax/ajax-is-newsletter-subscriber/", type: "GET", data: {daten: postdata}, success: function (result) { // Works fine to, but result (print_r($_GET) is empty alert("OK" + result); } } }); }); EDIT: When I use my own php file which is outside Processwire, everything works fine. So the problem seems to be that the GET and POST data gets deleted on the way.
  9. I talk about the useless additional <p>content</p> wrap. ?
  10. No, it is always. Whenever I paste or write a text in TinyMCE, it adds <p> and </p>...
  11. For me it did not change anything. It starts and ends with a useless <p> that destroys the layout.
  12. I do not think that there is solution as TinyMCE writes that this is a feature and the editor would not work without this annoying behaviour... I wrote a function that deletes the first and the last <p>...
  13. Congrats to your daughter and thanks for letting us participate in that!
  14. @Richard Jedlička Hi Richard, first thanks for the wonderful module which I use on many sites. On one site I now have the problem, that when trying to edit a template I get the error message: No Template specified. Any idea what I am doing wrong?
  15. Hi all, since I updated to the laste dev version of PW I cannot save the "presentation / visibility" of any field on a per template basis. PW pretends to save the changes, but actually they don't get saved. The same the changes do not appear any more in the "Overrides" section. Any idea what I doing wrong? Thanks in advance, Bernhard
  16. Remains actually one more question: as at least me the documentation on that function is simply useless as I do not understand how to use it, could anyone else give me a working example, please?
  17. Hi to all once again with a very strange problem: I have an identical configuration on two live-servers (no localhost). On one of them (which I use for testing purposes) everything works fine. On the other one I get the error message: Exception: Method Pagefile::first does not exist or is not callable in this context (in /html/wire/core/Wire.php line 563), what is especially strange as the image field is set to be an array. Any idea what I am doing wrong? Found the mistake. For whatever reason the field on the production-server was set to single.
  18. @bernhard That looks perfect, thanks!
  19. Hi to all, I would need to create a pagelist with the children of one parent page, but exclude some of the children. I found ProcessPageList find but have no clue how it works (it either lists all the children of home or only shows the page itself). Could anyone help me with an example? Thanks in advance, Bernhard
  20. Thanks for the quick answer! Actually I want to display silbling pages but not all of them…
  21. First, thanks for the lovely module! Is there any possibility to select the pages for the PageList with a selector instead of their parent? I would need for example to show only newsletters that have not been sent now ("checkbox_sent=0").
  22. @Robin SThanks a lot, that was the solution! For whatever reason I had activated access control for that field...
×
×
  • Create New...