neophron

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Days Won

    1

neophron last won the day on August 29 2018

neophron had the most liked content!

Community Reputation

34 Excellent

About neophron

  • Rank
    Full Member

Contact Methods

  • Website URL
    http://designport.info

Profile Information

  • Gender
    Male
  • Location
    Berlin

Recent Profile Visitors

972 profile views
  1. neophron

    Hi there, I wanted to share for all newbies my almost translated comments code. I'm using this with the blog profile (PW 3.0.123). <?php // blog post content echo ukBlogPost(page()); // comments list with all options specified (these are the defaults) echo $page->comments->render(array( 'headline' => '<h3 id="comments">Kommentare</h3>', 'commentHeader' => '{cite} schrieb am {created}', 'dateFormat' => 'd.m.Y', 'encoding' => 'UTF-8', 'replyLabel' => 'Antworten', 'admin' => false, // shows unapproved comments if true )); // comments form with all options specified (these are the defaults) echo $page->comments->renderForm(array( 'headline' => "<h3>Kommentar schreiben</h3>", 'successMessage' => "<p class='success'>Vielen Dank für Ihren Kommentar.</p>", 'errorMessage' => "<p class='error'>Your submission was not saved due to one or more errors. Please check that you have completed all fields before submitting again.</p>", 'processInput' => true, 'encoding' => 'UTF-8', 'attrs' => array( 'id' => 'CommentForm', 'action' => './', 'method' => 'post', 'class' => '', 'rows' => 5, 'cols' => 50, ), 'labels' => array( 'cite' => 'Ihr Name', 'email' => 'Ihre E-Mail', 'text' => 'Kommentar', 'submit' => 'Absenden', 'website' => 'Webseite', ), // the name of a field that must be set (and have any non-blank value), typically set in Javascript to keep out spammers // to use it, YOU must set this with a <input hidden> field from your own javascript, somewhere in the form 'requireSecurityField' => '', // not used by default )); ?>
  2. neophron

    Hi @jmartsch, I'm keeping my backend (as an admin) in english, it's better for finding solutions in the community. So, in my config.php I have now this: setlocale(LC_ALL,'en_US.UTF-8, de_DE.UTF-8'); The backend for an editor is german. After my login I'm getting this message in yellow box: Session: Note: your current server locale setting isn’t working as expected with the UTF-8 charset and may cause minor issues. Your current locale setting is “C”. Please translate the “C” locale setting for each language to the compatible locale in /wire/modules/LanguageSupport/LanguageSupport.module: • Default • Deutsch For example, the locale setting for US English might be: en_US.UTF-8 In the backend my setup and the result in the frontend. Are there german translation for the months and days?
  3. neophron

    I'm trying to find out, how to translate the english months into german in the frontend. It's from a date field. I installed the german language pack (core), in the config.php I added setlocale(LC_ALL,'de_DE.UTF-8'); Kopfkratz…
  4. neophron

    @dragan & @adrian Thanks for these informations.
  5. Hi there, I'm facing the following problem: PW 3.0.123 installation with markup regions as templating. In the _main.php I have in the header this: <header id="header"> . . . <figure id="header_image"> <img src="<?=$page->image_header->size(1024,200)->url;?>" alt="<?=$page->image_header->description;?>" width="1024" height="200"> </figure> </header> I created an image field (image_header) and most of the templates (internal, not the ftp templates) has this image field, so on every page the editor can place a different header image. Now, there is a page, that has a lot of children, and all these subpages shall have the parent header image. In the child-template I put this code: <figure id="header_image" pw-replace> <img src="<?=$page->parent->image_header->size(1024,200)->url;?>" alt="<?=$page->parent->image_header->description;?>" width="1024" height="200"> </figure> The result is a really weird code, and as you see, the »pw-replace« is still there: <html lang="de"><head></head><body id="html-body"><figure id="header_image" pw-replace=""> <img src="/site/assets/files/1052/kalender.1024x200.jpg" alt="Maya Kalender" width="1024" height="200"> </figure> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> . . This is setup of the field image_header: max files allowed: 1 single item required
  6. neophron

    Thanks @jmartsch, the client is »prepared« for Processwire. The next weeks, I have to ask some questions here about how to import comments (with their original timestamp) from Wordpress into Processwire.
  7. neophron

    Thanks for your suggestion. Thanks god, I had a backup (the Duplicator saved my ass). I extracted it and installed it in a subdomain. Login was no problem. Then I replaced the old htaccess with new one and – et voilla – I'm in. I remember, that I had to deactivate some rules in the htaccess file, cause Processwire had some problems with this hoster (Host Europe). I think the reason was, that I added some rewriting stuff to the htaccess.
  8. neophron

    Thanks, the debug mode is active. These are the server logs statistics: [Sat Nov 24 02:56:21 2018] [php7:error] [pid 31827] [client 2c0f:f038:208:8e00:453:7af4:3aa7:c8dc] [host robin-shillcock.com] script '/is/htdocs/wp1155705_7UFJDYJEXF/www/processwire_10-2018/wp-login.php' not found or unable to stat [Sat Nov 24 03:02:46 2018] [php7:error] [pid 27344] [client 198.44.228.85] [host xxx.com] script '/is/htdocs/wp1155705_7UFJDYJEXF/www/processwire_10-2018/fuck.php' not found or unable to stat [Sat Nov 24 03:02:48 2018] [php7:error] [pid 27384] [client 198.44.228.85] [host xxx.com] script '/is/htdocs/wp1155705_7UFJDYJEXF/www/processwire_10-2018/coon.php' not found or unable to stat [Sat Nov 24 04:56:06 2018] [php7:error] [pid 19825] [client 111.93.22.58] [host xxx.com] script '/is/htdocs/wp1155705_7UFJDYJEXF/www/processwire_10-2018/wp-login.php' not found or unable to stat [Sat Nov 24 14:33:27 2018] [php7:error] [pid 8407] [client 87.142.120.228] [host xxx.com] script '/is/htdocs/wp1155705_7UFJDYJEXF/www/processwire_10-2018/reset.php' not found or unable to stat The last entry is from my attempt to change the login with a reset.php. But someone tried to check, if this is Wordpress site.
  9. Hi there, a few weeks ago I completed a 3.098 installation (server php 7.2). Yesterday I wanted to login but failed. I tried different browsers, meanwhile on two different PCs, but no login. Then I realized, that after hitting the »Login« button, there was no message (admin name – Login failed). I also tried all procedures (https://processwire-recipes.com/recipes/resetting-admin-password-via-api/). Then I checked the errors.txt (site/assets/logs) – nothing. The frontend works fine. Is there a way to check this Processwire installation? Could be something missing?
  10. neophron

    Last night I did some researches for a client with an old WordPress site. I was looking for german web articles about Processwire, cause the client is from Berlin. I found this article: https://www.sputnika.de/dresden/news/campus-halensis-de-das-neue-online-magazin-der-martin-luther-universitaet-gid-5976 It's about the redesign of this site: https://www.campus-halensis.de/ The old version was a WordPress site, now it runs with ProcessWire.
  11. neophron

    Hi guys, thank you for your responses, I'll check them together with my client. Meanwhile GoDaddy tries to get into the german market . And this is what I found about Arvixe: https://www.yelp.com/biz/arvixe-web-hosting-pleasanton
  12. Hi there, a customer of mine is living in the U.S.. About 7 years ago I started to create a website for her. She parked her domains at GoDaddy. After some frustrating attempts to install a cms, finally I convinced her to go to Arvixe. At this time everything worked fine, they had a real support. Meanwhile the situation changed, everything sucks, the support disappeared. I've got the feeling, that the management changed and they reduced all to a minimum of support. So my question is – what U.S.-hosting company would you advice? thanks
  13. Thanks for your suggestion. I placed a checkbox in the child template (not file) and pasted your code in the parent template. Then I checked the link in backend The thing is, that this code must be inside a foreach loop. The main loop starts with this: <? foreach($page->children() as $garten):?> After pasting your code, the front-end shows all subpages as a ul and this doesn't make sense. I need only the link to the source (child) page. Usually I would paste this code for showing all links to the subpage: <a href="<?=$garten->url;?>">Weiterlesen...</a>
  14. Hi, this is the website structure: root -gardens -garden01 -garden02 -garden03 -garden04 -etc -contact -stuff On the gardens site I'm looping part of the fields from the child pages (garden01, garden02 etc). Some of the pages shall be linked from »gardens«, some not. I wanted to offer the editor a simple way to activate the link with one or to clicks. What I tried, was a way via hanna code. I created a hanna code with this code: <a href="<?=$garden->url;?>">read more...</a> I pasted this hannacode in a textfield (with hannacode formatter). This textfield is inside the foreach loop in the template from gardens. But the system gives me an error. I was thinking with a checkbox field and hannacode, but with no success. Do you guys have some experience with that?
  15. neophron

    Hi, first, thanks for this cool module! I have a question: Is there a way to detect the browser and show it by name? Like firefox, safari or chrome?