Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/05/2014 in all areas

  1. http://cheatsheet.processwire.com/pages/built-in-methods-reference/pages-find-selector/ We're on it and all are things we discussed. Just give us a little more time guys or help us out
    3 points
  2. Ok, i just build paypal module, will release it soon after little testing. Will also test everything with shopping cart that alll work with latest PW.
    3 points
  3. I never had troubles with any lack of examples (and to be honest, the forum is incredibly useful, which is very rare...) but I came across PW with some experience in php programming already, and didn't need them that much. But... Being mostly a Javascript dev these days, I came to like the concept of the cookbook which is popular in JS frameworks and such. Basically step-by-step development guides for basic or typical things (like the guide to doing the buildings site, or a guide to doing a custom field, module, or hook...) It could be a nice introductory step, actually.
    3 points
  4. You can change the label of any field for a particular template. Just edit the template, click on the field name to open the modal pop up and change the label for the field - it will only affect that template. Scrub that - I misread your post The problem is that until you have told the system which template to use, it does not know what to call the field. Hiowever, if the parent page's template only allows one template for children, then it does know and the alias will be displayed when you create the page.
    2 points
  5. Look cumbersome to me cause $cityid is not the id but the page object. So $cityid->title would be enough. No reason to get the page again. If you echo $cityid you will get the ID because of the __toString() method but in fact it's really a page.
    2 points
  6. Here you go: https://github.com/apeisa/PaymentPaypal-deprecated If you are trying to implement this one and not feeling lucky, just ask here. While developing this I played a lot with latest pw dev and shop modules. Everything worked just like they should - so I will move them out from alpha stage.
    1 point
  7. A site for a group of museums I recently built using PW. http://www.kunstmeile-hamburg.de/ - multi-language (german/english) using multi-language fields and page names Exhibition dates are managed per museum and are then chosen to show up on the home page. Perfect for this type of website with frequently changing content. Haven't had a single question from the client regarding the use of PW! Cheers Claude
    1 point
  8. Cool. While at it. I got some 'fixes' for shop modules and will pr it as soon as I get to it.
    1 point
  9. You could absolutely do a repeater, with the image field restricted to one image (so that each image corresponds to one text field in the repeater). But this problem has been tackled very well by Ryan, here: http://processwire.com/talk/topic/417-extending-image-field/ Also, I've been given this suggestion some time ago, and it has been very useful: the forum search engine isn't the greatest, but if you search in google, with something like "my search site:processwire.com" it can be a whole lot better
    1 point
  10. Hi all, great to see that so many of you are interested in an update to Foundation 5. So am I. I'm currently working on a Foundation 5 profile based on Ryans great work. I use the scss version of foundation as to have more control over the compiled css (compiling with compass). Also I'm including scss replacements for the main.css that get compiled together with the foundation stuff. So at the end I will have only one css file, minified. Not sure yet how to handle the foundation JS. At the moment I'm using the minified version with all modules included. But it would be nicer to generate my own js file that includes only the project-relevant modules. As there is no JS minifier included in Foundation framework, I'm looking for other ways to achieve this. If anybody has got an idea, please post here. Will take me a few more days until I release my work because tomorrow I'm off to the beach for a couple of days with no www access. But plenty of sun and Sangsom
    1 point
  11. This would seem to be MySQL issue; one or more of your database tables is broken. I've never had to deal with this particular issue, but this Stack Overflow thread seems to contain some tips on fixing it: http://stackoverflow.com/questions/8843776/mysql-table-is-marked-as-crashed-and-last-automatic-repair-failed. Try googling with the error message (without specific paths) and you'll find other guides too. You'll still have to find out which table exactly is broken, though easiest way to do that might be running repair on all tables starting from something like "pages". Since this does sound a bit "techy", especially if these kind of actions are strange to you I'd first consider re-installing PW (unless there's already a lot of existing data), returning your site from backups (if those are available) and/or contacting your web hosts support (if such service is available). I hope this helps a bit. Please don't hesitate to ask if you need more (or more specific) pointers!
    1 point
  12. Or simply $children->co_cities->title. Although the naming seems wrong because it seems it's not children but a child and the field is a single page select? So it should be co_city.
    1 point
  13. Yeah, I know that! Just need it to be a module in another hole! And you ear are sticking out from behind that stone....
    1 point
  14. Oh, I got one of those. This is not for general release. It was built against the current dev of PW, has my own variation of the new admin. It has most of the fields and templates stripped away and is a bit of a work in progress. It has the latest jquery 1x loaded, font-awesome loaded. It has two three footers - one for any footer markup, one with just script references and the third to wrap up the page (very obvious stuff and clearly marked) It uses foundation.js, rather than the min version, so that you can add plugins to pages that need them rather than have them global. But you can change this if you wish. It has a couple of other bits, but go and explore! EDIT: Just uploaded one with a basic Readme and without my template-admin in it. Treat is as a starting point for playing around! http://meinthemiddle.co.uk/found5-profilev2.zip
    1 point
  15. Soma, yes I agree with that philosophy. Years ago I had a friend who was against anything that took a visual GUI approach to what he did with the command line. Lovely fellow, but he had the opinion that if you could not be bothered to remember the commands, remember what directory things were in or remember to do certain actions in a certain order, then what business had you with using a computer or the internet? The real calculation is far more human - people want to do things, and just like watching TV or listening to music, they want it to be as effortless as possible and not to get tripped up their lack of knowledge or momentary forgetfulness (or regular forgetfulness for some of us!). Successful products (like Mac OS and Windows) do exactly that. It probably explains why I struggle so much with my home server!
    1 point
  16. I mainly use the Elegance admin theme, which includes a "Site" link. I missed this in the new admin theme too - so just add this code in the template: <li><a href="<?php echo $config->urls->root ?>"><i class="icon-globe"></i></a></li> Which produces the result attached (globe icon next to user profile one). Nice and simple
    1 point
  17. I'll say it once again... that's what my form save reminder is for so this doesn't happen when leaving the not saved form. I still think it should be core standard. Ryan seems against it because he is in fear of the wysiwyg that needs special treatment. I see that but would rather accept the challenge cause it is very well possible and all special inputfield just have to make sure they do a form change trigger if needed. There's not really any that currently doesn't work. I think a great software just has to do this otherwise it loses a big point in usability. But maybe thats just me.
    1 point
  18. Great, but here I really don´t know how to call that module from the front end, I´ve tried but could not get it to work so far. Actually the module to create links (ProcessPageEditLink I believe) would have to be called in the same way too. If I could get these two modules working in this context I would have full inline WYSIWYG editing on the front page for logged-in users. I think that would be very attractive for a lot of people. (I´m specifically talking about small website owners whose computer skills are frequently limited to surfing, checking their mail and writing Word-documents ;-) Right now I got everything working, except I have to send users to the back-end for inserting images and links. Come to think of it, I might also want to make the image upload function accessible from the front end to make inline editing even more seamless. The page content could then be managed completely from the front-end. One would only go to the back-end to create pages, move them around and adjust other settings.
    1 point
  19. Hi Ryan, it's great to have you back! Can't wait for the new PW launch! @Hertha, welcome! Yes, the nice people on this community also caught my attention, with the nicest of all being Ryan - it's impressive how helpful everybody is around here! You have chosen the right CMS, don't worry! I used to use Wordpress, CMSMS, Drupal, Joomla and will never look back after getting to know PW - there's great future ahead of it, but not only that, it's the most intelligent and flexible CMS you'll ever come across. Cheers! jw
    1 point
  20. @Ryan et al: Can't help writing a line to say thank you for this amazing project and forum and community! I've been lurking around here for a few weeks already, attempting to set up a project to migrate an existing static web site. I quickly figured out that PW was the way for me to go, because of it's technical features and concepts. What surprised me, though, was the fact that I was able to get answers on nearly every question that arised during that process "in an instant" - thanks to the excellent resources of this community and forum contributors devotedly offering a helping hand. That's simply impressive - I hope to continue to maintain a steep learning curve to be able to return a little bit of that at some time...
    1 point
  21. I think if you searched the entire web of forums you would be hard pressed to find a more responsive forum with such dedicated members. I hope those of use trying to learn ProcessWire everyday can help out in the future. It also baffles me that Ryan leave no question unanswered.
    1 point
  22. @Julian: since PW is simply using MySQL NOW() function, I'm guessing that your database has different opinion about correct timezone than PW. Typically it would be using the server timezone, but that's not entirely certain. This Stack Overflow thread contains some tips that could prove useful here.
    1 point
  23. I've used this script, built from stuff I learned here to back up sites in the past. It will only work on Linux hosting though. To use it, create a folder above your public_html folder called "backups". In this create two folders called "site" and "db". It must be above the public_html folder else you will end up backing up your backups and you will soon run out of disk space that way Now you need to open the attached file and change the path near the top to the path to your backups folder. Next, scroll down to line 41 and enter your site's root username and password (or a database users that you have created that can read all relevant databases for your site). That's it really - upload it into public_html and call it via a web browser to test it, but it should backup the entire contents of public_html and all databases, plus as a special bonus your mail folder, which on this type of hosting means that even if the whole server bursts into flames you can just re-create the mailboxes, put that folder back and the mail is back too Since it uses system commands to run the backups it won't work on restricted hosting, but the easiest way is to follow the above instructions and if it creates files in your /home/yoursite/backups/site and /db folders that have a filesize greater than 0kb then it will work on your hosting. Because it uses system commands rather than PHP to back up, it won't mater much what size your site is and is suitable for sites in the gigabyte range (all depends on your hardware of course). The other thing to note is that it keeps 7 days of backups and cleans out anything older. You can change that by altering the $livecutoff variable to something other than 7. This could use some improvement of course, but I use SyncBack Pro to download the backups each day to a local drive, and also periodically back these up to an external drive kept elsewhere (can you tell I've had trouble with hosting and hard drive failures before? ). cronbackup.php
    1 point
×
×
  • Create New...