-
Posts
1,473 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
Shop-for-ProcessWire (@Apeisa)
Ivan Gretsky replied to Nico Knoll's topic in Module/Plugin Development
I was thinking about starting an e-commerse skeleton profile myself, but I am really happy someone with more experience is already doing the job so expected and timely! If there is a way to take part in this great endeavour (like testing or just pushing that "like this" button) please let us know. -
Textformatter To Remove Annoying Image Heights
Ivan Gretsky replied to diogo's topic in Modules/Plugins
Couln't we get those dimensions from the image-file itself? After loading? I guess getting those from the attributes is not even reliable. And what is that nosize variable doing there? It is populated from "data-nosize" attribute which we should somehow be able to set... I am not so good at this yet to figure this out, but it seems like this can and should be done here, not via the module. But diogo is surely "the man" that moves PW to be more responsive-ready. Did not see Soma's reply. Нe is "the other man" . -
Maybe they just hacked your site but not domain? Ping the url and see, where this page lives. Maybe it is on your server.
-
Textformatter To Remove Annoying Image Heights
Ivan Gretsky replied to diogo's topic in Modules/Plugins
Nailed it! It is not in the TinyMCE but in the pwimage plugin to it (in the PW core - editor_plugin.js). You can comment out 2 strings and it will work like you want it. There is even a check on some flag "nosize" which should do the work without a hack. I just can't find a place to define it in the admin. (something else is going on here). I guess, we could ask to add an option to leave widths but no heights to the images inserted in TInyMCE fields. -
Textformatter To Remove Annoying Image Heights
Ivan Gretsky replied to diogo's topic in Modules/Plugins
In TinyMCE 4 you can just add image_dimensions: false and it will solve the issue. Just tried it out on 3.5.11 and it does not seem to work, so the module is a solution until version 4+ of MCE will be integrated into PW. Did not try on CKEditor - maybe it has it already. -
Was thinking about the possible implementations of this outside your KB site profile... Could it be used in online-stores for something like "wishlist" or "to see later"?
-
Release: Rudimentary knowledge base site profile
Ivan Gretsky replied to marcus's topic in Themes and Profiles
@kongondo But not everyone will be here long enough to find that out. I never went to joomla forums doing sites with it. When I first came to PW site, I was not even sure it is alive. But I think it is our common interest to make PW more widely known. And placing that profile in the directory can help that just a little bit -
Release: Rudimentary knowledge base site profile
Ivan Gretsky replied to marcus's topic in Themes and Profiles
@marcus: I think profiles can really push PW forward. For the developers starting their way with the CMS (like me) it is a good way to learn by reading someone else's code. For the non-coders it is certainly easier to start with a profile. I found out about this one only due to Teppo's flamingruby blog, while having visited site profiles page several times. If it is not as polished as it could be, you can mark it as "early beta" (but as everything good in modules directory seems to be in beta it probably won't stop anyone) . I think some communities shall grow around those profiles. Reading that PW vs WP article I started thinking that Processwire is the tool for building Wordpress-like systems (and Ryan's blog profile is the proof to that). But not only Wordpress-like. We should have both examples of the capability of PW and easy to use systems (read "profiles") build on it. Your profile is both. If I got it right you used Pure css framework, which is not demonstrated in other profiles. So only that is worth looking at. -
Release: Rudimentary knowledge base site profile
Ivan Gretsky replied to marcus's topic in Themes and Profiles
Could not find this profile in the modules directory. Please do post there, because it is worth sharing for sure! -
Maybe a bit late but check out this wonderfull piece of code by Nico.
-
Only while reading comments to that article I suddenly saw that PW is a mirrored WP. This is probably by Ryan's design and quite telling - we go somewhat the opposite direction. WP is less knowledge required but less flexibility and PW is more of those.
-
Not quite sure if I am getting it right, but hooks seem to cover most of the use cases for that in PW. While working with Joomla though this vQMod seemed a way to go as there was no easy way to override models and controllers. But maybe I am just not there with PW yet as I have not needed to override core files.
-
Thinking about a Like/Recommend button module
Ivan Gretsky replied to landitus's topic in Module/Plugin Development
@landitus Ryan's module is not so cheap. Maybe it is not such a bad idea to actually make a module like that (maybe not as complicated as Ryan's). I can see using it in many places but can't see myself paying $50 for that (i guess same numbers look different from different parts of the globe). It is always good to have a free alternative. I was thinking about a site profile using "liking and starring" functionality. And there is no way to include a paid module in site profile. -
Joss' advices can be easier to implement if you do not care about users with no javascript. If you do, you should try doing it with media queries alone as proposed in my posts above. Though polyfills for those media queries are still js .
-
There are some new ways to do it. They may not be so good for old browsers though.
-
You should serve different images on smaller screens. It is even much more important performancewise. This should be accomplished via html/css. Look here to compare options. Processwire can help you prepare different sizes for an image. Look for "resizing images" here.
-
I believe it will. At least it says so here. And just to be sure, check here too.
-
Maybe javascript is turned off? It seems that only TinyMCE fields do not work. They should fallback to textarea, but check anyway.
-
Probably not. If you can, make a screenshot of a page where you cannot edit content. How do you know you can't edit? The textarea is inactive? You got some sort of message while saving a page?
-
You got to love functions, URL Segments, Hanna Code and PW
Ivan Gretsky replied to Joss's topic in Pub
Joss, you post is like a teaser for a good case study ) Maybe you could actually deliver the latter? Of course if you've got time and motivation to do so. -
I am really sure that we should be able to make those E-commerce solutions in PW without the need to add some 3rd party software (exept for the payment processing). PW is the best for creating custom fields, so we know we can make the catalogue part of a store the best. Apeisa made the cart and checkout modules. We should figure out what modules have to be added and do so. I made a couple of online stores with Joomla, but cannot say I know the architechture of those type of sites well enough to coordinate a project like that. But am willing to take part at least testing. As I can see now the result of a work like that would be a site profile (pretty much like Drupal Commerce in Drupal world). If we could find a way to easilly add online store functionality to an existing site (like features in Drupal), that would be even better. I know I am probably dreaming, but isn't PW a dream come true? What do you think? Is it possible to make ProcessWire the best E-commerсe solution for ProcessWire?
- 69 replies
-
- 3
-
- e-commerce
- digital downloads
-
(and 2 more)
Tagged with:
-
There is a way to add those meta fields to all templates at once, bit I couldn't add the whole group. I guess that would be a usefull thing to be able to do as metatags are usually used for all accessible pages on a site. Do you have any ideas how it can be possible? If you have time and desire to extend that very useful tutorial I would be very interested in learning ways to implement actually "Dynamic Meta Tags" (those shown here are custom, but not really dynamic). Maybe with Hanna Code or something like that. Of cource we can easily add that "dynamics" in the template, but that is not a good thing if you got someone doing SEO who is not so much into development. By "dynamic" I mean generated by template from other fields and the logic is configurable via GUI.
-
I guess as our friends from Argentina start contributing to PW as much as those from the land of the Deutsch, they will have more chance to achieve exellence in sports as well . The game was pretty much balanced, but Germany surely deserves the victory much more looking from the "birds eyes" perspective.
-
Actually there is a solution for working with slice_array. The thing is that $pages->get("/news/")... returns a PageArray thing, which is not a php array, but probably an object (not sure). But there is a way to get this data as a php array like this: $array=$pages->get("/news/")->getArray(); This one you can slice. And there is a native way to slice PageArray (diogo wrote about it): $pages->get("/news/")->slice($n, $limit). Read about it here.
-
Oh thank you. As I was reading the PRG docs, i mentioned that you should redirect with 303 code. I see that $session->redirect("/some/thankyoupage/") throws a 301 code and $session->redirect($url, false) a 302. So it is not even possible to do it the recommended way. Anyway $session->redirect($url, false) seems to be the right choice according to that wikipedia page. Thank you very much for help!