Jump to content

diegonella

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

1 Neutral

About diegonella

  • Rank
    Jr. Member

Profile Information

  • Gender
    Male
  • Location
    Buenos Aires, Argentina
  1. In my time I also with PW 2.6.1 with an integer field. Via API will reasing value and was again visible in the admin
  2. Thanks Wanze, LostKobrakai, Is there any official recommendation configuration? Recommend that hosting and settings are you using?
  3. Hi @wanze, Slow in the admin to add a new field to a template, to move from one sector to anotherbetween templates, fields and other internal sections because I'm still in development and creating fields, assigning them to the templates. I am on a local development server, with processwire 2.6.1 So I ask if any special configuration recommended for php, mysql or apache. Thanks
  4. I am developing a site of some 200 pages and I notice very slow, I wonder if there are any recommended especially for mysql configuration, guess who comes out there, because they are pages that have many fields. The server is Intel Core Duo, 2GHz, 4GB RAM, and I've tested both on Windows and Linux, since it has dualboot. Any recommendation? Thanks
  5. I am using the following code: $new_pt = new Page(); $new_pt->parent = "/opt/"; $new_pt->template = "pt_template"; $new_pt->name = uniqid('pt-', true); $new_pt->title = "Title ".time(); if ( $new_pt->save()) { $page->of(false); $page->pt_field->add($new_pt); $page->save(); } and it turns out I inserted 2 pages, and I can not know where the problem. I'm using 2.6.1 PW Could give me a help, where my error. thanks
  6. Hello, I am wanting to hide the tree admin certain pages with a specific template, I tried to make a module, but I do not quite understand how to apply the hook This is my code public function init() { $this->addHookAfter("ProcessPageListRender::getPageActions", $this, 'hookPageList1'); $this->addHookAfter("ProcessPageListRender::Execute", $this, 'hookPageList2'); } public function hookPageList1(HookEvent $event) { $page = $event->arguments[0]; if ( $page->template == "familiares" ) { $actions = null; $event->return = $actions; } } public function hookPageList2(HookEvent $event) { $page = $event->arguments[0]; if ( $page->template == "familiares" ) { $event->return = false; } } As I apply the hook?
  7. Hello vxda, Could you share how I stay with your facebook login module without changing the password? I'm going through the same problem and I could not find resolve thank you very much
  8. Thanks LostKobrakai But what is not as changing the template assigned to the page I'm invoking (at runtime)
  9. Hi all, I am listing a gallery of products and each product, there is the possibility of seeing a rapid or enter the product and see it in detail view. I have the following structure /products/product-a and would like to pass on to the product in a segment to display quick view /products/product-a/quick-view There any way to use another template in runtime? Thanks
  10. Hi kongondo, I have encountered exactly the same error.
  11. Adrian, I need to filter the pages in which the "Field Page" is null or with ID xxxx
  12. Thank you for your prompt response, The field allows a single value, I tried, with ID and the page "standard" and no, I need to filter by NULL or page ID
×
×
  • Create New...