Jump to content

typ9

Members
  • Posts

    86
  • Joined

  • Last visited

Posts posted by typ9

  1. I was looking for a solution for a Multisite project, and found that with a slight change of Ryans script  I can manage to have the correct stylesheet for each domain.
    I therefore call the renderSitemapXML function with the correct root page:

    echo renderSitemapXML(array($page->rootParent->url));

    and within that function skip the line

    array_unshift($paths, '/'); // prepend homepage

    That is doing the job! 🤩

  2. Our client tries to reach the new ProcessWire page via reverse proxy, so he redirects client-domain.de/test/ via proxy_pass to the URL where we provide the website.
    On the server, we set the domain 'client-domain.de' to the right ProcessWire webspace, and we set the httpHosts in config.php to 'client-domain.de/test'
    With this configuration we manage to load the start page, but all the paths and links don't fit (stylesheets, scripts, subpages), because their URL is 'client-domain.de' without the '/test'.

    Can anyone advice how to change the settings to get this working? Any help is appreciated!

  3. In the textfields we implement with CKEditor we cannot deactivate the JustifyBlock etc. options.

    I attached screenshots that show the Toolbar settings and the output.

    I found out that I can remove the whole Justify-Plugin, then none of the Justify options appear.

    My goal would be to offer the JustifyRight, JustifyCenter and JustifyLeft option,
    but remove the JustifyBlock option...
    I don't have any clue how to achieve that!

    Do you maybe have an idea?

    Bildschirmfoto 2021-01-22 um 12.42.23.png

    Bildschirmfoto 2021-01-22 um 12.43.44.png

  4. On 16. November 2015 at 5:36 AM, lenno said:

    I know this post is old, but in case someone else stumbles across it, here is a modified version of Soma's getLabel() hook which takes an optional second parameter to decide if you want a fallback to the default language if no localized name of that field is available:

    Thanks a lot! ??

  5. But a small german law advice. All other people can ignore the next lines. ;)

    Wenn die Datenschutzerklärung zusammen mit dem Impressum auf einer Seite steht, dann muss dies im Linktext ersichtlich sein. Sonst gilt die Datenschutzerklärung als nicht existent und die Seite ist abmahnfähig. Besonders weil Google Analytic verwendet wird...

    Oh, didn’t know this yet. Any links regarding that issue? THX!

  6. OK. I think you mean this suggestion, right?

    You should comment out allow_call_time_pass_reference in php.ini, because it's no longer available. The following should fix it:

    But... what does that mean? How do I do that? Once I copy/paste that line into the php.ini field, it doesnt work.

    Sorry, no php nerd here, but only a web designer...  :-[

  7. Thanks for the FTP access. I found out what the issue was. Your server needed this part of the .htaccess file uncommented:

    # RewriteBase /

    Once I uncommented that (by removing the '#') it started working. Please let me know if you run into any more issues.

    Hey Ryan! That saved my day, thx!

    I got the same 500 on a server of german hoster 1und1 - if any other "Kraut" has the same "bratwurst" problem. :)

    • Like 2
  8. Well, client wanted it that right from the start. Maybe because his former website was really "fantasy" styled, with a nice "Adobe Flash" burning mouse cursor, spooky background music and dark dark wallpaper background with bats and all that stuff. . 

    • Like 1
  9. Hey guys! Another tiny little PW site we have built in the last few weeks. Really really reaaaaaally small budget, so nothing is really perfect on this website. But the client (a friend of mine, he is a teacher and a hobby author) is happy to now have more control about his content, speaking of his short stories and novels.

    See for yourself - feedback welcome:

    http://www.peterhohmann.net

    • Like 10
  10. Thanks, guys.

    @dragan: Yeah, thanks. Ms Sell is now married - do you know her? ;) We simply forgot to change the pic, right. Will be done tomorrow. 

    Proofreading would be cool, yes - but you don’t wanna know how many hours we’ve already spent on this project. ;) So no proofreading from us in the near future. We will keep correcting typos as we find them. Therefor many thanks for your reply!

    • Like 1
  11. Hi Ryan! We have done it like that as well - because of too many images to manage via a static HTML website. And it was fun to get PW up and running! Right now we are working on our third PW-site. Looking forward to it...

    • Like 2
×
×
  • Create New...