-
Posts
1,548 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
Google Maps module to store lat/long coordinates?
Ivan Gretsky replied to a-ok's topic in General Support
Map Marker? -
This topic is too long, so might be a "repeater" (though google says it is not here yet, so...) http://phptrends.com/category/13 - as I get it, PW is number 19 rated repository for php cms on github. So putting those stars just might change a thing)
-
I actually need to crop image on upload (to cut out a watermark) via API in an import script. I cannot allow to store both original and cropped image due to storage limitations, so calling size after upload is not an option. Please be kind and propose a solution: where to hook what)
-
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
I found another one for ya: show:version. Show is a verb, version is a noun. So it is now almoast equal amount of right commands and annoying ones) I guess we shall just name things different. First word is a something more general, second is something less general inside of that more general realm. Things will be more clear as soon as we have not only backup:db, but also backup:files and backup:site, backup:templates and backup:all. I would also vote for backup:and-upload-to-my-live-server )) -
Why shoot?!)) It is documented explicitly a few posts above.
-
Are there any decent open source choices, which are not half-dead like FluxBB or EsoTalk nor half-born like Flarum? What about SMF? Does not seem to have a mobile version, but scales down to tablet pretty well. Does anybody have any experience with that software? I've seen it being used for some quite large Joomla forums. Edit: Vanilla is Open Source too and seems to be alive and responsive. Missed your post, Craig.
-
I guess missing "echo" is not the case. Check if your page fields are configured to return single item, not an array. You can do it on field "details" tab.
-
Hey blad! You new Al Pachino (or is it jewish fundamentalist) look brought me here again)) I rewatched the awesome video and finally realized why does it end with the clip it does (at 1:13 and on). It is the default admin theme!
-
Go to Setup->Languages. Choose a language for which you will create transaltions (by default there is only one language called default, crete more if you need them). Under "Site translation files" press "Translate file" button. Choose a file to make translation to and "Submit". Go ahead and express your super multilingual capabilities.
- 4 replies
-
- 2
-
-
- Language
- translations
-
(and 1 more)
Tagged with:
-
Hi, Oleg! Try this: $page->category->categorytype->title; I assume that you got a pagefield named "category" on you product page pointing at the category. Edit: And you should name a topic something more explicit tham just "fields".
-
You have to have Language Support module installed. Look here: http://processwire.com/api/multi-language-support/
- 4 replies
-
- 1
-
-
- Language
- translations
-
(and 1 more)
Tagged with:
-
Hey joey102030! I think kongondo's advice is necessity but not sufficiency to achieve what you need. You should add some js/jquery pligin on top of that wonderful module to make it work as accordion. You download the js plugin and plug it in the template file like any js with <script>. Than customize the plugin and/or Markup Simple Navigation output options and you're done.
-
I think you can find a ready to use solution for this task cheaper than writing your own (as it seems like a really common task). And a new one could be simplier to develop from ground up or some general framework with classical 1 table per object approach.
-
Tell a bit more about your aplication so we can give some more help. If your application sends email than Form Builder is the way to go for sure. And you should get Form Builder anyway. I am getting my copy of a developer version this week. It is great! Edit: Got it!
-
Nice start man) Everyone starting on The Forum with a module should get a free candy . I know nothing about what it is, but if it'll do what you say it's a great thing.
-
As it is your first appearence in the forums, bluerobsn (greetings, by the way ), I suggest you may be new to the way PW works in general and its terminology. So maybe you are asking about very different thing. If it is not the case, sorry. Just ignore everything below. In Processwire all data from all pages is accessible via api from each template file. So you can get content from any page from any other page and use it there. Just get your head around all this, go through a tutorial or two and it'll make sense.
-
How to use Json generated from Pages Web Service module
Ivan Gretsky replied to manlio's topic in General Support
If you need to query this from the template file via php, I think you could use cURL library. You get you json output and decode it with json_decode. Then you build the desired output with regular php. Probably there is a way to make a temporary PageArray from the received data for the ability to use standard API calls, but I never done it (as never done other things suggested above, so please be critical and share you experience). -
3) I am testing on Firefox with ctrl+shift+m adaptive design check. It never stops loadind. It does load in chrome with mobile view. Have not tested on real mobile devices, so might be something with the browser. 4) On mobile the white background is do narrow it is hard to read the text. Maybe it is not so important.
-
Nice one. Will check out scrollr - somehow it escaped my attention. 1) It seem like too much scrolling - my finger gets tired) Maybe it should change a bit faster. Especially the bearded businessman part. More dynamic. 2) The arrow in a circle on first screen looks like it has to be clickable, but it's not. 3) Do not know why, bit sometimes the site load as it should, but sometimes that icon jyst keeps on spinning. 4) It seems like you should check it on lowert screens. Not everything is perfect.
-
How do you organize module files in your module folder
Ivan Gretsky replied to Ivan Gretsky's topic in General Support
For now I can think of making a folder titled as site name or something, name modules with site prefix and put them in there. Maybe it is usefull to make some common modules like executeOnProcessSave.module and put all the logic for manipulating data on saving pages. -
Thank you for sharing! I did not read to the end and dug into the source code to spot those js plugins. Came back to reading - and here they are - listed and explained. Always nice to find out some working solutions (although most of them are paid). Always interested in your posts as they uncover some usefull frontend techniques. Please share your experiense when you're done with integrating gulp workflow. The only flaw of the site is that it loads forever from 2mbit/s in Russian backwoods where I am at, but I am not target audience anyway .
-
Looks awesome, blad! Video is worth a thousand words. I hope you'll have time to make a detailed video of backend.
- 3 replies
-
- 1
-
-
- showcase
- development
-
(and 1 more)
Tagged with:
-
I was looking for a way to organize service modules for a site and found this topic. As my question is a bit broader, I decided to start this new one in General Support. How do you organize module files in your module folder? Sometimes I get quite a few similar one-purpose modules which I will never re-use. It feels wrong having separate folder for each one (and even having them listed on the module page) as they just change title on save or something like that. Do you group similar functions in one module? Do you batch install them somehow with a master module?
-
I am no expert in htaccess commands so won't help you out with this. But I can't see why those redirect modules do not fit. They return 301 http status codes as far as I remember - you can check yourself with something like this. I still vote for going "the module way" here.