• Content count

  • Joined

  • Last visited

Community Reputation

5 Neutral

1 Follower

About nabo

  • Rank
    Jr. Member
  1. Hi Bernhard and thanks for your attention. I used your tip in a bad way... now it works
  2. Sorry, maybe I was not too clear... $exhibitions = new PageArray(); foreach ($events as $event) { foreach ($event->event_exhibition as $exhibition) { $exhibitions->append($exhibition); } } $exhibitions->sort("event_first_date"); foreach ($exhibitions as $exhibition) { echo $exhibition->parent->title; } This change $exhibitions->append($exhibition->getForpage()); doesn't work. I think "parent" works for page but not for repeater
  3. Hi $exhibitions = new PageArray(); foreach ($events as $event) { foreach ($event->event_exhibition as $exhibition) { $exhibitions->append($exhibition); } } $exhibitions->sort("event_first_date"); each event use repeaters for exhibitions. I need to print all exhibitions but at the same time I need the title of the event... I tried $exhibition->parent->title.... but it's not working
  4. Sorry... it was a problem with field access!!
  5. Someone has already asked but... no way for multi-language? I think that multi-language support should be the first thing to take care when developing a new module
  6. Hello I discovered a very strange problem I can not how to solve... I use this $meta_title = $page->meta_title!="" ? $page->meta_title : $page->title; In normal navigation everything work perfectly... but in private mode (incognito), system seems to ignore meta_title and writes the page title. Any idea??
  7. Hello is there a way to generate a different size image via api during the same process of import? product->setOutputFormatting(false); $product->images->add($file_url); $product->save();
  8. sorry... solved :-/
  9. Hi all... i tried and searched (maybe not enough, sorry ) I've got an offer template with a multiple page reference with stores. I would like to get all offers associated with a store. Template: offer store -> page reference (multiple)
  10. Sorry all... found it!!!!!!!!!! I need to activate other languages for any single store! Is there a way to do a massive update?
  11. But strange thing.... the store url, in other languages than default, exists and it works
  12. Hello... I search a lot but no results I've got a simple selector $items = $pages->find("template=store"); I've got result with default language... no results with other languages
  13. Hi @Zeka very easy indeed!!! Thank you very much!
  14. Hi @Zeka thanks, but in this case I think I will find all pages that with template store and repeater_field.hours = 10. I come with an example. These are the fields in my repeater: days hours I'm in the store page and I want to find only hours related to the day, for example friday. The example you provide me is not what I need
  15. Hi I've got a template for a store and I use repeater for opening hours. When I'm on the store page I would like to search inside this repeater to find the hours related to a precise day. Is it possible with selectors?