Jump to content

totoff

Members
  • Posts

    495
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by totoff

  1. hi, i came across this thread while looking for a way to build a "link to previous page" and it seems to solve my problem. so my question is more or less meant to help me to better understand processwire: is the function ($session->referrer_id) somewhere documented? i can't find it neither in the cheatsheet nor in the api. sorry if this is a silly question. i'm new to everything that has to do with sessions in php.
  2. totoff

    learning php

    unfortunately this is not in English, but for German readers this site does a good job in teaching PHP: http://www.peterkropff.de/site/php/php.htm and, for English, but not tested: http://www.phptherightway.com/ good luck!
  3. Looks great on mobile. Not only the site itself is nice but also the work you present.
  4. totoff

    Max, Cafe, Bar,

    Several clients of mine had performance problems with Strato. It was never a problem with the installation, because it solved when they changed the provider. The speed upgrade helped a bit. The coffee bar site is fantastic. Great design, great functionality. Saw it already on the de. site.
  5. Understand. This site by me works a bit the same. The client chooses pre-defined sizes for the width of class .post. otherwise the horizontal, table based layout wouldn't have been possible with a cms.
  6. echo "<p class='alert'>Direction: <span class='noalert'>" . $page->direction . "</span></p>"; // Working! .alert {color: red;} .noalert {color:blue;}
  7. <?php echo $page->body; ?> is nested within another php tag. remove it from there. and it should be <?php echo "$page->body"; ?> http://www.php.net/manual/en/function.echo.php
  8. huh, what an huge amount of work for you. really amazing website and - as you said - very unusual for a hotel. only the logo looks a bit old fashioned now compared to the rest of the appearance. assume they didn't want a redesign? i definitely would love to learn a bit more about how you did this. did i understand you right, they can control the size and content of the tiles from the admin? please give us - at least a mini - case study if you have time.
  9. i'm sure most of you know the mother of all tutorials which has been relaunched as a website (was an ebook before) recently: http://jqfundamentals.com/
  10. hi fred, yes, pw is perfect for that. i have a site up and running which does (nearly) that and can help you if you have more specific questions. in short, the pw admin area for your client requires an access managed template as diogo described that holds the necessary fields (more on fields and field types and templates here and here). each project than is a "page" (which in pw doesn't necessarily mean a visible frontend site) that contains the data for this project - and that's it. dead simple. feel free to ask if you would like to give it a try.
  11. hi, same here: my profession is designer and copwriter, not coder. i still have difficulties to think like "real" coders but i'm progressing. however, here is what i found after having discovered pw for me (i came from contao via textpattern to pw and i have some good knowledge of wp too): coding is fun coding with pw is even more fun because it rewards you with success pw gives me the superpower i always wanted when i tried to adapt contao's pre-made markup to my needs you would like to do the same with wp you can do with pw? good luck - go and learn advanced php. beginner skills will not be enough apart from this, i'm not sure if making wp themes is a good business. if i look at themegarden for example it seems quite competitive. why not specialize in custom tailored websites to clients that appreciate it? from my experience, this market is competitive too, but working. enjoy pw!
  12. agree, didn't see that before. it gained my attraction because i'm looking for an easy solution to backup webspace and databases. for webspace i'm using cobian backup which does a good job but can't backup databases. anyway, open dynamo seems not to be the right route ...
  13. hi all, i just came across Open Dynamo, a website backup solution from the same people who made the brilliant Redo Backup. Does anyone know the tool and can recommend it?
  14. wow, thanks ryan. pw becomes even more versatile with this. i always found ckeditor superior to tinymce and can't wait to give it a try.
  15. Congrats Luis, would have loved to help even more with testing but the year started to busy. Wish you much success.
  16. I'm on mobile and it looks very good! Congratulations.
  17. Hello Forum, I have some trouble with setting up user rights properly. I have defined a role "editor" with the following permissions: view pages edit pages sort child pages update profile And I have the following page structure: /section/subsection/detail/ /subsection/ uses a no-file template "subsection" with this settings: editor => view, add children (there is nothing to edit here, subsections just provide grouping for the detail pages) may have children? => yes may be used for new pages? => no allowed templates for children => detail children are sorted by => none /detail/ uses a no-file template "detail" with this settings: editor => view, edit, create may have children? => no may be used for new pages? => yes allowed templates for parents => subsection All data entered on /detail/ is pulled into /section/ and displayed there. Section therefore uses a template "section" with a file associated. Problem: If I log in with an editor account everything is fine except that I can't change the order of the detail pages (no "move" button, only "edit"). What do I oversee? Your help is much appreciated.
  18. hi there, thanks for all your comments. interesting to see that there is such a wealth of opinions and different strategies. i tend to agree to soma whose approach "if you don't want to make it public, just don't assign a template file to it" convinces me most. also with regard to search enignes: no url, no links, 404 just in case = no problem.
  19. pw will never compete with out-of-the-box-blog-engines like wp when it comes to setting up a blog rapidly. from my point of view this is a major advantage of pw.
  20. i have pw sites at several hosting companies in germany and never experienced serious problems. my personal favorite is all-inkl.com though it requires a little tweaking to get pw up and running there. but they provide excellent 24/7 service even with small packages. also very smooth was hetzner for a client and 1&1 though no serious developer would recommend 1&1 as the service is awful. despite of the ones i already work with i would give uberspace a try as soon as their is an opportunity to do so. i like the minimal approach and the friendliness.
  21. unfortunately it was. the quote above is an original. it was not that they didn't get it, they simply forgot about it and published the pages anyway.
  22. i'm coming back to this thread as i still struggle to find the optimum solution for the problem i described in my first post. to sum up, as far as i understand there are four options to use child pages as "data containers" without making them viewable or have them indexed by google: keep the children hidden/unpublished but retrieve their data with selector include=hidden -> not the optimum as it confuses clients ("why is this page hidden") don't assign a template file to the page template -> throws a 404, possible, but not the most elegant solution imho set a 301 to their parent -> unsure on the seo effects and may cause trouble if the page tree needs to be changed robots.txt disallow /faq-1 etc. -> not applicable as it requires a static page tree from my opinion, option 3 seems to be the best - but still leaves me a bit dissatisfied ... i would be happy to hear your opinion or suggestions how you would solve this. thanks, christoph
  23. hi wanze, thanks pretty much for your reply. as i'm a beginner with php and in particular with object orientated programming could you give me a hint how to implement this? do i have to "hack" the core (i.e. amend the session class)? best, christoph EDIT: read twice through your reply and think i got it on the second try ;-) pw is setting 301 header by default, right? no need to edit anything.
  24. Hi Ryan, I wonder if this technique may have any negative effect on search engines as it doesn't return a 301 that can be understood by the bots? What is your opinion/experience? Best, Christoph
×
×
  • Create New...