nikoka

Members
  • Content count

    38
  • Joined

  • Last visited

Community Reputation

4 Neutral

About nikoka

  • Rank
    Distinguished Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. nikoka

    That's a great idea, thank you so much @kongondo! This seems to work and I can also see which page is embedded in which wrapper page: $return = $attr["url"]; $id = (int) $return; $embeddedPage = $pages->get($id); echo $embeddedPage->body; $wrapperPage = $page->id; $session->set($wrapperPage, $embeddedPage); Then I grab the value like this: $sourceID = $session->get($page->id); echo date('Y-m-d', $pages->get($sourceID)->modified);
  2. nikoka

    Thanks for sticking with me @kongondo Number 1 is what I want to do. I need to use the modified/created dates of Page B to compare to the modified/created dates of Page A and insert some badges on Page A according to which of these pages have been updated more recently.
  3. nikoka

    The tag I use for adding embedded page content is: [[single-source url=""]] For the url I add the page ID and the content is then shown. There's a bunch of other things happening, but the essence of the hanna code for getting the embedded page content goes like this: $return = $attr["url"]; $id = (int) $return; $embeddedPage = $pages->get($id); echo $embeddedPage->body;
  4. nikoka

    Thanks @flydev, credentials were alright, but turned out it was the host that was the problem, site is running on A2. So it's the same problem @Peter Knight ran into.
  5. nikoka

    Thanks @kongondo, I was a bit unclear, I have a page (let's call it page A) with and embedded page (let's call it page B). I need to show the modified/created dates of page B on page A. But how do I get this information from the embedded page B to the "wrapper" page A?
  6. nikoka

    I'm using Hanna code to embed content from different pages on a site. What I would need is a way to get the created and modified date of the page that has been embedded. I need to use/show these dates in the front-end of the page that has the embedded content. Is there some elegant way I could get this information?
  7. nikoka

    Thanks @flydev, Tried with those, in addition with the SMTP server: smtp.office365.com, but no luck there.
  8. nikoka

    Hi there! Struggling to get this to work with Office365 and TLS, has anyone succeeded with this? I've tried different combinations, but all I get is "ERROR: SMTP settings did not work." and "could not start TLS connection encryption protocol". Anything I could try? Thanks!
  9. Ouch, yeah I was afraid the chmod issue would be a problem. I'm amazed of all the restrictions this provider (Elisa) has set up, but they insist WordPress, Drupal and Joomla users have no problem with this.
  10. No, unfortunately they don't give access to php.ini.
  11. After moving my clients site the image and file uploads stopped working. When trying to upload an image I get this error in the console: ?id=1:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Function.parseJSON (JqueryCore.js?v=1510128475:2) at XMLHttpRequest.<anonymous> (InputfieldImage.js?v=119-1512211887:1433) A neverending upload process starts and when I reload the page I get this error: Warning: flock() has been disabled for security reasons in /www/w/8/4/0/3/w8403104/html/wire/core/FileLog.php on line 89 If the image field is inside a repeater the image is uploaded, but nothing is visible inside PW. The image gets uploaded to the server but permissions are always set to 600, if I change the permissions manually to 640 the image is visible. I've tried with different permissions in config.php, but the problem persists. The site is on a shared webspace at a bigger provider with quite a lot of restrictions (chmod not allowed). I've been going back and forth with the hostmaster about these issues, but that hasn't been fruitful. Is there anything else I could try? Any chance of getting PW to work on this server?
  12. nikoka

    Aaand here is the fix courtesy of @valan :
  13. nikoka

    I just ran into the same problem, the address box is gone and underneath it says "N/A". Anyone know what could cause this?
  14. Hi @inspeCTor, I'm afraid I didn't, remains a mystery, I haven't had this problem before or after. Spent some time figuring out what could be different with this one installation, but there shouldn't be anything special there. Please do report if you find some clues, thanks!
  15. Hi there, This has always worked without a hitch, but I'm a bit stumped now. I'm using this for the body field, I have a youtube URL in a paragraph, but I can't get the player to show, just the URL text as is. I then tried with a Vimeo video, no luck there either, but in that case it creates the TextformatterVideoEmbed div (<div class="TextformatterVideoEmbed"></div>), but the div has no content. I'm running PW 2.6.1 and the latest version of TextformatterVideoEmbed. Any idea what's going on here?