Jump to content

Adam Kiss

Moderators
  • Posts

    1,303
  • Joined

  • Days Won

    7

Everything posted by Adam Kiss

  1. Hi Ryan, how ridiculous would be this: when you're setting custom 'title' format for template (the title that's shown as page name in page list), there would be another input for printf-formatted string of how you show your custom page name. Another valid way of doing this (without another) input, it's that you could input any string into 'which fields should be shown' – characters get parsed as template names, another characters stay the way they are. If you're curious how I got to this need, I'm just outputting type of product and its nr. of views alongside of title. (the type can be little different than the parent 'type' category)
  2. Is it possible to have children ordering too? On larger websites, where template like 'categories' is used XX-times, I think system would benefit from setting this in the template first and use page-related settings only if they change anything (or maybe another viable option would be to have template 'auto-implement' children ordering upon creating page and then not touching it, when administrator changes it) Food for thought
  3. Re: standing out I absolutely think that the modules part needs a little love, especially the way the modules are sorted and such
  4. Hi Soma; since original release, my core work duties have shifted, so this Inputfield was created and not maintained ever since. But don't worry, it's planned somewhere in near future, to be either discontinued or updated (together with updated scripts from original authors), checked with PW21. Unfortunately, due to sheer amount of work I have, not everything is going according to plan
  5. Congratulations! --- It always makes me feel better (and think better about the company) if some hosting just adds some services, or gives me better solution, then when they go on their 'fucking noob doesn't know what he's talking about' rampage. Also it's good sign that they wish to have you as a customer, which is always good in bussiness.
  6. Doolak, Antti, my bad! As I mentioned, I rarely use it, so I just thought, that it means number of description fields/inputs; I now checked it out, and I stand corrected. Thanks Antti and sorry for confusing you, Doolak.
  7. Repeatable fieldgroupd are planned, though we can't say sure for which version. I just realized, that there sshould be option to set different number of descriptions, would number like 2 or 3 sufficient? You could use some metacode like this: <?php foreach($page->sliderImages as $sliderImage): ?> <div> <img src="<?php echo $sliderImage->url;?>" ... /> <h2><?php echo $sliderImage->description[0]; ?></h2> <p><?php echo $sliderImage->description[1]; ?></p> <?php endforeach; ?> Note: your HTML might be different. you might introduce also 'if field exists, then echo, otherwise not' code. And also, I have never used description for images myself, so correct code might be different.
  8. Hi all! Interesting debate you've got going off around here! Unfortunately, I am not able to test all this stuff (too much on my plate already), but I have one note though: Is this still responsive design? As I understand it, responsive design is about modifiying design & visuals of the very same content, which is not this case; in the load time you load the same stuff indeed, but the 'differentiate data' part is moved to client with jquery and ajax, so after all, you do not serve the same content (understood? good ). That's all I wanted to say, good luck with bug hunting
  9. Were you informing about json support or requesting json support? Obviously, JSON support in PHP can be also turned off (well, obviously, the suprise is that somebody turns it off). I think you should request that they turn it on (it seems you're on shared hosting or having VPS managed by administrators), and if they don't, I would find another hosting, or contact somebody higher. As for real need for JSON (above was rather about business with non-responsive company ) I will leave this up to Ryan, as he knows most about core (obviously), but I'm 90% positive it won't work without JSON support without major rewrite on your side.
  10. Hi doolak; - if textfield (not textarea) is sufficient for your needs, your image fieldtype might have those – this should cover your basic 'slogan' needs, but obviously, having to edit HTML or longer/structured text in this input[text] would not be ideal - imagefield SHOULD be limitable by maximum number of images, that might be uploaded; it's somewhere in the field settings. If you've found it, but it doesn't respond (it isn't editable, doesn't save value, etc.) it's a bug. Adam
  11. It's very close to stable, and Ryan & Antti are running sites on it for weeks (if not months already). Me however, as a quite heavy user of niche functions, found few nasty bugs (though not critical), although majority of the has been fixed. I'll be using this as a production version once my latest project goes live, that is in 5-7 days. Use this information as you will
  12. Hi Akseli and welcome to the forums. I'm inclined to say it's utf problem – somewhere along the lines of php <=> mysql communication, since we have another scandinavian active here on the forums and in the few examples he posted, all special scandinavian characters work OK. Is your database set to UTF? If your DB has UTF-8 set, your templates are UTF-8 (important!), you might want to try this: In your /site/ directory, there is config.php. Locate line 137 and uncomment this: $config->dbSetNamesUTF8 = true; If it doesn't help, we'll move on to different solutions
  13. Hey J, I don't have demo how I set up my system that code or die tutorial wasn't made by me I'm preparing my own tutorial, but I'm not there yet – I do different tutorial right now, mine should be published somewhere around here in two weeks If that's okay with you, you can wait. However, if you need faster response, I may create some draft of future tutorial and post it for you somewhere.
  14. Jason, that might be not ideal, especially in cases when you want to serve platform-specific content (or platform-specific amount of content), otherwise reponsive wd might be the answer.
  15. Jasper, report is as issue on github: https://github.com/ryancramerdesign/P21/issues – if it'll be non-reproducible, we'll write it off as your machine
  16. Hi Jason, if you're doing it just for a few pages, you don't need any module/plugin; you can do this simply by using templates! Create field 'redirectTo' – customizable, of course Set that field to be 'single page', and select the inputfield you wish Create template 'redirectPage' – again, custom put following code in your template file Create page that links to original page you've made your virtual page Code for your template: <?php /* * Template: redirectPage * * Used to redirect URL adress to other page with 301 HTTP code */ $session->redirect( $page->redirectTo->url ); I actually use this at least once each site.
  17. Turned off. Or rather, not set yet, so default value (should be 0)
  18. Using latest PW2.1 rc: After picking up this topic: http://processwire.com/talk/index.php/topic,375.0.html I tried to use following selector to pick up random 4 pages out last added 40: $rndm = $pages->find('template=xxx, limit=40, sort=created')->find('limit=4, sort=random'); System returns 4 pages allright, but they are always the same. Documentation seems to not cover sort=random at all, som I'm little confused here. Thanks Ryan
  19. I once installed this program and didn't liked it, so, no help here, sorry
  20. Is it PW2.0 or 2.1rc? Because if it's 2.1rc, I'm inclined to say it's a bug, since yesterday I raised rather important issue in 2.1. With 2.0, I'd say do your own session cleaning
  21. abu, isn't it possible, that for some reason this file is hidden on your computer, or that you overlooked some decompression errors? I just untarballed ( ) – extracted tarball download and it's okay, I have all directories.
  22. @Shane: Yes, welcome to forums. Switching between minor versions comes with a few pullbacks, so you have to use aforementioned upgrade.php. Hopefully, upgrading even between minor versions will be solved in future releases, though it's not currently on roadmap (although, with features in 2.2, being mostly multilanguage support, we should come up with a good solution) @Antti: I glued your posts together, you'll never learn to modify your posts, will you? @slkwrm: While helpful, I don't advise this – like many 'somewher deep in core' errors, this might bring another error, and you just may end up adding/editing multiple columns and doing other databse operation, which might not be the best solution.
  23. Man, I feel all fluffy and sh8t ))) And yes, thank you for kind words I hope you and every newcomer will like the atmosphere and in turn will spread helpfulness further, through helping those newcomers, that will come after you.
×
×
  • Create New...