Jump to content

hellomoto

Members
  • Posts

    330
  • Joined

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

5,752 profile views

hellomoto's Achievements

Sr. Member

Sr. Member (5/6)

45

Reputation

6

Community Answers

  1. It's not working in repeater field? Does besides. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_menu_pg.sort' in 'order clause' 49 secs Error saving field "Internal Page(s)" — SQLSTATE[42S22]: Column not found: 1054 Unknown... 49 secs That's Page Auto Complete applied, or Page List Select Multiple. Selections don't save in repeater fields with or without this applied.
  2. Sorry, 2, and don't remember, but I got it working on one by disabling all other modules.
  3. I tried messing with some settings to enforce it and changing the admin theme (but it doesn't show in frontend either). Doesn't appear to be in the page source.
  4. I tried $homepage->get('misc_site_meta')->where('title=year')->first() but first() isn't applicable and without it nothing. Trying to get value of subfield value_text; tried ->value_text in place of but that didn't work either. It's $homepage->misc_site_meta->first('title=year')->value_text
  5. Or it's working I guess but just not for one image with jpg extension weird the webp is in the files folder for the page with it
  6. $wire->addHookAfter('Pageimage::url', function(HookEvent $event) { static $n = 0; $image = $event->object; if(++$n === 1 && in_array($image->ext, [ 'jpeg', 'jpg', 'png' ])) { $event->return = $image->webp()->url(); } $n--; }); [https://processwire.com/blog/posts/webp-images-on-an-existing-site/] This works great unless shown by $page->images->getRandom(); ?
  7. I was thinking to utilize URL segments for pages via external API, however I don't know how those would be indexed by search engines reliably/conveniently? I'm guessing a script could be written to ask for them to be crawled? but I'm not sure whether that's worth it. Does anyone here do this? for fairly complex articles of data? I think I've seen on here before people mentioning synchronizing real estate databases, for example, to native PW and/or vice-versa... That would be the way to go, then? to enable PW-independence? Otherwise maybe have a module for managing the external database (like crud) within the PW admin and integrating the API, where for each external record, a page exists (is created/deleted/unpublished accordingly) with its name = id in db. With just the corresponding ID to the record, probably views and SEO at least could be dynamically generated... Any drawbacks or concerns that come to mind
  8. Thanks. I had known about that module and was going to maybe modify it to suit the use case but quit the project.
  9. Is there a built-in way to handle incoming email?
×
×
  • Create New...