-
Posts
4,956 -
Joined
-
Last visited
-
Days Won
100
Everything posted by LostKobrakai
-
I mostly use a empty template with just a redirect. One could even use a template with a simple pagefield to choose the page to redirect to. This way it's one reusable template with one small php file to it. This is easier than trying to emulate a site all over the whole website.
-
ProcessWire doesn't even touch your css file. It handles only the part of generating the html. The css file is direcly loaded as file. The .htaccess file contains the rule to forward all real files directly (css/js/images), while everything else is taken to ProcessWire itself. # Do you have any caching enabled in the .htaccess file? I can't image anything else, after all the things you already checked. Or did you check if the upload does work as expected? Maybe there are some issues in uploading/overriding the old css file on the server.
-
Module Module: Matrix Fieldtype & Inputfield
LostKobrakai replied to kongondo's topic in Modules/Plugins
Did you read the first post here? There's an explanation for exactly your questions. -
Problem with Module 'LanguageTabs' dependecy
LostKobrakai replied to a.masca's topic in Multi-Language Support
Yeah I had this problem with this version as well, but if I remember right it's fixed for the dev version. I don't know when or if there will be a fix for the stable version. -
Problem with Module 'LanguageTabs' dependecy
LostKobrakai replied to a.masca's topic in Multi-Language Support
This seems to be a bug. I've been to this issue by myself. Which version of processwire do you run? Maybe this is already fixed in a later version. -
Module Module: Matrix Fieldtype & Inputfield
LostKobrakai replied to kongondo's topic in Modules/Plugins
I could see a third dimension being added with InputfieldTabs combined with the current table interface. The relation between the "tabbed" dimensions is noticable, as all cells stay at the same place, while changing. -
Hi there, I'm currently doing some updating to my portfolio site for my photographs. Now I wanted to implement a masonry layout, but sadly this doesn't work well with the library mixture I've got there. I want to use picturefill.js to get better loading times from the start. I'm not using the fancy stuff, only srcset and src for lowres fallback. Now masonry.js does require imagesLoaded.js for triggering after the images are loaded, but the latter doesn't do well with srcset by now. masonry.js could calc it's grid from the width/height attribute of the image, but I need a anchor wrapper around them for the lightbox markup, so this doesn't do it as well. So my question is: Does anybody know a masonry library, which I can feed raw size-ratios or imagesizes to calculate from? Something like this: <a … data-width="1500" data-height="1000"> <img src="lowres-300-200.jpg" srcset="…, highres-1500-1000.jpg 1500w" width="1500" height="1000" /> </a> Slightly off topic: Just now I would sign any html spec, which includes the addition of every element being able to behave as link with the href attribute. It's kinda nice idea actually. Update: -------------- The img width/height attribute does affect the link if it's not set as display: inline, but somehow the calculation does take quite some time, because of the images not being shown at 100% ( http://jsbin.com/gihapimifa/2/edit?js,console,output ). That's why the inital calculation of the masonry.js is so wrong. I think for now I'll stick with doing the layout on every images load event. Maybe I'll find something to tell me, when the css calculation, based on the attributes is done, rather than waiting for the image to be loaded.
-
Merry Christmas to everyone here.
-
I used it for "required if" and that's working. I don't know if it's the same for "show if".
-
Mailchimp uses Mandrill for the actual sending. It's the management and mail-editor what Mailchimp offers on top. Mailchimp is more casual, while Mandrill seems more for professional clients, so the advertising in the mail is understandably more useful for Mailchimp than for Mandrill. @pwired They reserve the right to look into emails, if they violate the terms of use. Also as Joss said it's nice and easy for smaller companies, but their infrastructure is build for the big fishes of companies. It's just a way to get people to their service, so they later maybe use it for something which hits the limit. Thats at least more useful than letting the servers run idle. Secondly, emails are mostly send unencrypted, so everyone, who operates one of the hundreds of servers the mail goes through can intersept and read them.
-
RT @NinjaEconomics: Google is now worth more than the entire Russian stock market h/t @jolshan http://t.co/h0MlnNPwLP http://t.co/r2DFym9tSj
-
That's ultimatly what most people wanted to use there. I mostly used something like this by now "\c\o\m\m\e\n\t-Ymd-His"
- 100 replies
-
- 1
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
It doesn't need to be nodejs or some other cli. Via webhooks github could trigger any online accessable script, which could then dynamically check for a new version number and new hooks in code. The only issue would be, that this doesn't work on the github servers alone, because github only hosts the files, but there's nothing scriptable available aside from javascript.
-
BittorrentSync could be a rather simple solution for distributing the filesystem to different machines.
-
Add a new action button to page edit screen
LostKobrakai replied to Ivan Gretsky's topic in Themes and Profiles
How about FieldsetTab and a PageTable? -
Excluding repeaters from $pages->find()
LostKobrakai replied to Mike Rockett's topic in API & Templates
A temporary fix would be using this"!template^=repeater_", but maybe someone should file a github issue, so Ryan can take a look at it. -
#1 doesn't work for api added images, so the second one is the number of choise.
-
Is there a way to apply autorotation to the original file in a imagefield? I know, that it's best to store the original image as is, but I don't want to duplicate the filesize, as it's user generated content. So there's no chance to edit the image afterwards anyway.
-
I'm on a german shared hosting, which is provided by a some linux devs (no marketing/business people). They provided their backup strategy here, but it's written in german. As User I found it super easy to go through backups and restore stuff, that's why I like it and as hostingprovider this has to be bullet prove. https://wiki.uberspace.de/system:backup If theres some interest I could maybe translate it.
-
I bought one a month ago for my gaming pc. This one was reasonably cheap for what it offered in terms of color quality. http://www.amazon.com/Asus-VS248H-P-24-Inch-Full-HD-LED-lit/dp/B0058UUR6E/ref=sr_1_1?ie=UTF8&qid=1417021156&sr=8-1&keywords=Asus+VS248H&pebp=1417021158360
-
Different selector operators
LostKobrakai replied to LostKobrakai's topic in Module/Plugin Development
I wouldn't mind if I didn't had it that way already. That's why I stumbled with it, because everything seemed like in all those other modules. $schema['keys']['data'] = 'FULLTEXT KEY data(data)'; $schema['keys']['street'] = 'FULLTEXT KEY street(street)'; $schema['keys']['number'] = 'FULLTEXT KEY number(number)'; $schema['keys']['postal'] = 'FULLTEXT KEY postal(postal)'; $schema['keys']['city'] = 'FULLTEXT KEY city(city)'; $schema['keys']['title'] = 'KEY title(title)'; $schema['keys']['country'] = 'FULLTEXT KEY country(country)'; Edit: Yeah, somehow my mind must have been empty while I wrote this. "lastname" and "province" missing. Edit2: Can someone explain, a little further what these keywords actually do in the database? In a quick google search I found, that also the order of columns can play a role for indexes, but I'm not that fluid in database stuff. -
Different selector operators
LostKobrakai replied to LostKobrakai's topic in Module/Plugin Development
Thanks, now at least %= is working, so my search is usable. Using *= gives me this error. Fatal error: Exception: SQLSTATE[HY000]: General error: Can't find FULLTEXT index matching the column list It's sad, that this part is left out in the FieldtypeEvent as it should kinda like a blueprint to custom fieldtypes. -
Files in an image field are always resized by the php gd library to create the little thumbnail in the admin area. So I would think the image has to be readable by this library and an svg isn't as it's a vector format not a pixelimage. Try using a file field, this should work.
-
Your pictures are on the homepage. But this code seems to be from a different template. So you need to call your images from the right page - the homepage. … $homepage = $pages->get("/"); //get the homepage foreach($homepage->images as $images) …