Jump to content

totoff

Members
  • Posts

    495
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by totoff

  1. ah, maybe this is the only timesaving hint i have - i have a private wiki in evernote where i archive usefull posts, snippets etc. i find out there in the forum or in blogs etc. i also have checklists in evernote, for example how to install pw at hosting xyz. i consult this wiki quite often.
  2. hi onjegolders, 99% of my projects i start with skeletongrid, which - from my point of view - is the most convincing css framework out there. in addition, i do heavy copy-and-paste from projects i've done before. that saves me the most time. i'm coding in sublimetext 2 (which doesn't seem to be developed further - very sad!). i have a huge collection of textpattern snippets but didn't start with pw snippets as i didn't need it so far. most is plain php, so why have pw snippets? regarding the admin workflow: i try to do as much as i can via the api. that's a huge time-saver. i've developed in contao, textpattern and pw. all of my projects always take longer than estimated (maybe that's why i dont have a fancy car and go playing golf). but at the end of the day i must say, that i'm most productive with pw. best, christoph
  3. Hi, http://kudlek.com/ this is my second project with PW and one I like in particular. I made this side in Textpattern but migrated it as my client wasn't happy with what he got from TXP (and me neither). There is nothing very special on this site but some gimmicks needed my attention such as the exhibitions archive. I enjoyed it very much to work with PW and the endless flexibility it has to offer. There were no limits. My client is very happy with the system. I have Ergo admin theme installed. Best, Christoph
  4. hi nikola, many thanks for your reply. meanwhile i checked with a fresh processwire installation on the same server and with that i don't have any problem at all. the difference between the installations is the processwire version: the one that makes me trouble is a 2.2.3 while the working one is 2.2.5. i asume it must have something to do with that. i'll upgrade over the weekend and report back. ++ EDIT/SOLVED ++ i did upgrade to 2.2.9 and now it's working fine. thanks again for your help.
  5. nothing. no errors, no logs, no warnings.
  6. hi nikola, thanks for your reply and sorry that it took a while for me to get back. unfortunately no good news: i've cleared cache (browser and processwire), tried it in ie9 (with which i never visited this site before), uninstalled completely and reinstalled the theme - but to no avail. the field stays in its collapsed state and i can't open it on click. do you have any other idea on how i could track down the problem? many thanks in advance
  7. hi nikola, thanks for your nice admin theme. unfortunately i have some trouble as i can't open the following input field in the access section: <li id="wrap_Inputfield_pass" class="InputfieldPassword Inputfield_pass ui-widget InputfieldStateCollapsed"> <label for="Inputfield_pass" class="ui-widget-header">Set Password</label> <div class="ui-widget-content"> <p class="description">Password must be at least 6 characters and have at least 1 letter and 1 digit. Password may not have whitespace.</p> <p><input type="password" maxlength="128" size="50" name="pass" class="FieldtypePassword" id="Inputfield_pass"></p> <p><input type="password" value="" name="_pass" size="50"> <span class="detail">(confirm)</span></p> </div> </li> due to this problems i can't enter a password for my users. i can reproduce this with firefox 15.01 and chrome 22.0.1229.94 m on win 7 - other browsers i didn't check so far. can others confirm this or could this be a local problem with my system (i have the latest version of the theme)? thanks in advance
  8. @michael thanks vey much, you answered while i was writing my post. sinnuts way is definitely the one that works. i agree that there must be some "extra formatting" no matter what the field settings are. otherwise i couldn't explain why my example posted above didn't work ...
  9. hi all, thanks for answering to my post. first of all, what sinnut suggested works. and he is right in his understanding of my question: i need the date to be formatted differently depending on the template in which the field is used. otherwise i would have set the format in the field as usual. however, what surprises me is, that i set the output formatting in the date field to none BEFORE i tried <?php echo date("Y-m-d",$page->closing); ?> so i understand, that <?php echo date("Y-m-d", $page->getUnformatted("closing")); ?> removes all formatting from the timestamp and gives way for formatting it with date(). but shouldn't i get the same effect/result setting the field output format to none?
  10. hello forum, i have two date fields both of which i reuse for several templates. as this templates require different output format for dates, i'm trying to format my date in the template code. unfortunately this code (found in this post) returns january 1970 but not the correct date entered in the date field "closing": <?php echo date("Y-m-d",$page->closing); ?> however, the same code used for a core variable works and returns the correct date on which the page was created: <?php echo date("Y-m-d", $news->created); ?> what am i doing wrong? thanks for your help.
  11. hello all, the mysterion is explained: i simply made a cut and paste mistake when looking for the tutorial. the right url is http://processwire.com/tutorials/quick-start/images/ and there it is. i found it very helpfull when working with images on my first pw project and haven't found anything that wasn't applicable as far as i can judge this. anyway, apologies for the hassle and many thanks for your replies.
  12. hi vitor, thanks but no, there was an own tutorial section which was not part of the api section. but it has disappeared.
  13. hi all, a few weeks ago i bookmarked this page which i found very helpful: http://processwire.com/tutorials/images - but now it is gone. does anybody know why it has been removed together with the whole turorial section? thanks, christoph
  14. thanks again for your supprt soma, got it now - i hope ;-)
  15. here is, what i understand: i set the timezone in config.php (see my first post). but if work with a language pack, either because i want a localized admin or because i'm running a multi-language site, i need do assign default languages on a per user-basis in the admin area. otherwise it will default to english. am i right?
  16. so i understand there is no way to set the default timezone for your site in the admin area as it is usual with other cms? right? or do i oversee something?
  17. ok, right, making the guest german works. i'm new to pw and was unaware of this "per user" setting. however, does this mean i don't need the language pack at all if i have only a german site? could you kindly direct me to the correct setup?
  18. Hello forum, unfortunately I still have weird problems with the date field localization. Following the instructions here, I set up the language in the admin area (see screenshot) and got German month names in the frontend. But each time I log off from admin area and close the browser this setting is reset to English. After each working day I have to open the language setting again in admin area and hit save to get back to German month names in the frontend. Obviously, this is not the intended behavior ... Any suggestions anybody? EDIT: it resets to English as soon as I log out from admin. No need to close the broweser.
  19. i would be glad to help, but need instruction. how would you do this?
  20. thank you interrobang and Soma, reverted code change and followed your advice. works. thanks again.
  21. i got a solution: edited line 144 of /wire/modules/LanguageSupport/LanguageSupport.modules $locale = $this->_('de_DE'); but i'm unhappy with hacking the core. does anybody know a more elegant solution?
  22. hello forum, after days of smooth work with pw i'm stuck with what looks like a simple problem at first glance: i cant get date field to output localized german names for months. for example i get "july" instead of "juli" or "october" instead of "oktober". this is my setup: - i have german language pack installed - i use a datetime field with date input format = d-m-Y and date output format = %B %Y - my config.php has this lines $config->timezone = 'Europe/Berlin'; setlocale(LC_ALL, 'de_DE'); - my php-code is (where project_commission is the date field) <?php // pull project list from project pages foreach ($page->children("limit=20") as $child) { echo "<div class='project teaser'>"; echo "<h3 class='meta'><a href='{$child->url}'>{$child->project_commission}: {$child->title}</a></h3> <p class='summary'>{$child->summary} <a href='{$child->url}' title='{$child->title}'> + Mehr erfahren</a></p>"; echo "</div>"; } ?> <!-- /project list --> i've followed the advise i found here and tried to find a solution here but to no avail ... trying since two hours to fix it. any help is much appreciated. thank you.
  23. excellent work, will definitely buy it. hope that enough people opt for it, so ryans plan will work! btw. why don't you accept donations?
  24. thank you very much ryan for joining this thread and contributing code. it works out-of-the-box like a charm! this is indeed, as far as my understanding reaches, a more elegant solution because of it's simplicity. i make progress in php while working with processwire and it means fun for me. i know, this is not the php-forum but may i nevertheless ask why we are able to use the arrow operator here? $category->totalPages from what i've read it is used to access methods and properties of a class, but do we have defined a class here (maybe because we work with the $pages object)? this confuses me a little. thanks again for taking time to support your user. this is much appreciated.
×
×
  • Create New...