-
Posts
175 -
Joined
-
Last visited
-
Days Won
1
Everything posted by neophron
-
Hi, I was searching in the forum about a method how to remove a file extension, like .jpg, but couldn't find anything. There are some php methods out in the wild, but I wanted first to get sure, that Processwire is offering a solution. The background is, that a clients website has a lot of images, packed in different galleries. All image files contain the name, dimensions and other stuff about the image (painting). I want to echo the image name in the image tag. thanks
-
Hi guys, I'm definitely interested in such meetings, but Monday is always my volleyball-day ?
-
Thanks, (2) is the solution for me ? I'm using the markup regions output strategy.
-
Hi, thanks for this extension. I'm working now on a website with audio samples. I found and installed your module but can't get it work. I installed and setup everything, following the descriptions step by step. What I also did is: Created a file field – "audio_file" (0=No limit, Automatic … ). In the soundmodule-setup I applied this "audio_file" to the Audio Files Field. I created a text-field and under details -> »text formatters« I applied the Soundmanager2 Audio… . In the soundmodule-setup I applied this text-field to the Tag Field. This is in the template file: <?php $options = [ 'type' => 'bar-ui', 'skin' => 'gradient-fat', ]; foreach($page->audio_file as $track) { $content .= $sm2->player($track, $options); } ?> The template has the two fields ("audio_file" and the text field). And on the page I uploaded a file – brahms_01.mp4 in the audio_file field. In the text field I'm trying to echo the mp.4 file with this: [smplayer tag=brahms_01] Tracy doesn't show any errors.
-
Thanks for these informations. I'll have a closer look at this next week.
-
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?
-
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.
- 2 replies
-
- 10
-
What is the best practice to change the home page?
neophron replied to Robert Zelník's topic in General Support
Thanks for the tip. I never tried this module, now the time as come ? -
What is the best practice to change the home page?
neophron replied to Robert Zelník's topic in General Support
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. -
http://blog.chriszacharias.com/a-conspiracy-to-kill-ie6
-
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
-
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('/');
-
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?
-
German language pack (de_DE) with formal salutation
neophron replied to dotnetic's topic in ProcessWire Language Packs
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 )); ?> -
German language pack (de_DE) with formal salutation
neophron replied to dotnetic's topic in ProcessWire Language Packs
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? -
German language pack (de_DE) with formal salutation
neophron replied to dotnetic's topic in ProcessWire Language Packs
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… -
@dragan & @adrian Thanks for these informations.
-
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
-
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.
-
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.
-
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.
-
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?
-
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.
-
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
-
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