Jump to content

Cengiz Deniz

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by Cengiz Deniz

  1. Hi Adrian. Thank you for your message. Actually I have no TableCsvImportExport module, so i can not deinstall it. But install and deinstall again. The Problem persists. I checked Profields Table and it is paid module. Thank you in advance ? I deleted the folder in module directory then problem solved. Thnak you very much
  2. Hi Adrian. Thank you for your message. Actually I have no TableCsvImportExport module, so i can not deinstall it. But install and deinstall again. The Problem persists. I checked Profields Table and it is paid module. Thank you in advance
  3. When i check modules logs i see following errors a lot: Module 'TableCsvImportExport' dependency not fulfilled for: FieldtypeTable Any idea would be great. Thx.
  4. Thanks a lot I found a solution to find insatalled LC files with following code: print_r(ResourceBundle::getLocales('')); it lists all installed LC files names. Then i found "tr_TR" and additionaly try to add ".utf" and it works
  5. I think i found problem. when i change my default language set like property to "tr_TR.UTF-8" then problem occurs. How I can i solve this problem ?
  6. No I did not change any files. Where are located languages files. i could not find ?
  7. After upgrading to 3.0.62 ver i got an error related translation file. It requested a change in language files. I changed English file something like "en_EN.UTF8" . After that my site does not work and i get this error when i try to login in admin panel: Error: Class 'ProcessWire\Inputfield' not found (line 56 of /.../wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module)
  8. $minutes=155; $hours = intdiv($minutes, 60).':'. ($minutes % 60); echo $hours; Result: 2:35
  9. Sorting with different selectors, pagination works good When I logged in as Admin. But for visitors it does not work. I think it is cache problem. Any idea ? Thank You. https://cdeniz.com/kutuphane/kisiler/?sort=dogumtarihi
  10. It works now. Thank you very much. You are realy hero
  11. i think this is answer. but i dont know how can i do ? is it possible changing field type to integer in PW ?
  12. I use pagination modul. I have a field which has born year info. But I put the years with sign "-" for BC (Before Christ). my selector sorts like as text. -384, -4, -412 .. it must be: -412, -384, -4 selector: $pages=$page->children("limit=60, sort=date_field"); I want to order my pages like as php natsort function. thank you.
  13. thank you for all processwire heros . with your help i found the problem: foreach ($subs->children as $tree_item) fixed like this: foreach ($subs as $tree_item) proccesswire is magical and its community is wonderfull. thanks again to you and its founder @ryan
  14. I added screenshot. $subs query and category title are working well. But then query results do not appears. Thank you very much for you support.
  15. Hi, I can not run following function code. Help please. Thank you function konular($template,$catPageId,$ColCount,$ColSize,$ImgX,$ImgY) { $x = 0; $category = wire('pages')->get($catPageId); echo '<h2><a href="'.$category->url.'">'.$category->title.'</a></h2>'; $selector= 'template='.$template.', limit=4, sort=random'; $subs = wire('pages')->find("$selector"); foreach ($subs->children as $tree_item) { $item_image=$tree_item->images->first()->size($ImgX,$ImgY); if($x % $ColCount == 0) echo '<div class="row">'; echo '<div class="col-sm-'.$ColSize.'" style="margin-bottom:10px; padding-top:10px;padding-bottom:10px; ">'; echo '<h3><a href="'.$tree_item->url.'">'.$tree_item->title.'</a> </h3>'; echo'<a href="'.$tree_item->url.'"><img src="'.$item_image->url.'" class="img-responsive" style="width:100%"></a>'; echo '<p>'.$tree_item->summary.'</p>'; echo '</div>'; $x++; if($x % $ColCount == 0) echo '</div>'; } } $subs query and category title are working well. But then query results do not appears.
  16. thank you for your support. I dont understand that why i get an error when property is emphty. for example i copied following picture from internet and show with my exif code. it has no exif data. also no error.
  17. Thank you for your reply. Actualy I found my own solution without modul I added following code to template and its works very well. This give main EXIF properties: $image="http://cdeniz.com/".$img->url; $exif = exif_read_data($image, NULL, true, true); $date= $exif["EXIF"]["DateTimeOriginal"]; $camera= $exif["IFD0"]["Make"]." ".$exif["IFD0"]["Model"]; $sizes= $exif["COMPUTED"]["Width"]. " x ".$exif["COMPUTED"]["Height"]; $apertur= $exif["COMPUTED"]["ApertureFNumber"]; $exposure= $exif["EXIF"]["ExposureTime"]; $iso= $exif["EXIF"]["ISOSpeedRatings"];
  18. "timestamp" shows modified time. i want to show datetimeoriginal of picture. How can we add ?
  19. is it possible to add watermark during uploading images ? i think recently it is not possible. But can be an watermark option in admin panel.
  20. I solved finally. check_access=0 must be in '[ ]' brackets. $kisiler= $pages->find("template=kisi,sort=title,repeater_ozlusoz=[ozlusoz_konusu=$page->id,check_access=0]");
  21. Thank you very much for your comment. I added it to my selectro. But stil it is not working. $kisiler= $pages->find("template=kisi,sort=title,check_access=0,repeater_ozlusoz=[ozlusoz_konusu=$page->id]"); and my repeater access setup:
×
×
  • Create New...