Jump to content

a.masca

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by a.masca

  1. Hi everyone,
    I hope all is well in these strange quarantine days.

    I'm looking for a way to give those who visit a page with a catalogue (a simple list of pages) the possibility to change the order of the catalogue items
    by clicking on an up / down arrow.

    so from this:

    cat1
    - page 1
    - page 2

    should become

    cat1
    - page 2
    - page 1

    but I can't understand how to use $page-> sort correctly.
    Obviously I set the sort of cat1 children as a custom sort.
    Can you help me out?

    Thanks so much

  2. 28 minutes ago, huseyin said:

    I thing it is resolved. Please test.

    If it is resolved you may uninstall Tracy debugger.

    The reason was;

    The "Add Page" under Admin>Pages was unpublished.

    WOW WOW WOW !!!!!!

    Thank you very very very much!!!!

    Sorry, I don't know why this was unpublished.

    I hope that in the future I will be able to reciprocate.

    Andrea

  3. 2 minutes ago, huseyin said:

    sorry, wanted to try something and now i cant access the admin page.?

    at last action i changed the access option for the admin template to "No". See attached image.

    after this setting the admin login disappeared.

    Hope this can be reverted from the database.?

    admin.jpg

    No problem, now is ok.

    Thank you very very much for watching my problem!!!

  4. 19 hours ago, huseyin said:

    My english knowladge is no very well.

    I have read your first message after and after but did not understand the problem. Either i was not able to anderstand or there is not enough information to describe the problem.

    Do you get any error message while you try to create page with an other user except superuser role. 

    Any detail could help to understand the problem.

    Hi huseyin
    thank you very much for the response.

    Also my English is terrible (I'm from Italy) ?

    I have a test site: https://village.arkenu.it/pw

    you can enter with superuser role
    id: pwforum
    psw: ######## (I can send you via pm)

    or with user that have only test_admin role (which should be able to create pages but fails)
    id: test_admin
    psw: ######## (I can send you via pm)

    Thank you very much for any ideas!!

    Andrea

     

  5. 34 minutes ago, kixe said:

    Please check access settings in the related page template and parent page template.

    Thank you for the suggestion
    Already done and everything is ok but the problem is still here ..

    only users with superuser role can add pages

    thank you anyway

  6. 2 hours ago, huseyin said:

    In an old project i can see that i put this into find

    ....parent=/trash/, include=all,....

    Was not able to test it. Hope it helps.

    Thank you very much. It works!!

    But the other problems still remain.
    Especially the fact that only users with superuser role can add pages.

    Some idea?

    Thank you

  7. Goodmorning everyone,
    sorry for the inconvenience but I have a problem that I can't find in any other post.
    Strange things happen on a site:
    - despite everything being configured correctly (as already done in dozens of other sites) only superusers can create new pages
    - if I insert in a selector "include = all" the result is always 0
    - I should restore a series of pages incorrectly inserted in the trash, but I cannot select them with the selector "status = Trash"

    Some idea?
    Thanks so much for your valuable support.

  8. Hello,

    sorry but I have a problem that really can't solve by myself and I'm obliged to ask you.

    In my project I have this type of pages:

    - client (cliente in italian)

    - supplier (fornitore in italian)

    - project (progetto in italian)

    Only in every project I have all the link with client (pagefield single) and suppliers (pagefield multiple).

    Now the question:

    which is the quickest way to find all the suppliers for a specific client, and also how many projects every supplier have done for this specific client?

    I solved already but with a lot of foreach .... I'm sure that with selector there must be a quick way.

    this is my code:

    foreach ($pages->findmany("template=fornitore") as $fornitore) {
       $progetti = $pages->find("template=progetto, progetto_cliente=$page, progetto_fornitori=$fornitore");
       if ($progetti != '') echo '<a class="item_dx_a ajax-link" href="'.$fornitore->url.'">'.$fornitore->title.'  -  '.$progetti->count.'</a>';
    }

    Thank you very much for the aid.

     

  9. 32 minutes ago, Wanze said:

    Hi Andrea,

    Thanks! Out of curiosity, what is the reason to put the SeoMaestro field inside a repeater? Just can't think of any use case ? I'll look into it.

    Cheers

    Hi @Wanze

    I have a product template with a repeater that I use for tags of the product.

    I think that it would be great use the tags of the product for populate the meta tag of the page ?

    buy

    Andrea

    • Like 1
  10. Hi @Wanze, congrats for your great module! 

    Only one issue: if you try to set as meta tag input a repeater field, all the title of items in repeater are listed without space and commas between each of them.

    Also my items title are uppercase and it would be nice if they would but lowercase.

    Thank you very much!!!!

    Andrea

  11. Hello and thank you for the great job that all of you do every day on this great project!!!

     

    I have a little question:

    is possible to format the field float or decimal in this way: from 1000000.56 to 1.000.000,56 in repeater and repeater matrix?

     

    Thank you very much

    Andrea

     

    1174908187_Schermata2018-10-04alle18_40_00.png.85c2ce36eecd77955b49c8cad48a3d66.png

  12. Hi a.masca

    Can you share your current code? Do you store the events inside ProcessWire or are they only available after submitting the form?

    Cheers

    Thanks Wanze for the answer.

    In the page where I want to put my download pdf button,

    I have a list of reservations (every reservation is a page) that the user can filter with a form.

    example: $prenotazioni = $pages->find("template=prenotazione, giorno=xxx");

    So my goal is to pass to the pages2pdf this variable $prenotazioni,

    so the user can download the pdf of the list that he filtered.

    Thanks a lot

    Andrea

  13. Hello and thanks for the great module!!

    Everything seems to work but I have a doubt.

    I should create a pdf of a list of events that are setup by the user via a form.
    I would then pass a variable with the exact list to the template that I use to create PDF, but I can not.
    Some idea?
     
    Thanks so much
    Andrea
  14. Hello to all,
    since I switched to Processwire 3, I can no longer run the "Map Marker Module".
    Attached 2 screenshots of what I see in the backoffice and the frontend.
    Any thoughts on this?
     
    Thank you very much for helping

    post-2591-0-58503500-1459156687_thumb.pn

    post-2591-0-72954500-1459156700_thumb.pn

  15. Hello everyone,

    I have a repeater with a textlanguagefield, a textarealanguagefield and some Image field (set to 1).
    After adding a row to the repeater, and inserting the image. I'm unable to delete the image. Press the trash and save the Page will not delete the image. The message is green: Saved Page: /en/company/ (1 change)  but nothing happened.

    Some ideas?

    Thank you very much

    Andrea

  16. Hi to everybody and excuse me for the question, but this is a very strange problem.


     


    On some pages, not all, when I type in a field "textarealanguage" the word "limited" or "limit", when I try to save the page the system crash and send me to a 403 error page. I work with a CKEditor but the same is with TinyMCE and with a simple text area.


    I didn't find something special in the pages with this problem ...


     


    Thank you very much for the help!


     


    Andrea


  17. Hi to everybody, I'm new to Processwire and I'm really amazed by this CMS and framework.

    So thanks for this wonderful work!!!!!

    I managed to solve all the problems by reading this forum. 

    Only one remains: 
    I wanted to use "Hanna code" to insert into my text field some vimeo videos or google maps.
     
    I installed Hanna code and tried to create a new code like [[video_vimeo codice=100812490]] with the custom code: 
    <iframe src="//player.vimeo.com/video/100812490" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    but when i click on the save button the system return me a 403 forbidden page.
     
    I already tried to uninstall and reinstall the hanna code but nothing.
     
    Can anyone help me??
     
    Thank you very much!!
     
    Andrea
×
×
  • Create New...