Jump to content

KaMeKuN

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by KaMeKuN

  1. I see a fieldype made by Hanni; and i have a question with multi language; there's a way to made this fieldtype to save to multiLanguage processwire 2.5.* ? The module is: https://github.com/Hani79/Processwire_FieldType_Select_Drop_Down PD: i know there's a page fieldtype; but i dont wanna use that cause the final user dont need to see a page with 30 children for 1 category dropdown. Regards,
  2. The $markers = $page->children(); allow me to pass Page Array of markers. im attaching the map on hybrid to see that works just fine in that type of map.
  3. Im having troubles to make this work; for some reason on the admin area i can set my market fine; but when i render the map y de frontend the marker just go difrent from i save. I dont see why the module is making the marks in drifrent location from save on the db. Edit1: when i change the map to hybrid mode the market show in the right location; but if i switch to roadmap the cursor move from the location. $markers = $page->children(); $map = $modules->get('MarkupGoogleMap'); print $map->render($markers, 'field_map', array('type' => 'ROADMAP'));
  4. Im having troubles to make this work; for some reason on the admin area i can set my market fine; but when i render the map y de frontend the marker just go difrent from i save. I dont see why the module is making the marks difrente from save on the db. $markers = $page->children(); $map = $modules->get('MarkupGoogleMap'); print $map->render($markers, 'field_map', array('type' => 'ROADMAP'));
  5. Thanks for u repply; the link give me the idea to downgrade my php version to 5.3 and works like a charm. Really Thanks. Regards.-
  6. Thanks for your response; i have all requeriment of PW Green. PHP version 5.5.6 PDO (mysql) database Filter functions (filter_var) MySQLi (not required by core, but may be required by some 3rd party modules) GD 2.0 or newer JSON support PCRE support CTYPE support ICONV support SESSION support HASH support SPL support Found Apache module (cgi): mod_rewrite ZipArchive support /site/assets/ is writable /site/modules/ is writable /site/config.php is writable .htaccess looks good
  7. Hi, im having problem to install PW; "The server requested authentication method unknown to the client ", i can connect normaly with php conection. $link = mysql_connect('moretrealestatecom.fatcowmysql.com', 'db', 'pass'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_select_db('db'); But if i try with PDO return SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client: $dsn = 'mysql:host=moretrealestatecom.fatcowmysql.com;dbname=db'; $options = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8', ); try { $online_dbh = new PDO($dsn, 'morelstatedb', 'pass', $options); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo "Congratulations!"; } catch (PDOException $e) { echo $e->getMessage(); }
  8. Hi every one!, im having a big problem to figure out how to do this in PW in the front end i have this, a question and answer table for cars models: i do this easy with repeaters, the problem is the question are not standard now and going vary by the page, i test to do this but i see redundancy Labels questions, because when i add a new model i have to write the question and the answer (diplicity ). There is a way to resolve this?, sort of creating a template question or list question select so i can edit o create one from the repeater itself? PD: how can i hack PW to allow me to use nested repeaters in this case i need it Regards
  9. Yes it work normally on a new page, i think the problem appear to be when i add the 3rd item and try to send the data is too large.. maybe is much information. i cant figure out. The repeater field inside have assign 80+ fields so in the 3erd iteration are 240+ just on that repeater. maybe the problem is my implementation from what i need too do. please note that from the third and above stay "Unpublished"
  10. yes , but the problem is the ITEM ROW no the repeaters ifselt
  11. Hi, i have a problem with the repeaters; i can't delete or modify the item from a repeater; when i delete de repeater field from the page and then add again some of the value have still present. i dont understand this error. what can i do?
  12. Thanks for you module, im trying to do this: http://processwire.com/talk/topic/4640-repeater-item-collapsed/#entry45355
  13. <tr> <td width="320"> demo test</td> <td width="320" class="specMod spect_">• Disponible</td> <!-- repeater 1 item 1 --> <td width="320" class="specMod spect_">⊗ No Disponible</td> <!-- repeater 2 item 1 --> <td width="320" class="specMod spect_">⊗ No Disponible</td> <!-- repeater 3 item 1 --> <td width="320" class="specMod spect_">⊗ No Disponible</td> <!-- repeater 4 item 1 --> <td width="320" class="specMod spect_">⊗ No Disponible</td> <!-- repeater 5 item 1 --> </tr> <tr> <td width="320"> demo test 2 </td> <td width="320" class="specMod spect_">• Disponible</td> <!-- repeater 1 item 2 --> <td width="320" class="specMod spect_">• Disponible</td> <!-- repeater 2 item 2 --> .... </tr> What is the best way in order to do this in PW repeater fields?
  14. thanks for your help, this work for me, all my repeater fields start with the word 'repetidor' so i modify the code a little bit to make it work for all my repeaters $('[id^=wrap_Inputfield_repetidor_] ul.Inputfields.ui-sortable > li').addClass("InputfieldStateCollapsed"); Now i just need the name, cause i have a lot of item and when i need editing one i need to find one by one.. Regards
  15. Hi, im trying to play with the repeaters; i read the excellent tutorial on this page and made some groups for a project but i have a few questions. Is possible to every item for a repeater (item) be collapsed in the panel admin? Is possible change the title for the row, to know his content without need to click then? Regards.
  16. Thanks for repply, why dont show this part in permisssions like cascade style of all template?
  17. Sorry but i can't set up a new role called 'editor' where i want to this role have permission to edit and create new content to the site; i manage to apply the edit feature with the module "PageEditPerUser" made by ryan but i need to apply the same for create. How can i do this? EDIT: i found this Edit template -> access tab -> and "activate" page view / edit / add child permissions for each roles there. But i need to add acces to each template i have to each roles? Regards,
  18. I don't know how to config ck-editor on processwire in order to accept attributes in common HTML tags like <p class=='myClass'></p>, i look into edit field but i cant find the way to do this. Thanks in advance.
×
×
  • Create New...