Jump to content

Ivan Gretsky

Members
  • Posts

    1,533
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Ivan Gretsky

  1. I am using 2.5.14. And have no idea if it is the latest and greatest or not. Could you please suggest a way to keep track of dev branch updates. Sorry for offtopic here. I am blindly going through the files on github dev branch and cannot even find those numbers there yet)))
  2. I do not know of any organization related to PW other than Ryan Cramer Design, which might be a one man enterprise (do not know anything about it). There is this forum community with admin team organised somehow (do not have any info on this either). There are people taking care of this forum software (seem like Pete is one of them or the only one of them). I can imagine mentoring programs require someone to organise mentoring, and it is likely we do not have no organised structures to cope with that. Ryan seems to be pretty busy with his outstanding job developing Processwire and probably doing some custom web design and development. My opinion is that the time is right for ProcessWire community to become more organised. There are tasks for organised community which have not been covered yet like: maintaining modules directory up to date, qulifying modules to it; organizing translation activities; making recomendations on the roadmap; actually doing some development to help Ryan; doing some marketing; writing and maintaining some documentation on PW; and mentorin talented folks of course ) I do not know how it could or should be done. I do not know anyone else's intentions on that, but it seems like some people here are willing to take part in those kind of activities (myself included).
  3. Please do, Adrian. I can't imagine living without your module anymore )
  4. I think maybe the original question was not about changing the path to the folder where templates reside, but rather about being able to put template files in different subfolders of site/templates (or something different, adjusted with the methods, described above). Although you can change the file used as template file for the template in Admin -> Setup -> Templates -> Edit Template on the Files tab, you cannot point to something like "views/product/product.php" there as far as I know (at least it did not work when I tried). You can only choose different file in template folder. It could be just great if you could.
  5. I think it is better to have your overrides as well as custom styles included in app.css to reduce http requests. This is all made easy with sass via @import. If you customize foundation, you will not benefit from framework being cashed in browser anyway. So put you custom styles in app.scss after the foundation import directives or in custom included partials.
  6. Yes, as far as I know. Maybe there is some way to overrule that, but the mainstream way is to put them in tempates site/templates folder.
  7. I can even fetch the best results for you: me and Google are your friends! https://processwire.com/talk/topic/2089-create-simple-forms-using-api/ https://processwire.com/talk/topic/407-processing-contact-forms/ https://processwire.com/talk/topic/4998-i-need-only-a-contact-form/
  8. I do not know if it is an easter egg or our competitors intrigues, but when i write f-a-s-t a-n-d f-u-r-i-o-u-s without the hythens in personal manager, I get "Drupal and Joomla"))))))) Here too! What should I write to get "ProcessWire"? Maybe "Bigger, Faster, Stronger, Easier"?? Or "Faster and more furious"?.. Didn't work .
  9. Here in Russia the New Year's eve is much greater deal than Christmass. I know it is not the case at least in USA, probably in Europe too, but still want to congratulate all you PW community all around the world! This was my first year with ProcessWire. I want to say that this CMS and the best ever community around it was probably the one most significant thing I discovered for myself this year The recently published roadmap and the enthusiasm of the community members make me sure next year will be even more exciting. Thank you Ryan and PW addicts all around the world. Happy New Year! P.S. We got some really nice almost -20 C New Year weather. Wonder how is it now where you at))
  10. Cool! This has been waited for a long time! My limited anglo-suomi language skills do not allow me to fully recognize the meaning of the brand "Padloper". What does this mean?
  11. С рождеством! Merry Christmass! In Russia we celebrate it only on 7th of january as orthodox church still uses Julian calendar. But it is just a nice way to celebrate twice))
  12. Finally got a chance to use this module. Thank you apeisa! I installed it on current stable (2.5.3) and tested probably every function. I can state it is compatible with PW 2.5. If someone else could confirm that, maybe it can be stated on module page, so people would not be scared off by compatibility problems. @Mike Anthony: Patiently waiting for your new module. I was impressed by your Bolt redirect module satated functionality! When finished, your PW module should get almoast all use cases covered.
  13. I just thought that this ozwim's new module could be of great use here. I swear I saw somewhere it can cope with csv or xml as well as yaml. So it would be quite easy to copypaste formatted csv data in the textfield for the quotes. I have used similar solution on Joomla once. The input could be much more convinient this way. @kathep: I suggest you go the way so thoroughly described by horst as it is much more "mainstream" and usefull for learning to deal with PW in general. If you got a lot of quotes, check out this csv import module.
  14. 1) I think using pages will be the best decision. 2) I would propose to use page field to relate quotes to categories. 3) You can use this to get a random page.
  15. My function is totally useless. This is the decision I was looking for. Have not done my homework. I never found $page->find() - probably confused it with $pages->find() every time visiting the cheatsheet. I think has_parent selector, which I was deliberately looking for so many times with no success, can also do the job. I need stronger glasses.
  16. Yes, I took part in that conversation too. But it seems to me that the way it was supposed to work is to autogenerate name for a page on a pattern at creation time but not from the title. As there is no title on creation yet we could: either generate name from parent fields, dates, custon text + numbers, or apply the pattern on the first save (but not generate the title field by that pattern). If using your solution we have to: either not use title field for output as you probably would not want to use something like "prefix Wednezday...", or save the page to generate name field value and then change the title once again. I could misunderstand you as I did not apply you patch to the core.
  17. Looks great. But It seemed to me that "Name format for children" option should define name of the page, not title. On the screenshot it is title that gets generated.
  18. Joomla just recently changed their release strategy. I never heard we at PW have one )) I think we're mature enough to think about it. It seems a little strange to just freeze a version not providing any bug fixes in stable branch. Of course, it is strange only if you don't know how many people named Ryan from Atlanta are working on it . Anyway, clear release strategy is a must have to grow and to possibly involve more people in the development/bug fixing. Not sure what comes first though: strategy or more people .
  19. I think Manaus is talking about "Name format for children" option under Family tab of the template when only 1 template for children is allowed. Availiable options are described here. But me too would want them to be more rich, maybe something like in this Adrian's module. Edit: Checked it out and did not find a way to combine date and title (with or without custom text in between). If anything but "PHP date format" is in the field we get what Manaus showed in his post: something like 15313431mondayeurope-moscow.
  20. Was about to try XCloner as I know it back from Joomla times and found this vulnerability report, which seems to be not answered in any way by the XCloner team. Searched exploit-db.com for Akeeba and found just one which seems to be not so important one. Actually I would like to use some free script, but that the way it.is. By the way there are no entries about "processwire" there.
  21. Good day! There was much talk about translatng PW recently. So this idea, if realised, probably could serve many... Translation is best done in context. So you can see on what page and doing what the user sees the string to be translated. One way I can think of in-context translation is allowing a translater to translate a string while browsing admin interface. A module I want to request should add markup to all translationable strings which will somehow highlight them when it is turned on. It should also be possible to (right?)click on that string and be linked to language translator page with corresponding file opened. What do you think about it?
  22. Looking really nice. And the "powered by processwire" logo in the footer only makes it better)) Formbuilder forms could benefit from some styling, but they are not so easy to customize.
  23. @Soma: My function returns all pages under a page, not only grandchildren. Is there a way to achieve this by selectors only? @Kay Lohn: You should call the function with both parameters, of course: $children = getAllDescendants($pages->get('/events/'), false)->find("template=photo_page_template, parent=/events/, include=all, is_featured=1, sort=-date, limit=3"); $prependRoot determins whether the root page will be included in the PageArray returned by the function. Should have put a default value for it anyway. My fault.
  24. This code <?php foreach ($pages->find("template=photo_page_template, parent=/events/, include=all, is_featured=1, sort=-date, limit=3") as $child) { ?> will not work - it will only give you the direct children of /events/. The whole topic is about how to get all subchildren and/or only grandchildren, so read above )) If you incorporate my little function, you could do what you intend like this: <?php $listingPages = getAllDescendants($pages->get(/events/))->find("template=photo_page_template, parent=/events/, include=all, is_featured=1, sort=-date, limit=3"); foreach($listingPages as $listingItem) { ... }; ?> This way you only get featured photoes from under just the selected parent. You could just place the function in the template file before the actuall call to it. To have it to my disposal at any template I put it in _functions.php, which could be prepended to every template file by putting this line in the site/config.php file of your installation: $config->prependTemplateFile = './includes/_functions.php'; where "/includes/_functions.php" is the path to the file relative to templates directory.
×
×
  • Create New...