Jump to content

snobjorn

Members
  • Content Count

    110
  • Joined

  • Last visited

Community Reputation

31 Excellent

About snobjorn

  • Rank
    Sr. Member

Contact Methods

  • Website URL
    https://www.snobjorn.no/

Recent Profile Visitors

3,821 profile views
  1. I solved this with a work around. I checked if a page was modified in the last hour. If it was modified, I did not run the function. If it was not modified in the last hour, I run the function. That way, I could set the LazyCron to fire "every30Seconds".
  2. I'd like to set up a LazyCron function that fires every hour on each page that has a template named "post". So far I have gotten the function running. But when it has fired once on "Page with Title A", it takes and hour before it is fired again on any other pages. It makes sense, hooking the function with wire()->addHook(). What I want to do, is to get the function to be fired with LazyCron individually for each page. So that "Page with Title A" fires every hour (if it has pageviews), and "Page with Title B" is fired individually and possibly during the same timeline, if it has pageviews. Is this possible? Or might there be another way to utilize a sort of LazyCron on individual pages?
  3. I am exited about the search module that will be added to ProDevTools. Do you have an estimated time for when that will be released? @ryan
  4. A rather large update today for this language pack. Including a lot of new modules, some new Pro modules. And core translations for the 3.0.133 dev version. As usual, the translations is not complete. And some typos might exist.
  5. Something similar to this WordPress plugin is what I wonder if someone has seen / been working with? For ProcessWire.
  6. I am running on a PRO ISP (Norwegian) server with cPanel, Imunify 360, ModSecurity turned on and have recently (after 2 years without trouble) gotten some trouble with ProcessWire and the PageField AutoComplete showing a 403 notification in the ProcessWire Dashboard. The scenario is the following: I have a import script that collects data and creates ProcessWire pages and references in a four different PageFields. The data is collected from a JSON. The import might fire "too many" edits at the same time, and therefore the Imunify 360 security module in cPanel will try to prevent it. Afterwards, after the import (which works well) have been done, I want to edit a few of the PageFields manually, but when I type in the AutoComplete input field for the PageFields, the notification in ProcessWire only returns a "403.shtml" error. I turned off ModSecurity temporarily and managed to edit the field. Any one have an idea how I can whitelist ProcessWire with my import? (I can provide more details if necessary).
  7. @Craig A Rodway: Is this module compatible with ProcessWire 3.0+?
  8. I have been searching a while for pre-made UIkit 3 themes that I can download in some form and use. But I have not found much. I work with variables and compile most times, but sometimes I would prefer working with a "finished" theme as a starting point I have found the following resources: https://github.com/zzseba78/Kick-Off https://github.com/uikit/awesome-uikit Do anyone else know of UIkit 3 themes that you could list?
  9. Perhaps it is ACF and / or HTML Purifier. They are both turned on. I tried adding this, with no luck: ol[reversed]
  10. I am trying to get the following to work in CKEditor (inline editor): <ol reversed> With no luck. Other options, like the one below seems to work. But the reversed is stripped from the text. <ol start="50"> Anyone tried reversed, and got some pointers?
  11. As a follow up question to the first paragraphy solutions provided. Is there a way to get "the rest of the text" output? A way to exclude the first paragraph? The result I am looking for is to output the first paragraph from a body text field, then an image from an image field, and then the rest of the text from the body text field. So there might be other solutions?
  12. Has anyone worked with ProcessWire and Google My Business API on getting (blog) posts published to a business Knowledge Panel? I wonder if there is an "easy" way to set this up in a ProcessWire page template. Source: https://developers.google.com/my-business/content/posts-data
  13. snobjorn

    MarkupSrcSet

    I have previously been using uppercase URL in $page->image->URL for browser cache busting query string purpose. Is this compatible with MarkupSrcSet? My current image url is $page->image->srcset('860x0,/2,/3').
  14. I got the following error in my error logs, and am trying to find the source of error. Has anyone experienced this error before? guest /http404/ Error: Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '41-0' for key 'PRIMARY' (in /home/vidnokts/public_html/wire/core/FieldtypeMulti.php line 295)
×
×
  • Create New...