Jump to content

Besen

Members
  • Posts

    8
  • Joined

  • Last visited

Besen's Achievements

Newbie

Newbie (2/6)

2

Reputation

  1. Hi I installed this module and it worked fine. But yesterday I upgraded the Processwire in version 3.0.44 (older was 3.0.42). Since this action I had this error on page rendering : Notice: Trying to get property of non-object in /processwire/site/assets/cache/FileCompiler/site/modules/MarkupSEO/MarkupSEO.module on line 127 On line 127 : $dataRendered = $this->page->seo->render; I lost $this->page->seo ! Any Idea ? Thx
  2. Finaly I juste included _init.php just after $view = factory->load in my if test. It worked fine ;-)
  3. Thanks @Wanze I will test it. I will keep you inform. Bye
  4. @Wanze Then I would like to use basic_page view template normally, but sometimes, if the page to display has got portfolio children I have to display these on a summary portfolio view.
  5. Hello When I'm using this code in a controller, the prepend file (_init.php) is not running. <?php // ======= basic-page.php ======= // SET ACTIVE NAV (used by _init.php prepend file $view->set('menuActive', $page->name); // DETECT IF PORTFOLIO if ($page->children->get('template=portfolio')) { $view = $factory->load('portfolio', true); // Load the main markup } ?> How can I set the prepend file running ? Thanks in advance
  6. Ok ! Then I found a simple and evident solution : I associated my template "special-page" on root 'Home' in Processwire back-office. It worked fine ! Thanks for your help and your pretty goode module
  7. Hi I just tried this but just display a white page... Thanks for your help
  8. Hi I am newbie on Processwire an I am using your module with smarty renderer. It works good but I have a difficulty. My Processwire page tree : Home (template = home.tpl) page 1 (template = basic_page.tpl) special page (template = special.tpl) I used an extended template 'template.tpl' in special.tpl and a global controller _init.php width the nav definition. How to do that : if I go to http://mywebsite.com/ (then get home.tpl rendering), I would like to have the render result from "special page" with "special.tpl". Sorry for my poor english language ;-) Thx in advance Besen
×
×
  • Create New...