Jump to content

mel47

Members
  • Content Count

    250
  • Joined

  • Last visited

Community Reputation

66 Excellent

About mel47

  • Rank
    Sr. Member

Profile Information

  • Location
    Montréal, Canada

Recent Profile Visitors

1,534 profile views
  1. OMG, my dream come true! 😁😁😁I will use for sure multi form pages! And I will be able remove pages used for a simple yes/no! Thanks so so so much!
  2. Thanks everyone, but especially @LostKobrakai. This "owner" selector is wonderful! So for the sake of people searching on forum, it give this so simple selector: $CategUsed = $pages->find('categ.owner.template=activity'); Mel
  3. Hi, I have difficulty to find the good selector. Home ----Categories ------------categ -----Activities ----------activity (with a pageref to categ) I create a search form with multichoice to listing all categories ($categ = $pages->find("parent.id=1057, sort=title")). However, some categories are currently not used and I don't want them to be listed. How I can modify my selector the more efficient way? I was thinking of searching categories in all activity's pages and recreate the array. Or exclude pages category without references to them. Or something else simpler I don't know?? Thanks Mel
  4. mel47

    Map Marker Map

    Hi, I have a recurrent problem of an error " 'MarkupGoogleMap' was used before it was defined. ". In some browser, the map display correctly but in some (IE) it just doesn't work. I put the code in a JS validator, and I have the same error, but I don't know why and what I'm supposed to do, since I didn't play with this JS code. I also have " Expected 'mgmap1' at column 1, not column 37. " Thanks, Mel
  5. Hi, I'm wondering how unpublished (or hidden) pages could "disappear" from the menu, without having to remove it from the menu? The context : I have some pages in menu. My user need to unpublished a page not necessary for a temporary period. But it's not automatically removed from the menu. I now deleted from the menu, but I'm quite sure than she will want to re-published it, she will call me because it will not be present in the menu. (I gave her permissions on menu but if I could avoided to touch too much those settings, I will be happy... Anyway, in theory she shouldn't have to modify anything on that module on regular basis). Thanks Mel
  6. Hi I have a sudden problem for pdf creation. Do I just have to increased memory? I change recently PHP version to 7.1, I don't know if it's related. However, my developpement server is 7.2 and I don't have this error. Thanks Allowed memory size of 33554432 bytes exhausted (tried to allocate 176128 bytes) search► File: .../httpdocs/site/modules/WirePDF/WirePDF.module:76 76: require_once(\ProcessWire\wire('files')->compile(dirname(\ProcessWire\wire("config")->paths->root . 'site/modules/WirePDF/WirePDF.module') . '/mpdf/mpdf.php',array('includes'=>true,'namespace'=>true,'modules'=>false,'skipIfNamespace'=>false)));
  7. Solved. Had to return in PHP7.1 because zlib is "on" instead of "off" on my server when set to PHP7.2.
  8. Hi, New problem but I'm quite sure it was not there before, but I don't know since when. I upgrade to last version 1.1.1 but didn't help. I get this error. The grids (more than 1 with different queries) appear with "loading" but nothing happens. Error is from Chrome, but same one in Firefox. (index):2 Uncaught SyntaxError: Unexpected token W in JSON at position 1 at JSON.parse (<anonymous>) at XMLHttpRequest.xhr.onreadystatechange (RockGridItem.js?t=1550464515:271) Thanks
  9. Hello, Thanks for your module, it does exactly what I wanted without complication. However, have 1 question/suggestion. Since I will not be the one that will fill the documentation, I gave permissions to modify help-doc to my admin users. It works well, if they created the page from the tree hierarchy. However from admin menu, the "create doc" button and "edit" link will not appear. Looking to your code, only superuser will saw those. Could I override ride this without modifying directly in code? I guess adding a permission "admin-helper" could solve this? Thanks Mel PS For now I commented lines 91, 108, 127 in ProcessAdminHelp.module and solved my problem but I guess it's not the better way... 😉
  10. Hi I have a very basic interrogation about admin. I started to build my own module for users to manage the website (for example export or email sending), via a specific menu. Works well. But now, I wanted to add a config page (currently under home tree, using a settings template). This page contains fields for text, checkbox and images, and have to be edited by website users frequently. Searching around forum and different admin config modules, if I understand correctly, I can't save images, since they are not pages. Do I'm right? Do I should only use a link to harmonize the feeling and find everything under the same menu? How, you, experienced people, manage this kind of settings page? Thanks!
  11. mel47

    Map Marker Map

    I found a workaround, related to an other issue. I ended by moving the order of fields. BTW, no error in console. Thanks
  12. Thanks. But I tried to debug a lot in the last days, and tracked down the problem today, but I can't explain which kind of interference is involved. It seems to be related to fields' order in this specific template! Changing imagefield to last position (or at least after 2 pagesfield) solve the problem. Not ideal but working. Strangely, the problem was not on new pages, just those already created (months ago). I changed some fields in the template since then, but never touched to this imagefield. Furthermore, the same field is used in 2 others different templates, it doesn't show this behavior. I don't think yet it's related to modules (I used disabled all modules by Tracy), but didn't solve. However, I kind of solved my 2nd problem that seems to be related, moving also mapmarker field at the end of template, also solve the geocoding problem. Mel
  13. mel47

    Map Marker Map

    Hi I have a problem that I didn't have before (not sure when was "before" though...). However all last year' pages displayed a correct localization. If I typed an address, it will not localized until I check/uncheck the geocode true/false. However, saving the page doesn't retain the "ok rooftop" result, and return to "request denied". After a couple of saving pages, I eventually get lat/long saved but the status is still "request denied". Furthermore, I discovered I can't modify addresses on certain pages (those created by guest (form builder)). It may be related to my similar problem about image undeletable. Under 3.0.123, both local and production. Google API is enabled for billing. Anyway, address with a previous correct localization are displayed fine. Thanks!
  14. Hi I have a really strange problem. I have a images field on a certain template with a maxfile=1. Normally I could replace the image by a new one without problem. However, now, when I drag the new image, it seems to replace. However after saving the page, both images are there. And it's impossible to delete any of them. But the notification mentions the image is deleted! I discovered it happens only under a specific template, and on page created by "guest" (which are Form builder). Those created via admin act normally (meaning image replaced). Modification of other text fields in the template are correctly saving. On 3.0.123 (but since a couple a dev version), both on local or production server. Permissions is 755 for folder and 644 for file. Deactivated all hooks in ready.php to be sure. If someone could point me some directions to search... Thanks Mel
  15. Hi I discovered ag-grid documentation (since I solved all my Rockfinder problems, thanks!). I have really general questions. How I should decide what to put in BeforeInit vs AfterInit? For example, why the visible/hidden column are in AfterInit? I want to have a modified version of YesNo plugin. How I can do that? For now, I rename with a slightly different name and add it in /assets/Rockgrid folder. Is it the good way to do it (it works BTW)? Where I should put CSS file? I added in /assets/Rockgrid/style.css and link into my PHP file. However, for some reasons, I'm not able to use row classes. The class is well added in html but CSS classes's are overridden. However If I used instead inline CSS directly in the JS file, the row is correctly styled. I have many Rockgrid fields, sharing some columns. How I can define some common column headers (definition, style, etc..) instead of re-write on each field.js file? Thanks! Mel
×
×
  • Create New...