Jump to content

Sevarf2

Members
  • Content Count

    566
  • Joined

  • Last visited

  • Days Won

    1

Sevarf2 last won the day on December 10 2013

Sevarf2 had the most liked content!

Community Reputation

122 Excellent

About Sevarf2

  • Rank
    Hero Member
  • Birthday 02/02/1981

Profile Information

  • Gender
    Male
  • Location
    Italy / Romania

Contact Methods

  • Skype
    frankvessia

Recent Profile Visitors

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

  1. if I understood correctly your situation, you can simply use the numReferences of the pro_kategorie field
  2. man...I make the same mistake like 10 times a day...I'm so frustrated about it...but glad that I'm not the only one ahah
  3. I'm trying to change template on the fly (when there is a urlSegment in homepage) and I'm almost there (I guess), the behaviour is strange, the markup is working but if I print the template name I get the home page, something is not working properly The code is inside a custom module. Thanks for the help. I'm using v1 (can't use v2) public function ready() { $this->addHookBefore('Page::render', $this, 'hookProfiles'); } protected function hookProfiles($event){ $page = $event->object; if($page->template == 'home' && wire('input')->urlSegment1 != ''){ $page->template->set("filename","/site/templates/author.php"); $factory = $this->modules->get('TemplateEngineFactory'); $theme = $factory->load('author.tpl'); wire()->set('view', $theme); } }
  4. Strange behaviour recently...when adding or re editing an image (no matter what the edit is, add retina, or link the source image) inside the ckeditor, it disappers an get deleted fromt the code. It doesn't happen every time so there should be something that trigger this but I can't find what is it. PW 3.0.165 pw_images.webm
  5. I'm sorry but there is a new error showing up in logs: Fatal Error: Uncaught Error: Call to undefined function bd() in /site/modules/FieldtypeImageReference/InputfieldImageReference.module:226 Stack trace: 1. /site/modules/FieldtypeImageReference/InputfieldImageReference.module(192): InputfieldImageReference->renderThumbnails()
  6. I just installed tracy and I got this error I'm using php settings not json [ 'name' => 'logotest', 'label' => __('Logo & Favicon'), 'type' => 'InputfieldImageReference', 'width' => '100', 'fromfolder ' => true, 'folderpath' => 'assets/imgs/', 'description' => __('image upload'), 'collapsed' => 0, ],
  7. still not working, I can only see the default image and nothing more
  8. Hi @gebeer I'm trying to use your module within the settingfactory module but I' having some issue initializing it, what are the mandatory parameters to make it work? I tried this config but it shows just the placeholder image. Thanks [ 'name' => 'logotest', 'label' => __('Logo & Favicon'), 'type' => 'InputfieldImageReference', 'width' => '100', 'fromfolder ' => true, 'folderpath' => '/site/templates/', 'description' => __('description'), 'collapsed' => 0, ],
  9. Anyone tried MariaDB 10.3 or 10.4 ? The new amazon aws database service starts with 10.3.
  10. Hello, I'm having a strange issue, the module works fine in production mode, but when I enable the $config->debug = true; the module cannot compile my files and output this error <b>Warning</b>: A non-numeric value encountered in <b>/site/assets/cache/FileCompiler/site/modules/AllInOneMinify/AllInOneMinify.module</b> on line <b>713</b><br />/site/assets/aiom/css_b636f2192ceb48c592835de3c2d9c3b9_dev.css?no-cache=1601104220"> Any idea how to solve this? Thanks
  11. Unfortunately (after a quick review) I can't use the 2.0 version of Template Engine Factory because I can't install other dependencies (twig) so I have to stick with the 1.1.3
  12. mmhhh never knew there was a 2.0 version...I was always relying on the automatic upgrade module and the 1.3 was the latest available...I'm gonna try it, maybe the issue will solve itself with the newer version, thanks
  13. In my site I use a templating system Template Engine Factory and I'm having a small issue when trying to visualize the preview revision inside the History tab, I get this error, the way the template engine passes variables between the controller and the view is not recognized ($view->set('myvar',$myvar)), is something fixable? Thanks
  14. Hi, did you solved this issue? I have the same problem and even removing the segmentation from home page the issue persists.
  15. The PW admin form is made for input data not for displaying it, you have to create your own dashboard if you want, take a look at https://modules.processwire.com/modules/dashboard/
×
×
  • Create New...