-
Posts
330 -
Joined
Posts posted by hellomoto
-
-
This is great
-
On 11/14/2021 at 12:12 PM, adrian said:
@hellomoto - not really sure where to start to be honest.
1) Is it specific to one site, or all your sites running 3.0.184?
2) Was it working on the same site before you upgraded to that PW core version? If so, what version was the site running before?
Sorry, 2, and don't remember, but I got it working on one by disabling all other modules.
-
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.
-
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
-
-
-
-
-
-
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
-
$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();
?
-
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
-
Thanks. I had known about that module and was going to maybe modify it to suit the use case but quit the project.
-
Is there a built-in way to handle incoming email?
-
This is compatible with PW 3.
Is there any reason you would not use it in production? I tried hCaptcha but that's more laborous for users.
-
Like to replace maybe the form elements as being output in a list as divs instead, etc. ? I know I've come across it before... Can't make it out looking at the core module... Thanks
-
@Jonathan Lahijani how did you go about incorporating the Advertising Package subscriptions? Are they each stored in a repeater field per user? or child pages? or other? & how are payments processed?
thanks for all the information you provide already
-
On 7/15/2020 at 7:23 AM, gmclelland said:
Did you install the library with Composer?
I had not. It works fine now, thank you.
-
1
-
-
On 7/15/2020 at 3:39 AM, LostKobrakai said:
I'd be curious if this is actually what you want though. I mean you can maybe ensure that your webserver doesn't handle requests for a given user in parallel, but if requests don't happen at the same time the user might still be working in multiple tabs on different parts of your website.
It restricts that functionality of the module to a specified role, which is about as far as I'm taking it.
-
Maybe for the repeater field value specify a separate CSV file with fields & values to be imported.
-
For a repeater field called datetimes, when I just put "{datetimes.date} {datetimes.time}" the output for one with multiple entries is (paraphrased):
1stdate, 2nddate 1sttime, 2ndtime
Is there a way of just specifying the 1st item's values in the repeater here?
-
I just found the Session Handler DB setting to Disallow parallel sessions after already starting this thread... so in SessionHandlerDB.module function HookLoginSuccess:
if(!$user->hasRole('roll')) return;
(etc.)
-
18 hours ago, gmclelland said:
You need to enable the textformatter in the field’s settings.
It's enabled, that's why I'm confused. (curl is also enabled)
-
I installed this on the latest dev PW version and didn't touch any CSS for it; enabled it for a CKEditor field (and plain textarea without CKEditor); tried YouTube, Vimeo, and SoundCloud URLs and they all just output the URLs wrapped in plain <p/> tag(s).
What am I missing?
Page List Select Multiple Quickly
in Modules/Plugins
Posted
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.