Jump to content

kkalgidim

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

3 Neutral

About kkalgidim

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. echo title; Output -> Murat Övünç Konseri After i save page title become like this on admin panel -> Murat Övünç Konseri Here the code i save page $p = new Page(); // create a new page $p->template = 'home'; // choose template $p->parent = wire('pages')->get('/posts/'); // choose parent page $p->name = $wire->sanitizer->text($baslik[1]); $p->title = $wire->sanitizer->text($baslik[1]); $p->save(); // save the page Its multilanguage profile template ı attached the admin panel output what should i do?
  2. It works now. Thanx for fast solution!
  3. Apache 2.4.41 Running DirectAdmin 1.60.1 Running Exim 4.93.0.4 Running MySQL 5.5.31 Running Named 9.8.2rc1 Running ProFTPd 1.3.5b Running sshd Running dovecot 2.3.9.2 (cf2918cac) Running Php 5.5.38 Installed
  4. I am getting error when i try to install it from admin panel module install section. Compile Error: Arrays are not allowed in class constants (line 58 of /home/alanyaduyuru/domains/alanyaduyuru.com/public_html/site/modules/InstagramBasicDisplayApi/InstagramBasicDisplayApi.module) line 58 refers to const mediaTypes = [ 'carouselAlbum' => 'CAROUSEL_ALBUM', 'image' => 'IMAGE', 'video' => 'VIDEO', ]; Is it related with instagram update or just related with me? I am using fresh installed multilanguage profile if its matter. @nbcommunication
  5. @kongondoI am using opencart one of my project and i am waiting for padloper 2 to transfer it. important things for me is -international multi language and currency system.(detecting customer language and redirect him to that language) (also adding shipping and custom prices according to location of customer) - integration with local store barcode software. (when product sold in real store stock must be populated on online store)
  6. Hi, i found solution and i would like to post it here. Maybe it helps someone. i removed echo $searchresults->toJSON(); i used the code below instead of toJSON function $myPages = $pages->find('template=clinic|doctor|treatment|location|resource'); $data =$myPages->explode(['title', 'url']); echo wireEncodeJSON($data); now it shows the current language results You have to set the $.typeahead({ cache: false, if you dont set cache : false it still show the cached language result even you change the language.
  7. Hi, here is my question Home - Clinics - Doctors doctor.php template -> reference_clinic (page reference field) when i create new doctor i select the related clinic from reference_clinic field. Works fine! What i want is when i select related clinic on doctor template at the same time clinic template -> reference_doctor updated so, if i create a doctor i want to select a clinic. if i create a clinic i want to select doctor. Help please
  8. @Mats can you give an example for it. i think that there must be a simple way to filter page array to current language but i coundnt figure it out
  9. i tried it but its not working. thanks for your reply @3fingers
  10. no 😞 i also tried but its not working. i think find function does not accept variable parameter. maybe if i know the value of the laguage param it can be something like that
  11. @bernhard I used the module below. I dont really know about json files. Just what i want is live search system. https://modules.processwire.com/modules/pages2-json/ What does this do? Simply adds method toJSON() to Page and PageArray elements, is capable to converting image and file arrays to URL containers, travels recursively all objects before outputs actual JSON.
  12. Hi, i am using multi language system i have ajax search system (live search) When i enter the word into search box it find the related topics but also show the other langugae titles. How can i made it for current language? Here is the code that i use result attached as image
  13. The url segment l try to get is on the sub category of treatments page so url segment is for the present page i think. I get the url of treatment url or title of treament bit i cannot get the last segment of treatment url
×
×
  • Create New...