-
Posts
2,776 -
Joined
-
Last visited
-
Days Won
40
Everything posted by Macrura
-
also depends on the type/scope of the site – in a vast majority of websites, the page tree is probably irrelevant, esp. when editing a page. But UiKit Admin Theme the page tree is a mouse hover away. Most sites i build now the users interact only with a custom dashboard and listers.
- 17 replies
-
- 1
-
-
- cms
- comparison
-
(and 1 more)
Tagged with:
-
Ok cool, thanks, I just realized i can't install on those sites because it basically tanks the whole site, even the front end...
-
yes, will test later today. the sites with the error are all running 5.6; the sites running 7.x seem to work ok with past 0.9.4
-
not sure, this just happens when i try and install the new version; It may be something to do with the settings? I always uninstall the 0.8.7 and then do a clean install of the 0.9.4; then i noticed the upgrade, ran that from the upgrades module and got this screen, so i'm not interacting with the module, but i could try clearing out everything int he AdminCustomFiles folder and see if that helps..
-
-
I did a samples cart using javascript/local storage and it works really well.
-
module Module: ConfigurationForm (multiple fields container)
Macrura replied to OLSA's topic in Module/Plugin Development
This module is great, very useful and i'm using it on a project; I guess my PHP version (7.2.10 ) doesn't like this: (FieldtypeConfigForm, line 69) if(count($values)){ but this works if(wireCount($values)){ -
@Beluga i found that if you run into a problem with upgrading this, it works to uninstall the old one, and then install the new one; you can take a screenshot to remember your settings from old version
-
or this: http://modules.processwire.com/modules/template-editor/
-
I haven't tested the current use case, in terms of disabling HTML Purifier, i was hoping i could do it without having to resort to that, though i'd guess it should work (?). In this scenario, I am worried about users pasting in junk, so I think i want to keep the purifier, but allow very specific custom markup, as i'm using @BitPoet's CK editor inline actions to allow users to reference other pages, and/or special 'media' pages that can hold things like images, videos and audio. In the case of videos, i was going to have the insert be a simple poster image for the video and then on output i would look for paragraph with a data attribute, and then replace the image in that paragraph with a clickable poster image to the video, probably using something like Magnific..
-
same here, looks like i need data- attributes available on paragraph elements...
-
module Generic, extensible Autocomplete for InputfieldCKEditor
Macrura replied to BitPoet's topic in Module/Plugin Development
this is working really well for inserting images, audio players and videos from a central media library, inline into ck editor. It saves so much time since it is so fast to insert the page reference to the media item... and i can just intercept my custom insert templates and replace with the video player popup, or audio player (soundmanager2), or responsive image... -
The download url is the $page editor, with some parameters; the person accessing the file needs the correct role/perms the file has to be delivered to the browser, since it is in a non-web accessible location.
-
there is, at least in the dev branch (not sure if it was committed to main) – there should be a download file, and a view file option. and if you are serving the file, make sure to supply the $options, with ['forceDownload'] => false
-
mod sec?
-
I just upgraded core and the settings do still work; What PHP version are you running? Do you have TracyDebugger installed? Would be good to see what bd($f) is around line 136
-
I think you actually need to have more than 1 tab if you're going to use wiretabs (?) you said you tried it with the wiretabs-example.php ?
-
Yep, working great, thanks again!
-
whoah that is super amazing! Thanks – yeah i have 2 sites with random capitalizations of words in a certain field and am case changing them all... sometimes editors use all caps for things..
-
Hi @tpr - as always thanks for this module. I wanted to add a feature request, which is to make the case changer something that could be used on other text fields (not sure how feasible that is); using that one a lot and is really helpful; i hacked my own 'other field' usage for the moment.. (using AdminCustomFiles)
-
ok thanks @Zeka and @adrian, the module has been updated.
-
@Zeka I think the 2 things that need to happen are (1) change the selector and not have to iterate, that was not efficient, but the process does not appear to be queryable; if the process was able to be part of the selector that would solve this issue completely, but for some reason it doesn't work which is why it ends up being an in-memory find; if we add a field to the module that sets the parent of the settings pages under admin, that would reduce the pages loaded, tested this and it did reduce that by a lot. $adminPages = $this->wire('pages')->find("template=admin,parent=2153"); $settingsPages = $adminPages->find("process=ProcessSettingsFactory"); $adminPages->uncacheAll(); (2) not sure if the uncacheAll() call here is correct, but it also seems to further reduce the pages loaded. If you want to hack the module and see if these changes work in your setup (make sure to change the parent=id to the id of the parent of the settings process pages), I'll carry on testing and researching here; If anyone out there knows why the process is not queryable by the selector engine, that would be good to know, would help on another module also..
-
right, ok thanks for the report – i have an easy fix for this, will post update soon.
-
oops, this server is running 7.1.19, so this is a warning... I got rid of the warning, had to downgrade to an earlier version of 2.7.3 (dev) and then hotfix the files field to get the images working again...