Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

22 Excellent

About joe_ma

  • Rank
    Sr. Member

Profile Information

  • Gender
  • Location
    Liebefeld, Switzerland

Recent Profile Visitors

3,921 profile views
  1. I tried to update the module on the live site. Now I get this error message and can't go back to the backend. What can I do to repair this? Edit: So I replaced the module with the version from my local server (1.0.6). Now everything works all right. And all videos become inbedded now. I became aware, that the live server is still running on PHP 5.6. Is it save to switch to php 7.4 with PW 2.5.3?
  2. I can't get the module to work properly on a live site. Everything is working fine on a local installation, but not on the live site. PW: 2.5.3 Multilingual site Body field: TextareaLanguage, Regular CKEditor Textformatters: SmartyPants Typographer, Hanna Code and Video Embed ACF is on On the local xampp installation everything works fine, all videos from youtube and vimeo are correctly embedded. On the live site, videos from youtube are not embedded, nothing happens at all, URL of the video stays untouched. For videos from vimeo something happens, but only part of the embedding takes place. HTML source shows this: <div class='TextformatterVideoEmbed' style='position:relative;padding:30px 0 56.25% 0;height:0;overflow:hidden;'></div>
  3. Hi everybody Is it possible to list fields of referenced pages like this: Template «testresults» contains a page reference field to page with the pupil's personal details (template «pupils»). Now I want to list all the test results (filter template=testresults) plus on each of the listed pages some of the personal details of the pupil. Is that possible, and if so, how? Thanks for help.
  4. On a new pw 3.0.89 installation of mine I've got a problem with role permissions. The setup is like this: Templates: home, basic-page, text-only, folder All of these have no restrictions in the "family" section and all of them have the same access definitions (see edit-template.jpg below) There is a role "redaktor" that has permission to edit, add, delete, move and also clone pages (see permissions.jpg below). Now, when logged in as a user with this role, I can only choose from basic-page and folder. The text-only template is not available.
  5. Hello I tryed to modify the search template so as to search also descriptions of an upload field. $selector = "title|body|upload->description~=$q, include=hidden, limit=50"; That throws the following exception: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? So how is this correctly done? Thanks.
  6. Thanks Adrian I changed all these lines and now it works. Sort of. But: the leaflet.js script that is now loaded still contains links to unsecure sites. I get the following errors/warning:
  7. I changed my site to https using the Let's encrypt certificate. Therefore I uncommented the respective lines in the .htaccess. But the leafletmap module doesn't seem to get this right and includes the css files in the head of the page with http only. So the page doesn't load because of mixed content. Where can I fix this so as the https files become included? Thanks for help.
  8. Thanks a lot. Works like a charm and is – of course – much more elegant than my gobbledigook.
  9. Hi Trying to setup a customized navigation. Page tree looks like this: home – upcoming exhibitions –– exhibition 1 –– exhibition 2 –– … – about – archive –– arch 1 –– arch 2 –– … – impressum Now I'd like to have a navigation, that lists only the subnav of "upcoming exhibitions" but not the one of "archive". I modified a snippet I found here in the forum. It looks like this so far: <nav class="mainNav"> <ul> <?php $homepage = $pages->get('/'); // first item links to the homepage echo "<li><a href='$homepage->url'>Aktuelle Ausstellung / current exhibition</a></li>"; $children = $homepage->children(); // render an <li> for each top navigation item foreach ( $children as $child ) { if ( $child->id == $page->rootParent->id ) { // this $child page is currently being viewed (or one of it's children/descendents) // so we highlight it as the current page in the navigation echo "<li class='active'><a href='$child->url'>$child->title</a></li>"; // if upcoming page has children, list them } elseif($child->id == 1020 && count($child->children)){ // build the subnav and list all items echo "<li><a href='$child->url'>$child->title</a><ul class='upcoming'>"; foreach($child->children as $c){ echo "<li><a href='$c->url'>$c->title<br>{$c->date_from}–{$c->date_to}</a></li>"; } echo "</ul><li>"; // otherwise list only main items } else { echo "<li><a href='$child->url'>$child->title</a></li>"; } } ?> </ul> </nav> This puts out the navigation as wanted, but only for main items (see fig. nav-open.png). As soon as "upcoming exhibitions" or one of its children is active, the navigation collapses (see fig. nav-closed.png). I cannot find out, where I went the wrong way. Thanks for help.
  10. Thanks a lot. I think that solved the problem. The admin of the server started a thread of his own and got the problem solved:
  11. I'm trying to run pw (intranet) on a IIS Server. Now I encountered permission issues: It is only possible to create new pages (with file uploads), when permissions are set to "everybody is allowed to do everything". Obviously our server admin is not happy about this. As I don't know anything about permission settings on IIS servers I'd be glad if someone could tell me what user should have which permissions. And: when in config.php debug is set to true, the page tree in the back end is no more accessible. Thanks for help.
  • Create New...