Jump to content

Roych

Members
  • Posts

    383
  • Joined

  • Last visited

Everything posted by Roych

  1. if I paste it directly into ckeditor I get: <p><a href="https://www.youtube.com/watch?v=317Mo2fwlTk">https://www.youtube.com/watch?v=317Mo2fwlTk</a></p> But if I paste the url through source I get: (this one works and shows the video) <p>https://www.youtube.com/watch?v=317Mo2fwlTk</p> R
  2. Hi, I'm having some problems it does not show me the video it just outputs pasted url, what am I missing? Textformater is set on the body field but not working. Or if I paste the link through source code I get this (prtscr. attached) Thank you R Edit: Sorry I was still in debug mode. ? It show videos now but only If I paste the link through source code, if I pacte it normaly in ckeditor in shows the url. Any Idea on this, maybe? Thank you R
  3. Hello, I got lost, need help again with this, please ? I have "Start_date" and "End_date" fields and sometimes event lasts for more than one day. I would like it to be shown to the "End_date" and then it would be nice if it got "hidden" (hidden not deleted in backend). How would I achieve this. Atm Im using "Start_date=today" for hiding events in frontend, but if it has End_date set, it dissapears also when Start_date ends, I don't want this. Is it maybe also possible to set the past event in Hidden in backend after End_date or if just Start_date is set? <?php $events = $pages->find('template=calendar-post, Start_date>=today, sort=Start_date, limit=10'); ?> My entire code here: Can this be done somehow? Thank you very much R
  4. Great, thank you very much. ? It is the awesome module it would be shame if it wouldn't work. ? R
  5. Hello, Yes this was the code I pasted. But I also tried to paste some other text that included some normal URLS (not youtube) and it happened again. I don't have any other textformaters added to the field. Im posting the screenshots of the Details and Input settings. I hope this would help. If you need anything else, fell free to ask. Thank you R
  6. Hello, I just noticed some weird problem, when pasting some text inside "body" field if TextformatterVideoMarkup is applied. The site gets completely unresponsive and won't load at all. The backend works but slow. Second I remove TextformatterVideoMarkup the site works normaly again. Updated the module and my PW is up to date. All updated through updater. We already had some discussion over this here: https://processwire.com/talk/topic/24182-urgent-site-went-down-after-pasting-iframe-code/?tab=comments#comment-205301 Until I noticed that this module is the one making problems. I never had problems with this module until now. Last error I got was: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) in /wire/core/WireShutdown.php on line 392 Maybe Im missing something or is there some bug present. ? Thank you R
  7. Hello, I have just played with the site again and noticed that this error only happens when I have Video markup for YouTube/Vimeo added to the body field. As soon as I disable it the site comes back and working normaly. This time I didnt have any Iframes inside my ckeditor. Just copy/pasted some normal plain text. Is there maybe something wrong with the module or ... thank you R
  8. Already tried that also. I enabled the iframes in ckeditor too. Not sure what happeed, but I just recreated the whole site and made whole alot of backups ? Thank you very much. R
  9. I actualy already deleted the page and emptied the trash but still. ?
  10. I tried an I still get this 2 errors: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /wire/core/WireData.php on line 68Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /wire/core/WireHttp.php on line 1
  11. I already tried I have 512M set atm. Cant increase more in control panel.
  12. Hello, Everything was working fine until I pasted the Iframe code in ckeditor "body" (through source), then the site won't load anymore. I get: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /wire/core/Modules.php on line 2727 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /wire/core/WireShutdown.php on line 426 The admin area is working but very slow, I tried to delete the iframe code, but it wasnt there at all. I also looked in DB but the code is nowhere to be seen. The site won't even load anymore. Any idea what could be happening. I also deleted the cash but no changes. The iframe code I put in was a googleforms Thank you very much R
  13. You are right, thank you .. Not sure what I was doing realy ? R
  14. Thank you ? Looks fine and no error anymore. ? I have $start twice because if there is only one date today selected my extra text didn't show. R
  15. Hello, I need some help with coding please as Im not very good at it ? I'm working with some custom event calender and I have two datetime fields (Start_date, End_date). I don't want my "End_date" to be mandatory, but I get warning in front end if I don't populate it. How would I fix this. (some if else, or ...?) I'm echoing some extra text if event date is today, or it still lasts (actualy kinda works ?). My code atm: the problem is $end = date('d. m. Y', $single->getUnformatted('End_date')); I guess! Warning I get is: Thank you very much R
  16. Hello, I'm working on a new site and I was trying to import only one page from drupal with csv import. The page got imported but the site got so slow it won't even open the imported page. I can see it in the tree menu I can edit it, but the site just hangs when trying to view it. Actualy the entire site is so slow. First I tried to modify it by changing some text and save, it was saved but site was still slow. I deleted the page but the site still remains slow and it wont open the page where this post was in. I only had two posts one that I did in PW as a test (which was working great) and one imported (after importing site got slow). Any ideas what could be wrong. Only error I got in log is: I don't think that one post would take so much memory size? Thank you for help R
  17. Hello, I need to create a survey for my site and was wondering what would be the best way to start this. Is this somehow posible with FormBuilder, so the answer would depend on selected question. Or is there any simpler solution? Thank you R
  18. Roych

    Twack

    Hi, maybe silly question, but could you tell me how to try out you musical-fabric package (how to install it)? There is only SITE folder inside. Thank you R
  19. Thank you all, got it up and running perfectly. ? R
  20. Hello, elabx I tried your code and it works perfect. I was looking for this so long. You are the best ? Thank you very much R
  21. Hello I need some help with aligning every second post different than the first. First post with image on the left and text on the right and every second with text on the left and image on the right. I have a repeater field with title, image and text. I would like to stick with repeater if possible. I tried to look on the forum and google but no luck as I'm not even sure how this function is called. It would be great if someone already did something similar. Thank you very much R
  22. @dragan Thank you for the code, I tried it but somehow didn't work for me. So I played with it it a little. It works now but not sure if everything is right as it should be. Thank you R
×
×
  • Create New...