Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/2019 in all areas

  1. You can also change settings via API: $tpl = $templates->get("location"); $tpl->noAppendTemplateFile = 1; $tpl->appendFile = ""; $tpl->save();
    2 points
  2. Quietly and without interruption this week, our whole website (and all subdomains) moved from a single static server to a load-balanced multi-server environment, giving us even more horsepower and redundancy than before— https://processwire.com/blog/posts/processwire-hosting-upgrades/
    2 points
  3. I'd call it an Easter Egg ? sorry, couldn't resist
    1 point
  4. Ok... yeah, thats everything. Just log out/in and it will be ok. That's the easiest of all fixes I know for this.
    1 point
  5. You could check if one of the newer fieldtype selectors work for you: https://processwire.com/blog/posts/processwire-3.0.91-core-updates/ I just quickly did a test: It seems if you omit the matrix-fieldname, it works, e.g. If I have a matrix field called matrix, and inside it is a body field with a matrix-name "richtext": matrix.richtext.body%=keyword // doesn't work matrix.body%=keyword // works $res = $pages->find("matrix.body%=fräsen"); if($res->count) { echo '<ul>'; foreach($res as $match) { echo "<li><a href='{$match->url}'>{$match->title}</a></li>"; } echo '</ul>'; } else { echo "<p>No results found.</p>"; }
    1 point
  6. <div uk-lightbox> <?php foreach($page->images as $image): ?> <a href="<?php echo $image->url; ?>" data-alt="<?php echo $image->description; ?>"> <img src="<?php echo $image->width(120)->url; ?>" alt="<?php echo $image->description; ?>"> </a> <?php endforeach; ?> </div> I'd go this way. The first DIV shouldn't be in the foreach() loop. You also want to take a closer look at the different output strategies ProcessWire provides. You are using the delayed output method which can be confusing for beginners. Look at the direct output strategy instead. That's where my example came from. https://processwire.com/docs/front-end/output/
    1 point
  7. $res = pages(1067)->files->sort("filename"); // or page()->files->sort("filename") btw: this syntax assumes you have enabled functions API in site/config.php: $config->useFunctionsAPI = true; otherwise you'd just use $page->files->sort("filename");
    1 point
  8. @ryan and @Pete - the developer directory is currently returning "directory.processwire.com redirected you too many times."
    1 point
  9. @Juergen I think that a hacker will easily find other ways to determine the underlying CMS by inspecting the markup or headers (or https://builtwith.com/). But I see your point ? For now, you can use a hook to disable the generator tag: $wire->addHookAfter('SeoMaestro::renderMetatags', function (HookEvent $event) { $tags = $event->arguments(0); $group = $event->arguments(1); if ($group === null) { unset($tags['meta_generator']); $event->return = $tags; } }); Feel free to open a feature request on GitHub. Cheers
    1 point
  10. @Juergen @Peter Knight There is a render() method for any "group", but in case of the robots it will only return something if at least one option (noIndex, noFollow) is checked. Your example to access the individual data is correct, you can also use the following syntax, which looks slightly nicer: $page->seo->robots->noIndex Cheers
    1 point
  11. The family centre in Furtwangen, Germany, is an association of three Catholic day-care centres. Among them are the kindergartens Maria Goretti and St. Martin as well as the children's house St. Elisabeth. The navigation of the website captivates by a clear structure, which is thought from the point of view of the site visitors. The structure and the color-separated areas make it easy for visitors to enter the site. The color palette used for this is derived from the logo and gives the site a playful and friendly appearance. In the background, large-format pictures give a first impression and create an authentic atmosphere. For announcements there is a news ticker on which events, news or job offers can be advertised. www.familienzentrum-furtwangen.de Features: Navigation News ticker Navigation The navigation is separated in areas for visitors or parents and has an automatically generated color palette with ten different colors from the logo. Links can be references to existing pages to resuse informations without having duplicate content. News ticker The news ticker can contain downloads, links or text and is a fixed part of the navigation. Modules used: Cookie Management Banner Front-End Page Editor Markup Sitemap XML ProCache Repeater Matrix Tracy Debugger Upgrades Regards, Andreas
    1 point
  12. Hi fellow Seo Maestros, The next version 0.6.0 adds the ability to customize the canonical URL of a page: The canonical URL is part of the "meta" group. You must enable the canonical URL under the "Input" settings of your SeoMaestro field, if the content editors should be allowed to change it. This release also includes a new hook to add custom items to the XML sitemap, useful if you have pages using URL segments to present additional content. Cheers
    1 point
×
×
  • Create New...