Jump to content

FEZ

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by FEZ

  1. RT @TagesschauVor20: [28.5.96] Großflughafen wird bis 2011 in Schönefeld gebaut. 1 Mrd. DM Anschlusskosten für Sperenberg waren zu viel. ht…

  2. RT @mezzomix22: Danke an alle die die FFBW:Con auf der #GPN16 organisiert haben - viele gute Gespräche und Interessante Einblicke! https://…

  3. RT @MoepMan: Demoscene auf der #GPN16 in voller Lautstärke im Medientheater rockt ja schon :)

  4. t-24 für DemoScene Vortrag auf der #gpn16... Zeit für ein paar private Zeilen Code...

  5. Was für eine Idee... welch ein Ergebnis... darüber muss ich mal mehr rausfinden... Künstliche Kunst

  6. okay, https://t.co/edVcqxqEFG now is multi-language ready! Thank you @processwire for being such a GREAT tool

  7. ahhh forgot to mention that I created a icon request for @buffer in the font awsome project https://t.co/zOXJZny6tq

  8. You do @processing but stumble when placing text? This might help https://t.co/kc5X07uzkW

  9. Und wo soll ich jetzt drauf drücken, wenn ich einfach nur die Tür aufmachen will? #puzzled https://t.co/PcnHcuOJpM

  10. Hey @buffer ist auf SpON: Transparente Firma: "Wir veröffentlichen alle Gehälter im Internet" - https://t.co/6micmTzYSK

  11. Und wenn euch supergeil noch nicht genug ist, hier noch mehr Friedrich Liechtenstein https://t.co/h6mbMofzp4

  12. Bin ich eigentlich ein digitaler Öka-Papa wenn ich meine Kinder nur selbstgeschriebene Computerspiele spielen lasse? #processing

  13. Was würdet ihr draußen machen? https://t.co/fGOiNHQeHK

  14. Na das sind ja mal gute Nachrichten! Die #störerhaftung fällt! https://t.co/EZAeQNOHDU

  15. So, ein bisschen Programmierung später und das MediDoodle gibt es auch auf dem Rechner #doodeling #processing https://t.co/qy1QP1fDXY

  16. #omnomnom RT @jottes: Momentaufnahme, wie eine Sternwarte einen Stern einfängt um einen Stern zu warten. #sternetüv

    https://t.co/N1uG6urT56

  17. Okay, off to learn git ,-) But thank you for the quick answer. Wow, that one was quick. Yes this was what I was looking for...
  18. Okay... I got a first fix (but it does not help yet) in ProcessPageEditLink.module you need to replace the existing getFiles() method with the following code. It iterates thru all RepeaterFields as well. This results in all images being shown: protected function getFiles() { $files = array(); if($this->page->id) { $files = $this->getFilesFromPage($this->page); } asort($files); return $files; } protected function getFilesFromPage($pageToCheck){ $files = array(); foreach($pageToCheck->fields as $field) { if($field->type instanceof FieldtypeFile){ foreach($pageToCheck->get($field->name) as $file) { $files[$file->url] = $field->getLabel() . ': ' . $file->basename; } } else if($field->type instanceof FieldtypeRepeater){ foreach($pageToCheck->$field as $repeaterPage){ $files = array_merge($this->getFilesFromPage($repeaterPage),$files); } } else { } } return $files; } Just to make sure we have it all in here. This was the original code of getFiles() protected function getFilesOrig() { $files = array(); if($this->page->id) foreach($this->page->fields as $f) { if(!$f->type instanceof FieldtypeFile) continue; foreach($this->page->get($f->name) as $file) { $files[$file->url] = $f->getLabel() . ': ' . $file->basename; } } asort($files); return $files; } So this works now. Only problem is, that InputfieldAssistedURL.module uses not the main page ID as the link. So when the InputField is placed inside a repeater, it sends the ID of the repeater and not the one of the page (repeaters behave like pages). So we need to break out to main page from this repeater as well to see all images of the page... I will follow up on this. (Side question: Any hint were I should post my getFiles() patch so it might end up in the main core?)
  19. RT @chiefmartec: The Paleo-Content Diet: you only consume content that would've been worthy of being expensively produced in early media. (…

  20. OMG this one is what I have been looking for. But I have one challange. I do use repeaters quite a lot in my templates. And images in those repeaters are not listed? Are you aware of this? Maybe even working on a fix? I will dig into it in the following days, but if you are already on it let me know ;-) Felix
×
×
  • Create New...