-
Posts
4,956 -
Joined
-
Last visited
-
Days Won
100
Everything posted by LostKobrakai
-
If you've unpublished the batcher's admin page, so it can probably not be cleanly uninstalled, so the page remains. On reinstall it's trying to recreate the still existing admin site and that fails. Just make sure you remove this page (Admin>Setup>Batcher) before reinstalling the module.
-
Multi-language support: FormBuilder and Options fieldtype
LostKobrakai replied to steveooo's topic in General Support
There's currently no other way to have multilanguage options in formbuilder other than creating pages. -
Pizza! Definetly pizza.
-
I just rolled it out on my photography portfolio, as the hoster is super active in tech. stuff and has already automated most of the hard work of setup. Went nearly to well. 3 ssh commands and some "I Agree" statements and I'd my site encrypted in about 10 minutes.
-
To prevent double content penalty in search engines just supply a canonical link in the head of the page, if the current page is not available in english.
-
Or simply unhide the Tree Page under Admin > Pages > Tree.
-
I'll wait some time and see if there are any issues, especially with the tool they provide. If I need a new cert for any private site the next time I'll certainly give it a go.
-
It depends: $pages->count() does work with a selector supplied, whereas $pages->find("some=Pages")->count() doesn't use any parameters, because pages are already loaded to a PageArray.
-
Module Module: RuntimeMarkup Fieldtype & Inputfield
LostKobrakai replied to kongondo's topic in Modules/Plugins
The module could just check if Inputfield Ace Extended is installed and use it if so. That would prevent the big filesize like it's the case for hanna code and leave the code editor optional. -
The password is never stored as plaintext, the latest hook you can get it Password::setPass, which does the hashing as soon as a password is set as field value.
-
Page field shows selection as timestamp(label)
LostKobrakai replied to Orkun's topic in General Support
Try the custom format and put {date_from} into the field. I think this will give you another format than a raw timestamp. -
Drag and drop can be quite easy, if one doesn't use jquery UI: http://bevacqua.github.io/dragula/
-
Are you sure that you ftp program does show the full path? What's the output of $config->paths->root? I can hardly imagine a server to have the full filesystem in the webroot.
-
Would it be possible for you to check the db if the data is actually stored? The table would be field_YourCacheFieldName. Additionally, could you replace the submitted string with a static one, to be sure that's not the root of the issue.
-
Deployment over ftp just doesn't make sense as you cannot access the db via ftp. Also ftp can upload files, but not execute them, so it's really a lot less useful in that context.
-
@Tom. That's actually the same in outcome, just a magnitute worse from the performance standpoint. $pages->count() does let mysql do the counting, whereas your code does first load all found pages to memory and then count them with php.
-
The thing is, such tools are great for encapulated frontend dev work, but i doubt anyone here is living in this kind of a bubble. We all work on the backend as well, which this tools cannot cater to. I still hate it that I sometimes need to translate UI I created in sketch to actual code, but in the end I wouldn't be much faster by using the pregenerated code as well. Often I even sketch ideas out in a codepen/jsbin or such and then import the code into my project.
-
Don't worry about the icons, have you seen some of those many wordpress plugins?
-
I'm currently working on a bigger project with migration files, like posted here: https://processwire.com/talk/topic/11382-migrating-modules/?p=106238. Currently there's no migration automation, but it keeps changes to the db manageable by source control. I just deploy by git pull and then run the new migrations manually.
-
@justb3a Can you handle things like fresh content on the prod. server with this tool? Simple db transfers just don't cut it most of the time.
-
Maybe this: https://github.com/ryancramerdesign/ProcessWire/issues/1532#issuecomment-160938579
-
Just create one of those fields and most of those will be answered already by the descriptions/notes in the field editing. Essentially you don't have to worry about anything, create the field, add it to a template, save the page once or regenerate the cache by using the option in the field editing interface and add it like any other field to your selector. Now you can essentially forget it's even there.
-
I doubt there's any official documentation, but there's actually not much more to know about. It combines the string contents of each specified field when the page is saved and stores it encoded in json in the database. The same does happen when a page is loaded to populate the runtime accessable fielddata. If you then search the field and the keyword is somewhere in the json blob, than it's somewhere in your other fields, too. Besides that it's handled just like any other field as well. If you've any further questions just ask them here.
-
Repeater field usability; reverse order/collapsed items
LostKobrakai replied to a-ok's topic in General Support
Display flex with sort-order column-reverse could also work.