Jump to content

doolak

Members
  • Content Count

    299
  • Joined

  • Last visited

Community Reputation

53 Excellent

About doolak

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

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

  1. Hello again, a very nice guy sent me a pm with some suggestions and of of them worked: And it wasn`t activated but needed... So it works fine now! Merci encore pour tout, C.! Kind regards Christian
  2. Hello everybody, on a multilanguage job website I am using the following code to show up a list of job offers. The site structure is as follows: - stellenangebote/ -- stellenangebote/stellenangebote_de/ --- jobs as child pages The jobs are located under /stellenangebote/stellenangebote_de/ as child pages and I want to show them up on /stellenangebote/ with the following template code: $stellenanzeigen = $pages->get("/stellenangebote/stellenangebote_de/"); foreach($stellenanzeigen->children('stellenanzeige_kategorie=1') as $child) { ?> <h3 class="uk-text-primary"><?php echo $child->title ?></h3> <?php } ?> This works fine for the default language (german) on /stellenangebote/ but its does not work on the french url version of this page /fr/offres-demplois/ . I have no idea whats wrong - has anybody an idea? Cheers Christian
  3. Hi there, found in the Roadmap that it is planned to replace the Regular site profile with a Uikit-based site profile. I am already working with Uikit - so I am looking forward to the replacement. Is this possible to get the Uikit-based profile even now? Kind regards, Christian
  4. No, it wasn't CKEditor - modified it in the module now and it seems to be ok.
  5. So it seems to be CKEditor which produces the problem - tried to set config.forceSimpleAmpersand in CKEditors config.js, but no success. Any idea?
  6. Hi, it's me again... Strangewise after having used the module for a long time I am having now a little problem with the generated URLs. The output encodes the URL Parameter to &amp; - Maybe this was the same all the time, but now Google returns an error: https://maps.googleapis.com/maps/api/staticmap?sensor=false&amp;center=loc:47.8528818,12.3630332&amp;markers=loc:47.8528818,12.3630332&amp;size=240x200 Does anybody have an idea how to fix this?
  7. Hey sorry, found the problem... The error occured just because there where some pages without added images - everything is fine now!
  8. Hi there, I need to show a cropped image from another page, which is selected with a page-field. I get the following error: here is the code I use: <?php foreach ($page->selected_page as $portfolio_item) { echo "<article class='one-fourth'\n>"; $image = $portfolio_item->foto->first()->getCrop('vorschau'); echo "<a href='{$portfolio_item->url}' alt=''>\n"; echo "<img src='{$image->url}' width='220' alt''>\n"; echo "</a>\n"; echo "<a href='{$portfolio_item->url}' class='project-meta'>\n"; echo "<h5 class='title'>{$portfolio_item->title}</h5>\n"; echo "<span class='categories'>Lorem ipsum dolor sit amet</span>\n"; echo "</a>\n"; echo "</article>\n"; } ?> On the portfolio page itself there is no error when showing the cropped image - anybody an idea what can be wrong?
  9. As I found no solution without hacking the core I tried to do it with jQuery. This seemed to work, but then I recognized that the browser will have already tried to load the images from the relative path before the script will be called. So I am using a PHP solution now: $body_orig = $page->body; $body_absolutepath = str_replace("/site/assets/files/", "http://xyz.de/site/assets/files/", $body_orig); echo $body_abosultepath; This works fine - but if somebody knows a simpler and better solution, please let me know.
  10. In an actual project I had to install PW in a subdomain and display the content via JSON / Pages Web Service. So I have the problem that, when adding images to a CKEditor textarea, the image path has to be absolute. Is there a possibility to make CKEditor render the image path in that way?
  11. Thanks a lot - have updated and it works fine. At the moment without translation support for the buttons but very nice!
  12. Ah, so this feature exists just in the dev branch - not in the stable version, right?
  13. Is this module still available and working with the newest PW release? Couldn't find it in the modules list.
×
×
  • Create New...