-
Posts
1,011 -
Joined
-
Last visited
-
Days Won
8
Everything posted by SiNNuT
-
Why are my pages only accessable in default language?
SiNNuT replied to Timo's topic in Multi-Language Support
Will this do the trick? https://processwire-recipes.com/recipes/activate-all-languages/ -
Just skimming this thread quickly but wanted to point to the html5 boilerplate htaccess which has some pretty robust stuff for supressing/forcing www and https. These have always worked for me on a variety of hosts. https://github.com/h5bp/server-configs-apache/blob/master/dist/.htaccess
-
http://cssgridgarden.com
-
Adding language broke database and PW admin
SiNNuT replied to mikeuk's topic in Multi-Language Support
I don't want to sound too defensive here but PW gets a pretty decent amount of usage, from 'simple' sites to things quite more complex. If it were to break down often after performing common actions i don't think it would still have such a sizable following. In fact, i would say that PW is pretty damn stable. I understand that the admin becoming inaccessible is a frustrating and undesired experience but is has been addressed in more recent versions. I think you're a little quick in doubting the quality of PW's development. -
I could have sworn that i've once seen something like this floating around the forum. I think it was a textformatter that autmates toc and is used on the PW sites for blog posts and such. Can't find it though
-
Cool stuff!
-
I'm not quite clear what you mean but maybe these are some solutions: (first) child redirect: here and here (menu) item that links to another page: here
-
@AndZyk Compass and Autoprefixer don't do exactly the same thing.
-
QGIS, a really great and capable free, open-source gis software. Plugins available to make some quick and easy webmaps. Inkscape, definitely not flawless but as far as free vector graphics progs go, it is hard to beat.
-
Nice site MuchDev. Only checked it out on smartphone and noticed a couple things: - there is a small horizontal scroll on the site - the cart is a bit off with margins/padding, stuff coming up to the edges etc. - when adding some items the cart counter in the menu does not update Unfortunately i can't do screenshots atm but it might be worth checking things out on smartphone / small screens. Used an xperia z, chrome and android 5.1.1
-
As horst explained a lot (most?) of modules will work just fine on, even if compatibility is not yet explicitly listed. But most of all: a lot of new stuff and upgrades have gone into PW3, starting from https://processwire.com/blog/posts/processwire-2.6.20-and-surprise-processwire-3.0-alpha-1/ and basically every following blog post.
-
Error: Maximum function nesting level of '100' reached, aborting!
SiNNuT replied to desbest's topic in General Support
You can probably find enough on xdebug with Google. It's a debugger/profiler for PHP and not unique to ProcessWire. Reading this thread will give enough info i guess. If you don't use xdebug you can turn it off altogether or adjust the setting LostKobrakai mentioned in php.ini -
Thanks for sharing! Valitron seems like a nice library to have in the toolbox. One question: Is it necessary to define the namespace twice in contact.php?
- 76 replies
-
- 1
-
@giannisok i've went ahead and split your post into a new topic over here: https://processwire.com/talk/topic/14206-contact-form-tutorial/ Because your form is not really a module/plugin i thought it best to move it to the tutorials section. Let me know if this is okay.
-
Impressive stuff!
- 4 replies
-
- 1
-
- classifieds
- agri
-
(and 1 more)
Tagged with:
-
-
Never been in the position but indeed it would be great to hire Ryan to do some cool stuff.
-
It's possible that i'm not totally up to date but i don't think ImportPagesCSV is working in the latest PW versions.
-
Not quite. Datetime fields are actually stored as MySQL datetime fields in the db. For the wakeupValue this always gets converted from 'Y-m-d H:i:s' string to timestamp via strtotime. Once you save the field the timestamp is converted to 'Y-m-d H:i:s' and stored in the db.
-
Haven't tried myself but you could see if this is something you could use: http://processwire.com/blog/posts/processwire-3.0.21-and-2.8.21/#multi-language-toggle
-
Sort problem: Selector with date needs empty dates last
SiNNuT replied to Xonox's topic in General Support
In MySQL NULLs are considered lower than any non-NULL value. So if you order ASC then NULLS come first. To change this you would use maybe something like this in MySQL: ORDER BY ISNULL(yourfield) ASC, yourfield ASC; But i don't think ISNULL is somehow implemented in PW's selector engine sorting. I've never needed this myself but maybe it's worthwhile to add this. A very ugly workaround could be to set the 'no date' items to a date of let's say 31-12-9999. I think a second find for empty items and appending them to the original PageArray wouldn't hurt too much either. You could compare performance against solutions like Wanze's. -
If you look in the settings for your particular integer field (cruise_spaces) there should be an option to set how '0' values are treated. If you take the option that 0 and blank are not the same i think it will solve your problem. Setup->Fields->Edit Field: cruise_spaces Under the 'Details' tab