Jump to content

sakkoulas

Members
  • Posts

    122
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by sakkoulas

  1. no $p->render() just dummy html 

    from processwire view thats right you save your content and its been update but im making html changes or writing some simple php code like  <?php echo time(); ?> foreach loops e.c and it doesnt show my modified code unless save the current page or manually clear the cache. 

     

  2. Hi kongondo, 

    im working local (MAMP), i have try with chrome and safari, also i access the page through local network from another pc and the first time load is getting the right data and after that return from cache, 

    cant be sure about browser cache i will test it more. though  every time i clear the cache pages from assets/cache processwire recreate them,  don' t know if that matters.

    thanks for your response

  3. hi 

    I have observed that processwire always cache my page even if i have disable cache from template, 

    my problem is that trying to style the page and to be able to see my changes i have to clear the cache either by save the page again or delete the assets/cache/* or  inside module page render .

    i have try  processwire v 3.0.39, 3.042, 3.051 

    thanks 

  4. hello adrian thank you for your response 

    but it doesnt work ..... :( 

    let me explain, in frondend i can set and save the field,

    I have a module that runs in backend and it neads to save that field from a form. 

    i have try everything i found in the forum but nothing worked.

    thank you

    .....

  5. kongondo, about the way that pagefield shows columns and rows,   i have changed inputfield Matrix.module selector and i have two pagefields one for columns and one for rows, so every time i add a page to pagefield the matrixfield shows the specific page.title. 

    the problem is that if matrix_value has a value and delete the pageField with the specific matrix column the cell is not deleted until i clear the value from the specific cell and save the page. 

    matrixField.jpg

  6. pagefieldA contains the Y axis names of the table and the pagefieldB the X axis Names of the table, and i want to save new values inside the table, here is an example.

    i want to save prices for one car with spesific color and Engine, so i have two pagefields, one for colors and one for engines

    PageField A    PageField B    

    red                   1000cc

    green              1200cc

    black               1400cc

                            1600cc
                            1800cc

    so i get a table 

                  1000cc   1200cc   1400cc   1600cc   1800cc

    red          400$       800$        1200$       etc..          etc..

    green      250$      420$        etc..          etc..          etc..

    black         etc..       etc..           etc..         etc..          etc..

  7. hi, kongondo, thanks for your response

    i dont want to calculate the values, just to save the inputfield values so i can search them, pe find("pagefield-A=something, $pagefield-B=something) , return $value, 

    i am not in my pc right now, i wil post my code later today

  8. Hello, 

    i need a dynamic table with fields inside a page 

    the y and x axis of the table has to get his values from two separate pagefields. 

    for example 

                                    pagefield-B-val2 | pagefield-B-val2 | pagefield-B-val3

    pageField-A-val1|         inputfield    | inputfield             | inputfield     

    pageField-A-val2|         inputfield    | inputfield             | inputfield    

    pageField-A-val3|         inputfield    | inputfield             | inputfield    

    pageField-A-val4|         inputfield    | inputfield             | inputfield    

    each time i select a new value from the pagefield(s) the table must by automaticaly increase with the new value. 

    is this possible?? 

    i have try with Ryans FieldtypeEvents module but i fail to save the inputfield value in DB 

    I would appreciate any ideas. 

    thanks.

×
×
  • Create New...