Jump to content

monollonom

Members
  • Posts

    415
  • Joined

  • Last visited

  • Days Won

    12

monollonom last won the day on February 20

monollonom had the most liked content!

1 Follower

Contact Methods

  • Website URL
    https://eprc.studio

Profile Information

  • Gender
    Male
  • Location
    Brussels

Recent Profile Visitors

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

monollonom's Achievements

Sr. Member

Sr. Member (5/6)

569

Reputation

  1. Is "race" the only template that can be used for children of your page? If so you could instead use the name format to skip the Page Add step
  2. Given RepeaterMatrix is based on Repeater there are no differences performance wise. Actually I did it exactly this way for a project before I purchased ProFields so there’s nothing wrong with that. It’s (mostly) about convenience.
  3. Thanks! All of them are built using ProcessWire, it's my tool of choice ever since I got introduced to it close to 10 years ago 🙂
  4. The idea is to have the _main.php be the base for most of your templates and then on a case-by-case basis disable it per template and specify another appended file, e.g. _rss.php. So I would say no need to change anything in config.php 🙂
  5. As long as the output formatting is on you can assume your "$page->title" will return a formatted value and so in your case with the entities encoded thanks to the Textformatter. So no need to escape it again using $sanitizer. $sanitizer is mostly here to clean inputs from user-submitted forms or more broadly whenever you have to save external data you don't have control over.
  6. If you check the "Disable automatic append of file: _main.php" setting, then you can specify your "base.php" to be appended in place using the field right above
  7. Do you mean you removed these manually? If so then the installation must have failed as these are supposed to be deleted automatically once the admin account is created.
  8. Sorry I made a typo in the URL it’s ProcessPageList::getSelector (and not ProcessPageLister::getSelector), my bad
  9. Have you tried ProcessPageList::getSelector?
  10. After searching on the forum I stumbled upon this thread which seems to have the best attempts at doing what you’re trying to achieve: Maybe you could try one of these solutions?
  11. Funnily I tried exactly this yesterday and no unfortunately it doesn’t work because the repeater will check the access control of the page holding it. However it could a request to add a line to check if its access control is on, something like: public function getAccessTemplate($type = 'view') { if($this->template->useRoles) return $this->template; $p = $this->getForPageRoot(); return $p->id ? $p->getAccessTemplate($type) : parent::getAccessTemplate($type); } I tried and it worked but it wasn’t a fit in the end for what I was trying to achieve.
  12. I had to push a small update as I noticed on a new installation that it seems you cannot send an empty <mjml></mjml> tag anymore. The fix was rather simple: add a <mj-body> and it stopped complaining.
  13. I just pushed a tiny update to make adjustements to the CSS for the new Konkat theme. It’s just some spacing details and it now uses the --pw-border-color CSS var (and falls back to the original theme color if not set).
  14. I just tried on a test setup to install the FieldtypeOptions module and add it as an image’s custom field but it is not displayed when editing an image, nor is it available to toggle on in the FieldtypeFile’s module settings: And it's actually normal behavior as this Fieldtype is basically blacklisted as a FieldtypeFile’s custom field. @tires your best bet is to use a Page field instead and have your options stored as pages somewhere:
×
×
  • Create New...