Jump to content

Krlos

Members
  • Posts

    203
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Krlos

  1. Hello, I am very happy user of Processwire, and I'm thinking to build a personal project. This project will have a lots of forms, so I was thinking to use Formbuilder to save time and also to support Ryan for his awesome work on Processwire. Its a like an team management system, where I can store information about users, teams, what team the belong, inventory, journal etc. If someone who has used Formbuilder can help me with this questions that would be great. Can I create custom listings of the form submissions? Can I create pages with this listings Build custom reports Manage permissions access of the forms, listing and reports Thank you
  2. Hi, I took your advice , and you were right . Apparently when transferring data from my computer to the server permissions are wrong. I don't know why this is happening, I uploaded another PW project and everything worked well, using almost the same code.
  3. Yes is installed. I'm going to rebuild this site in PW 2.7 because I can't find how to fix this.
  4. Not working and no menu. As I said earlier, this code is working on localhost. Besides I have a nother website with the same menu code running on this hosting but using PW 2.7. I'm not trying to achive nothing fancy, just need top level pages on my menu, about 4 pages.
  5. I remove the selector_field and is not working either.
  6. I get this: string(12) "TemplateFile"
  7. I'm sorry I'm no php expert, don't know how to do what you asked me. I've trying things... if I remove the render($options); part, the error is gone, but the menu is not showing. I've changed all short tags to <?php but that didn't fix the error.
  8. I'm using markup simple navigarion module: <?php $treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module //Setting options for menu $options = array( 'selector_field' => 'nav', 'outer_tpl' => '<ul class="nav navbar-nav">||</ul>', 'show_root' => true, 'max_levels' => 1, ); // Render Menu echo $treeMenu->render($options); and including the file using: <? include('inc/menu-inc.php'); ?> Locally is working fine.
  9. Hi there, I'm having this error when moving the site from localhost (Mamp pro) to Hosting: Error: Uncaught Error: Call to a member function render() on null in /home/cuadrilatero/webapps/monica/site/templates/inc/menu-inc.php:16 Stack trace: #0 /home/cuadrilatero/webapps/monica/site/templates/inc/header-inc.php(74): include() #1 /home/cuadrilatero/webapps/monica/site/templates/home.php(1): include('/home/cuadrilat...') #2 /home/cuadrilatero/webapps/monica/wire/core/TemplateFile.php(219): require('/home/cuadrilat...') #3 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(347): TemplateFile->___render() #4 /home/cuadrilatero/webapps/monica/wire/core/WireHooks.php(548): Wire->_callMethod('___render', Array) #5 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(370): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #6 /home/cuadrilatero/webapps/monica/wire/modules/PageRender.module(503): Wire->__call('render', Array) #7 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(347): PageRender->___renderPage(Object(HookEvent)) #8 /home/cuadrilatero/webapps/monica/wire/core/WireHooks.php(548): Wire->_ (line 16 of /home/cuadrilatero/webapps/monica/site/templates/inc/menu-inc.php) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. I'm developing on Mamp Pro with php 7.0, si working fine on my laptop. (Processwire 2.8) My hosting also have php 7.0 Thanks in advance...
  10. Guys, It was a premissions problem. I ended uploading everything using ftp, and now is working fine. For some reason, when I packed the site using the Mac compress utility the permissions are screwed. Anyway, Thank you Guys for the help.
  11. I have all the assets inside the template folder along with te template.php files. I just tried: <?php echo $config->urls->templates; ?>assets/ No luck. The strange thing is that the PW backend is also loading without any assets, I'm gettin a unstiled backend.
  12. These are screens from the webhost.
  13. This is driving me crazy. I created a sub domain: dev.domain.com Uploaded all files, uploaded .htaccess (with no edits, just the working .htaccess from Mampro), edited the config.php to: $config->httpHosts = array('dev.domain.com'); With no success...
  14. Sergio, If I put the .htaccess file on the root folder of the webhost (Cpanel by the way) I get no assets If a move the .htaccess file from the root folder to the /devel/ I get no assets and a 403 error on assets files. I also tried to mimic the folder on my Mampro and everything is working fine too.
  15. Sergio, I'm using this to call my assets: <link rel="stylesheet" href="<?= $config->urls->templates; ?>assets/plugins/bootstrap/css/bootstrap.min.css"> I need to install in the /devel/ folder. I have changed the .htaccess file to txt Thank you for your help. config.php htaccess.txt
  16. Hi Sérgio, I tried the RewriteBase /devel/ But I'm still my assests are failing to load. I can access the backend, but the assests are failing there too. Any clue?
  17. Hi, I'm pretty sure this has been asked. many times before , but I can not find a solution to my problem, I need to show my friend how his site is going. I'm developing on my Mac usign Mampro, I have published about two other PW sites without problems, always in the root folder Whe I try to install this site to the "devel" folder in my friend's webhost, my assests are not working (css, images), and can't access the backend. The URL should be: www.domain.com/devel on my config.php I have: $config->httpHosts = array('domain.com', 'friends-admin'); I have copied over the .htaccess file Any help will be greatly appreciated
  18. Hi, I was testing your module and decided to leave it for later. As recheck this part I will send a report. Thank you.
  19. Hi, I was trying this module, and I get this error: Error: Uncaught Error: Call to a member function getDefault() on null in /Users/krlos/Documents/Sitios/processpdf/site/modules/ProcessSetupPageName/ProcessSetupPageName.module:99 Processwire: 2.7.2 PHP: 7.0.0
  20. Hi, I was trying this module becuase I this is the solution for my needs, I cant not make it work. When I click new page I get the same as adrianmak , Title and name are not autopopulated. I know my ready.php is working fine because I was trying this code from another post and the field was being autopopulated with the generated title: $this->pages->addHookAfter('added', function($event) { $page = $event->arguments[0]; if($page->template != 'your-template-name') return; $page->setAndSave('title', 'my page - ' . date("YmdHis")); }); I'am missing something?
  21. I'm interested in this one too.
  22. Great!! can't wait.
  23. I think the best way to promote PW is through documentation and tutorials for new users or users that are migrating from other CMSs. One of the great strengths of wordpress is the large amount of available material for novice users. I know by myself that PW is super easy, but apart from the tutorial "Simple website tutorial" by Joss there's no other complete tutorial about PW that can take you from knowing nothing to understand how it PW works. I'd love to do some tutorials by myself, but I still do not trust what I am doing or if I am doing well.
  24. I know about padloper, but I don't need a full feature shop, i only need to study it. I'm working only in the catalog part with a quotation form.
×
×
  • Create New...