Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


neophron last won the day on August 29 2018

neophron had the most liked content!

Community Reputation

46 Excellent

About neophron

  • Rank
    Full Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

1,134 profile views
  1. Thanks for these informations. I'll have a closer look at this next week.
  2. Hi, I launched a site with comments functions. Now the website is online and I totally forgot about the missing honeypot option in the comment form. Are there, besides the Akismet option, other possibilities for spam fighting? The module here is 3 years old and there is a warning: Do not use yet!!! Is this still the only solution?
  3. neophron

    useful styles

    From time to time, when I'm on a website, I'm checking the source, because I'm curious. But may be since two years, I got the feeling, that the more and more websites are stuffed with interesting crap. Today I found these body styles. It's from Squarespace. There were times, when a webpage was stuffed with table constructions and local styles. Now this madness appears again.
  4. Thanks for the tip. I never tried this module, now the time as come
  5. Hi, for a new website project, the client wants a horizontal menu and some of the end items are parent pages. The problem ist, that the »home«-page item also should have subpages as the other items. If I have two »home«-pages with the same content, this could be problematic, due to the double content (solution echo $pages->get(1234)->render();). If I create a redirect from "/" to "/fakehome" and I leave in the sitemap.xml the "/", how google would show and list the website? My goal is, to create a search result like e.g. Processwire in the attached screenshot.
  6. http://blog.chriszacharias.com/a-conspiracy-to-kill-ie6
  7. Hi, I'm looking for a calendar solution. It should be like this: http://www.graalmueritz.net/plan-aurum.php The important part is, that the calendar should show 4 different stages: 1. free 2. arrival 3. departure 4. occupied and the actual date. This is for a german website. The client wants to manage the calendar be themself. I need detailed offers/estimations in €. thank you, Nikolai
  8. Ok, thanx. Do you think, that this »tutorial« would work with your module? https://processwire.com/talk/topic/1716-integrating-a-member-visitor-login-form/?tab=comments#comment-15919 At 5. are the interesting informations: This get lost from Ryans the quote: if($user->isLoggedin()) $session->logout(); $session->redirect('/');
  9. Hi, the next weeks I have to build a website with some protected pages, accessible with a password in the frontend. Now I discovered this module and I'm going to use it, thanks for this I couldn't find informations about a logout button. Is there also a logout function, for visitors who are logged in? Or must I build my own one?
  10. 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 )); ?>
  11. 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?
  12. 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…
  13. @dragan & @adrian Thanks for these informations.
  14. 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
  15. 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.
  • Create New...