-
Posts
1,065 -
Joined
-
Last visited
-
Days Won
11
Posts posted by Zeka
-
-
Have you declared namespaces in your templates files?
-
2
-
-
Could you share your code which produced this warning?
-
I not sure and even didn't test it, but you can try to use
$field->set('parent_id', '1084'); $field->set('template_ids', '[74]'); $field->set('findPagesSelect', 'test=somevalue'); $field->set('findPagesSelector', 'modified_users_id=40, status=hidden');
-
1
-
-
@Pixrael nice done!
-
2
-
-
Quote
hide button doesn't seem to toggle the class now
Yes, that normal behavior in this case, because ($this) refers to the object (button, anchor) that was clicked.
There is working example
-
1
-
-
$(this).closest(".card-footer").siblings(".card-reveal").toggleClass("show");
-
2
-
-
Hi @dreerr
There is a module that lets you control whether multi-language support is enabled at the page / branch level, but it I don't think that it is exactly what you are looking for, because it disables all language for restricted pages / branches.
But it can be a starting point. Maybe @adrian could say is it possible to tweak his module that you can select which languages are allowed for a specific page.
-
1
-
-
I would prefer module because it's more PW way.
It worth to mention that there is WireMail module that handles sending of email in PW. Also, there is WireMail SMTP that extends mentioned class.
You can go with a similar approach: create a module that will extend WireMail class by hooks where you can specify some specific things from your custom mail class.
-
2
-
-
Hi @webaff
- multilingual
- about 400 files at launch, scalable up to 10000 files
- files are typically PDF but can be of other files types
-
front end user login with forgot password function
- https://modules.processwire.com/modules/frontend-user/ or custom solution
-
nice to have: front end user registration
- https://modules.processwire.com/modules/frontend-user/ or custom solution
- 3-5 user roles for access control on page level (each file can be accessible for users of all roles or just for users of certain roles)
-
login history
- https://modules.processwire.com/modules/process-login-history/ or a custom hook probably for ___loginSuccess
- files must not be accessible by direct link, of course. Would be nice to store them outside the http-root.
-
4
-
Hi @Gazley
I think that it is not mainly related to CMS, but how you implement your front-end.
There is markup src set module that you will probably find useful
-
2
-
-
Hi @DarsVaeda
You should specify GET or POST variables in cache settings for this template ( there is an input for this at the bottom of cache settings screen.)
Or specify * for all parameters.
-
2
-
1
-
-
-
Are these domains for the same site?
You can try to use markup cache module and $cache for these pages where you have some dynamic content.
-
I haven't done it by myself, but there is $image->sort property.
// loop over images and set new sort position foreach($page->images as $image) { $image->sort = $newSortPosition } // sort by the field 'sort' $page->images->sort('sort'); $page->save();
-
1
-
-
-
Hi @Marc
Not tested
$siteB = new ProcessWire($path, $url); $siteB->pages->add('skyscraper', '/skyscrapers/atlanta/', [ 'title' => 'Symphony Tower', 'summary' => 'A 41-story skyscraper located at 1180 Peachtree Street', 'height' => 657, 'floors' => 41 ]);
-
4
-
-
-
You can use markdown or textile syntax in description of fields
-
2
-
-
Hi @Thorhttps://processwire.com/api/ref/page/of/
// Set output formatting state off, for page manipulation $page->of(false); $page->title = 'About Us'; $page->save();
Pages that you are manipulating and saving should have output formatting turned OFF.
-
Hi @SamC
You should allow segments for the home page and then you can do what you want.
But to keep things simple you can just rename "Misc pages" to something like "Info".
-
2
-
-
So there is id, parent id and sort position of trashed page in that name.
-
6
-
-
Hi @ukyo
I want to use your AVBfastcache module in my new project but can't find any information about its capability with PW 3.
Also, there is no activity in repo and forum more than a year, so I'm curious about your plans to maintain this module.
-
Also, you can hook save process and do your custom sanitization or validation of data if needed.
-
2
-
-
Thank you for your addition.
Repeater "clone this item"
in General Support
Posted
Hi.
Just curious is it normal behavior of "clone this item" in repeater field?
As you can see this small popup doesn't close after cloning of item. I have to save a page to have the ability to work with content.