Jump to content

gebeer

Members
  • Posts

    1,554
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by gebeer

  1. No, it is not really required to set it back to true.
  2. I'm also using this German hoster for some sites. In a nutshell, they are using rsnapshot for their backups. Their backup server is pulling data from the live server. The backups are mounted via NFS to the live server. I came from the Joomla universe to PW. Thus I'm familiar with Akeeba backup which is a great product. Using their free and well maintained standalone version makes backing up PW and other PHP applications a breeze.
  3. I had these problems once and tried all solutions I could find in the forum to no avail. Then I finally found out that it was a permission problem. The server was running wrong apache user/group. I know that with some hosting companies (eg hosteurope) you have to manually change the user/group of your FTP account to reflect the apache user/group. Maybe this is the cause in your case, too.
  4. You can do that in Linux with Sublime Text and Emmet LiveStyle plugin. EDIT: actually the LiveStyle plugin also works in the other direction. It writes changes that you make in the Chrome dev tools to your CSS file which is also a nice feature. Only major drawback is that it doesn't support SCSS/SASS/LESS atm.
  5. May I ask what the advantages of dreamweaver over ST are when developing a static site?
  6. I can browse your site, even the homepage. Only thing is that the header image had to be loaded again when browsing to another page. But it should have been in the browser cache already because it is the same across the site. This points to come caching issues in my opinion. I had strange issues one time, too. Not same as yours, though. Then I found that when zipping up the files/folders on my dev machine, the hidden files (starting with . ) did not get included in my zip file. Guess this is OS related to my Linux box. You obviously have the .htaccess on the live server and thus in your zip so this might not be the issue. But still you might want to check if all files ended up in your zip correctly.
  7. I've been working with virtualbox VMs for quite some time now and can say that they are very easy to setup and maintain. Getting OSX to run requires a bit more of an effort. But once things are setup it is running smoothly. I do all my development work on a Linux box and do all the IE and Safari debugging in VMs. For IE the images provided by modern.ie are great. For setting up OSX in a virtualbox VM see the link that I posted in #5
  8. I live here 6 month a year and work mainly for European/American companies
  9. You could also use a mac in a virtual machine for testing http://bit.ly/11xY5YN
  10. Hello all, I'm working on a travel directory site with locations of the region I live in in Thailand. This is a private fun learning project. I would like to assign an icon to each location. ATM I have a simple text input field in my location template where I manually type in the fontawesome class name for the icon I want to assign which is a bit tedious. So I am thinking about putting together an Inputfieldtype "Icon" which will surely aid in learning PW module development (and some more PHP along the way) My concept so far: -since people will hardly use all 500+ icons on their sites, I want to use an asm select in the field setup to search and select the icons that we want to use -the asm select should show both, the icon and it's class name for each icon -then use the selected icons to populate a select dropdown field as input field where the user can choose an icon. Which inputfield module could I have a look at that is using asm select in the field setup? I used import.io (which really is a fun tool) to create a data set with all fontawesome4.2.0 icon class names and their unicodes. If you're interested you can see the dataset here (you need to login/signup with them first). I can export the dataset as JSON and use that to populate the asm select for the field setup. These are my ideas so far. Yours are always welcome
  11. Thank you for that snippet. I'm using it for a project with Bootstrap 3 and updated it accordingly <ol class='breadcrumb' itemprop="breadcrumb"> <?php foreach($page->parents as $parent): ?> <li itemscope itemtype='http://data-vocabulary.org/Breadcrumb'> <a href='<?php echo $parent->url; ?>' itemprop='url'> <span itemprop='title'><?php echo $parent->title; ?></span></a></li> <?php endforeach ?> <li class="active"><?php echo $page->title; ?></li> </ol> And I added <body itemscope itemtype="http://schema.org/WebPage"> like suggested by teppo. Now it is being picked up by Google.
  12. Thank you again for the explanation. I followed your advice for testing and can see now that it is working.
  13. There's also line 217 $value = $this->wire('sanitizer')->filename($value, Sanitizer::translate); Never used IIS, so can't help there.
  14. š character in image name: I just tested this behaviour on both, a 2.5.2 and a 2.5.7 install. uploaded an image with name "aua2š.jpg" and the name got converted to "aua2s.jpg". So your problem there might be related to version 2.5.4.
  15. If your images have meaningful names, you could also substitute the image file name for the description if the description is empty. Something like this $img = $page->my_image_field $imgDesc = ($img->description == "") ? $img->name : $img->description; //echo out your img tag This way you wouldn't need custom module or hooks into InputPageName or custom form validation in backend. It would be a nice feature though, if we could set the description to required in the image field settings.
  16. The quickest way to see the name (or URL) is to click on a page and then hover over the "view" button. Then you see the URL in the bottom left corner of your browser. When I quickly need to find the id of a page, I just hover over the edit button.
  17. Thank you for clarifying. So I guess your module is restoring the session then. Or do I have to pick up and process the cookie data in my custom login logic? Cheers
  18. Thank you for this module! I'm trying to implement it on a 2.5.2 install and have some issues/questions. I installed, activated and configured the module to be automatic without fingerprint and only assigned to 1 specific role. These might me dumb questions, but I'm still asking 1) is this module intended for backend or frontend usage or both? 2) how do I go about testing? I logged in to the backend on a live server in Chrome with a user that has the specified role. After login I can see that a persist cookie has been created. Then I opened a Chrome incognito window and went to the backend login address. But I'm still presented with the login form. I want to use it on the frontend. So I switched off automatic mode and added this to my login logic: //login user $u = $session->login($username, $pass); if($u) { // make login persistent if user checked Remember me if ($u->login_persist && $u->login_persist == "1") { $persist = wire('modules')->get('LoginPersist'); $persist->persist(); } } When I now login to the frontend, I can also see that a persist cookie is created. I tried testing it the same way as above with the backend login. No success. When I log out of the frontend session, the cookie is gone. 4) Will the login still persist, even if the user logged out of there previous session? I guess not.
  19. I'm not a PW guru at all, but the first thing that comes to my mind is the Hanna Code module. Marcrura beat me on this one
  20. I can confirm same behaviour for CKEditor 4.4.3 I also tried it with the native CKEditor link plugin. But I couldn't get it to work, either, other than switching off HTMLPurifier :-(
  21. I think it is better to handle incorrect data inputs with proper form validation. To me your plugin is very confusing, too. Maybe you can have a placeholder text instead that shows the expected input format.
  22. This is a nice looking, clear design. I don't miss borders around the form fields or focus styles at all. But this depends on personal preference, I guess. The light grey type renders clean on Linux Chrome and FF But to me it could need a little more contrast. Personally, I hate long forms like this. Maybe you want to split it up and make it a multi page form. Your idea of breaking the form into a wizard would help in keeping it shorter. From my own experience it is easier to obtain the info that you want to collect through your form in a personal chat with the client. A long form like yours would drive me away. So you might want to consider asking less questions and trying to put the focus more on convincing the clients to give you their contact details. Then you can call them and talk about all that other stuff.
  23. Hello bowenac and welcome to the forum! The standard editor is CKEditor which is widely used on the net and has many configuration options. There is an extesive thread about it: https://processwire.com/talk/topic/3023-module-ckeditor/ If you don't like it, you can also go and install TinyMCE or the very lightweight Trumbowyg. When I did my first site with PW, it was quite challenging. But it was well worth to spend the time learning it. I wouldn't want to miss it and develop all new sites with PW now. You find tons of help and info in this board, in the docs section and the API Cheat Sheet can be particularly helpful. It is also useful to take a look at the different site profiles that come with PW 2.5. You can learn a lot about how things are working. Have fun with PW!
  24. For the concatenating part you can have a look at module FieldtypeConcatenate.
  25. I'm in Thailand where it was 9 in the morning when 3 in the morning in Berlin. At 3am I was sound asleep
×
×
  • Create New...