Jump to content

Didier B.

Members
  • Posts

    46
  • Joined

  • Last visited

  • Days Won

    1

Didier B. last won the day on January 2 2013

Didier B. had the most liked content!

About Didier B.

  • Birthday 02/29/1976

Contact Methods

  • Website URL
    https://didjee.nl

Profile Information

  • Gender
    Male
  • Location
    Maastricht, The Netherlands

Recent Profile Visitors

5,746 profile views

Didier B.'s Achievements

Jr. Member

Jr. Member (3/6)

24

Reputation

1

Community Answers

  1. Hi @szabesz, are you still working on the new version of MarkupActivityLog? It would be really great if it supports FieldtypeTable.
  2. Based on information I found here I placed the code below in site/ready.php but this doesn't work either... Does it only work for CKEditor? $wire->addHookAfter('MarkupHTMLPurifier::initConfig', function(HookEvent $event) { $def = $event->arguments(1); $def->addElement('video', 'Flow', 'Flow', 'Common'); $def->addElement('source', 'Flow', 'Flow', 'Common'); $def->addElement('iframe', 'Flow', 'Flow', 'Common'); });
  3. I want to use the TinyMCE Media plugin to place html video and youtube/vimeo embeds within text. I also want to leave the purifier option activated. I added "extended_valid_elements": "video, source, iframe" to my custom TinyMCE default settings JSON file: { "extended_valid_elements": "video,source,iframe", "browser_spellcheck": false, "height": 500, ... } After saving the page the video and iframe elements are still removed. Sometimes the elements remain after the first save, but after a subsequent save they are still removed. How to solve this?
  4. Hi @horst, is this module still being actively developed? I'm running into the problem (again) that WEBP versions of a resized crop are not updated after the crop is modified (ProcessWire 3.0.246 installed). I thought this was solved here, but apparently not. When I apply your old fix in wire/core/Pageimage.php, everything works as expected (although the webp function has changed in the meantime and I'm not sure how to put your fix in there).
  5. I have the same problem... It's a bit annoying that fields aren't sorted alphabetically by default on the fields page. It would be nice if the default sorting could be set, or if the manually chosen order is preserved.
  6. Hi @teppo, are there updates on this that you can share? 😉
  7. I want to exclude pages with certain templates from Insert link > Select Page. Is this possible using a hook?
  8. Hi @BitPoet, I was wondering if it is possible to get this module working in a Textarea Rich Text (TinyMCE) field within a ProFields: Table field? Now I'm getting the error messages below in TracyAdmin. The Table field 'table_directives' has 3 rows with 2 TinyMCE Textarea fields ('medication' and 'remarks') per row. PHP Warning: Attempt to read property "table_directives_0_medication__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_0_remarks__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_1_medication__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_1_remarks__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_2_medication__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_2_remarks__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_3_medication__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267 PHP Warning: Attempt to read property "table_directives_3_remarks__pages__useAction" on null in .../InlineCompleteTinyMCE/ProcessInlineCompleteTinyMCE.module:267
  9. @virtualgadjo putting title and headline before search_index does the trick somehow ?. Now the ordering of the results is the way I want it to be. Technically I can leave title and headline out of de indexed fields in the module settings.
  10. Hi @virtualgadjo, thanks for your quick response! I was using SearchEngine::find() for the results and not a regular ProcessWire selector. Mainly because with SearchEngine::find() you can use "_index_template" for sorting results by template (see SearchEngine module settings). AFAIK, sorting by template is a not build in feature for page selectors. But I found a way to accomplish that: Now I'm using the code below instead of SearchEngine::find() Results are first sorted by the given template order. After that, pages with $query in title or headline will be shown before pages with $query in search_index but NOT in title or headline. $templates = ["news", "blog", "archive", "plain"]; $results = $pages->find("title|headline|search_index~*={$query},template=".implode('|', $templates)); $sortedResults = new PageArray(); foreach ($templates as $t) { $sortedResults->import($results->find("template={$t}")); } $results = $sortedResults;
  11. @teppo First of all, thanks for this great module! I've used it several times already. For a project I'm working on right now, I'd like to sort the search results like this: First based on indexed templates. This is possible with the "_indexed_templates" option, so no problem. After that, pages where the search term appears in the page title should be placed above pages where the search term only appears in the page content and NOT in the page title. Is this possible when using SearchEngine::find()?
  12. Hi @horst, I have a setup where I use a Repeater for page sections. Elements can be added within a section using a RepeaterMatrix. When I use a CroppableImage4 field within RepeaterMatrix, it cannot be used by non-superusers (eg users with the 'editor' role). If the user clicks on the thumbnail to make a crop, they get the following error message: "Not editable. The process returned no content". I have given the user role the "croppable-image-4" permission. If I use CroppableImage4 in a RepeaterMatrix that is not inside a Repeater, it works fine. So I suspect that the problem only applies when CroppableImage4 is used in a 'nested' RepeaterMatrix. See attached screenshots for the error message and to give an idea of my setup.
  13. Hi @teppo, first of all, thank you for this wonderful module! Do you see a possibility that ProFields Table will be supported in the future? I am certainly willing to sponsor (part of) the development costs for this!
  14. @Robin S wow, this is really great! Thanks for spending your weekend hours on this update ?
  15. Hi @Robin S, Thanks a lot for this module! Exactly what I was looking for ? Version 0.0.8. of RepeaterMatrix introduced the 'insert before' and 'insert after' buttons. If I limit the use of matrix types to 1 item per type, it's still possible to add a new item via 'insert before' and 'insert after' (see screenshot below). Is it possible to prevent this?
×
×
  • Create New...