Jump to content

mike77

Members
  • Posts

    50
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Warsaw, Poland

Recent Profile Visitors

18,948 profile views

mike77's Achievements

Full Member

Full Member (4/6)

8

Reputation

  1. Hi Fokke. I missed that topic and didn't realize that the solution is also in API Thank you very much.
  2. I'm not sure whether someone asked for it previously but I've noticed that default search script returns nothing when it searches for a string shorter then 4 characters. Where can I change that? I need to be able to search for names and words consisting of 3 letters. Thanks.
  3. Thanks for suggesting to push memory_limit higher. max_input_time is no matter in my case because Im working on localhost and the upload is quite fast. I must check it on live server though. Thanks again
  4. Hi Martijn, Well I altered php.ini like this: upload_max_filesize = 150M post_max_size = 150M memory_limit = 128M max_execution_time = 120 max_input_time = 120
  5. When I'm uploading a bigger file (90Mb for example) it stops on 99% or 100% and freezes. I have done all PHP configuration required. What could be the problem?
  6. I want to dynamically change page template when a certain condition is satisfied. For example: if ($page->numChildren == 0) { //change template } I tried to set new template when such situation occures but I'm getting errors.
  7. The simplest way to make the images added in textarea field show after migration is to preserve the same folder structure and folder names as it was on the previous machine. For example if your image was originally stored in let's say: localhost/project-name/site/assets/files/... don't change that to for example: localhost/changed-project-name/site/assets/files/... Just keep the original folder naming and structure and it should work. On live server you should use the same methodology as with localhosts. If you can't do it for some reasons maybe you should edit htaccess file and try to rewrite the old URL of the folder containing your images to the new, like: RewriteRule ^/olddirectory(.*) /new-directory$1 [R=permanent,L] I didn't check the second way so I'm not sure if it works. All this fuss with images not showing is because the URL of images added in textarea field are stored as they are and when you change the structure or names of the folders the URL is no more valid. The Firebug will show you error 500 (which is unfortunate) but when you change the DocumentRoot in Apache config to folder where you keep the website files the error will be 404 - which means that the image wasn't found due to wrong URL. I hope I made myself understandable
  8. Yes, something went wrong and I need to find out what it is as I installed the PW on my localhost which means I didn't upload anything. Thanks for assistance Soma.
  9. It seems when I added the missing files (icons too) - I wrote about it second ago here http://processwire.com/talk/topic/4431-tinymce-templates/#entry44432 - the icons in your theme showed up.
  10. Well, what can I say it doesn't work on my side (on 3 computers, 3 browsers). Considering that one of the jquery ui styles is refering to an image that doesn't load it would be strange if it worked. Nevermind, maybe someone else had some experience with it - and if not let's leave it there. The theme is still very nice and I willl use it
  11. I tested it in firebug and it seems the problem is somehow in jquery ui css file. There is a "ui-icon" class appended to the element where the clickable area is and and it uses a wrong sprite image which overrides the proper one. Once that background image is disabled the right one shows up and the bin is visible.
  12. The icon does not show on ff, ie and chrome (latest versions). The theme version is the actual - 1.0.4.
  13. Smashing theme. It's great! I found a little "bug", though. There is no trash bin icon (image deleting) on the blue bar when you use image field. The place where the icon should show is clickable and everything works, but lack of this tiny icon is a bit confusing for people not familiar with the original Ryan's interface (clients for example).
  14. Thank you Ryan, all clear now. In fact I need 24h system so I will leave "G" and erase "a".
  15. The timezone works correctly now - my obvious mistake, thanks for pointing it. It's like this: when someone sends data via the form (created in Form Builder) the data is then inserted into the DB. When I check time of the entry (lets skip the date to simplify things) in phpMyAdmin it shows me for example 13:30 - and everything is OK by now. But when I generate the data stored in DB as an output on the webpage the time of the entry is: 13:30 pm. To generate the date/time I use: $entry['created'] So my question was how can I make am/pm not to appear To get things more transparent here is the code for generating DB entries, plain and simple: <?php foreach($forms->get("wall-form")->entries->find() as $e) { echo "<div class='post'>"; echo "<h3>{$e['temat']}</h3>"; echo "<p><b>Dodane:</b> {$e['created']}</p>"; echo "<p><b>Autor:</b> {$e['autor']}</p>"; echo "<p><b>E-mail:</b> {$e['e_mail']}</p>"; echo "<p>{$e['wpis']}</p>"; echo "</div>"; } ?>
×
×
  • Create New...