Jump to content

buothz

Members
  • Posts

    50
  • Joined

  • Last visited

buothz's Achievements

Full Member

Full Member (4/6)

3

Reputation

  1. errors.txt Error Exception: Method JqueryCore::addComponents does not exist or is not callable in this context (in /home/rvocsizt/public_html/wire/core/Wire.php line 232) #0 /home/rvocsizt/public_html/wire/modules/Jquery/JqueryCore/JqueryCore.module(39): Wire->__call('addComponents', Array) #1 /home/rvocsizt/public_html/wire/modules/Jquery/JqueryCore/JqueryCore.module(39): JqueryCore->addComponents(Array) #2 /home/rvocsizt/public_html/wire/core/Modules.php(327): JqueryCore->__construct() #3 /home/rvocsizt/public_html/wire/core/admin.php(15): Modules->get('JqueryCore') #4 /home/rvocsizt/public_html/site/templates-admin/controller.php(13): require('/home/rvocsizt/...') #5 /home/rvocsizt/public_html/site/templates/admin.php(13): require('/home/rvocsizt/...') #6 /home/rvocsizt/public_html/wire/core/TemplateFile.php(92): require('/home/rvocsizt/...') #7 [internal function]: TemplateFile->___render() #8 /home/rvocsizt/public_html/wire/core/Wire.php(271): call_user_func_array(Array, Array) #9 /home/rvocsizt/public_html/wire/core/Wi 2016-04-30 08:39:04 Error Exception: Method JqueryCore::addComponents does not exist or is not callable in this context (in /home/rvocsizt/public_html/wire/core/Wire.php line 232) #0 /home/rvocsizt/public_html/wire/modules/Jquery/JqueryCore/JqueryCore.module(39): Wire->__call('addComponents', Array) #1 /home/rvocsizt/public_html/wire/modules/Jquery/JqueryCore/JqueryCore.module(39): JqueryCore->addComponents(Array) #2 /home/rvocsizt/public_html/wire/core/Modules.php(327): JqueryCore->__construct() #3 /home/rvocsizt/public_html/wire/core/admin.php(15): Modules->get('JqueryCore') #4 /home/rvocsizt/public_html/site/templates-admin/controller.php(13): require('/home/rvocsizt/...') #5 /home/rvocsizt/public_html/site/templates/admin.php(13): require('/home/rvocsizt/...') #6 /home/rvocsizt/public_html/wire/core/TemplateFile.php(92): require('/home/rvocsizt/...') #7 [internal function]: TemplateFile->___render() #8 /home/rvocsizt/public_html/wire/core/Wire.php(271): call_user_func_array(Array, Array) #9 /home/rvocsizt/public_html/wire/core/Wi thanks
  2. Hi, thank u for your help. I've opened Chrome Network tab, I don't see any PHP error (debug true) I see on network tab removeClass@JqueryCore.js?v=162:16removeClass@JqueryUI.js?v=180:587(anonymous function)@main.js?v=2:31handle@JqueryCore.js?v=162:17F@JqueryCore.js?v=162:17handle@JqueryCore.js?v=162:17k@JqueryCore.js?v=162:16 and Chrome console VM770:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0parseJSON @ JqueryCore.js?v=162:16(anonymous function) @ InputfieldFile.js:171 JqueryCore.js?v=162:18 'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead. What can I do? And the right write permission on what folder? Thanks.
  3. when I upload images on admin area bar remain to 100% error: on chrome console VM797:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0parseJSON @ JqueryCore.js?v=162:16(anonymous function) @ InputfieldFile.js:171 With debug true: no errors on php I have not updated anything and even touched or database files, how can i resolve? Thanks
  4. I'm going to do the porting to a new server for a site with processwire. I wanted to know if I need to update the "userAuthSalt" in config.php and, if necessary, obtaining a new userAuthSalt. Thank u.
  5. In the demo site http://processwire.com/skyscrapers/ let's say for example that every skyscraper has its space, for example SunTrust Plaza want to manage page http://processwire.com/skyscrapers/cities/atlanta/suntrust-plaza/. My question is: Is it possible that the various companies of skyscrapers can manage its own page with admin and password, clearly giving the fields pre-set? If you can do, how can I structure the system? Using $ user and rules? Thanks
  6. buothz

    checkbox

    for example, I create a father field, when I select the father field the system gives me the opportunity to choose their children, and so on... In the admin panel sitename.com/processwire thanks
  7. In the admin area it's possible create a checklist tree like this? thank u
  8. If i've understand well what do u tell -> ids are of the template name for example 29 is basic-page.php template etc... I've the same problem for the fields, I can't see field's name but only id... how can I resolve this problem?
  9. thank u to all! Problem resolved! Another little question: why i can't see name of field but only id???
  10. $dati_auto = array("auto_marca", "auto_tipo", "auto_prezzo"); $maxi = count($dati_auto); echo 'max n vale' . $maxn; for ($i = 0; $i < $maxi; $i++) { //echo '<p>dati auto vale ' . $dati_auto[$i].'</p>'; $field = $fields->get('$dati_auto[$i]'); $label = $field->get("label$language"); echo "<li><strong>$label:</strong> $page->$dati_auto[$i]</li>"; } why this code don't work? There's a method to take an array with my vars and put in a cycle? Thank u
  11. I've this output <li class='Inputfield InputfieldSelect Inputfield_auto_marca ui-widget InputfieldStateRequired' id='wrap_Inputfield_auto_marca'> <label class='ui-widget-header' for='Inputfield_auto_marca'>Marca</label> <div class='ui-widget-content'> <p class='description'>Marca</p> <select id="Inputfield_auto_marca" class="required" name="auto_marca"> <option selected='selected' value=''></option> <option value='fiat'></option> <option value='bmw'></option> </select> </div> </li> why <option value='fiat'></option> and not <option value='fiat'>fiat</option>... I've not change files of your module... where's the problem? thanks EDIT -> corrected file InputfieldSelect.module your version $out .= "\n\t<option$selected $attrs value='" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . "'>" . $this->entityEncode($label) . "</option>"; my version $out .= "\n\t<option$selected $attrs value='" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . "'>" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . "</option>"; why this error? Can be a server problem with "$this->entityEncode($label)"?
  12. Is it possible to replicate a field in a template? Let me give an example. 1) I create a field named "article" (textarea multi language) 2) I insert the field "article" in a new template "page news" 3) I create a new page with the template "page news" 4) I enter my body, title, and ... 5) I want to put 3 fields "article", another page in 5 fields "articles", in another 20 fields "article" and so on ... using the same template. there is a method? FIND NOW -> http://processwire.com/api/fieldtypes/repeaters/ Thank u...
  13. I need to create an admin area where the admin processwire can enter data (create several new account username and password) in the mysql database. Once he has created access data, it can associate the access to different pages that are created by the admin panel for example admin create user: creative pass: madolo user log as user: creative pass: madolo and can display www.sitename.com/page1 that other users can't show... admin create user: pomodoro pass: rosso user log as user: pomodoro pass: rosso and can display www.sitename.com/page77 that other users can't show... and so on ... As you suggested me to do?
  14. perfect, resolved with $value = number_format($page->float_value, 2); u're a genius!
×
×
  • Create New...