Jump to content

lsag

Members
  • Content Count

    28
  • Joined

  • Last visited

Community Reputation

4 Neutral

About lsag

  • Rank
    Jr. Member

Profile Information

  • Gender
    Male
  • Location
    Lisboa
  1. lsag

    Pages2Pdf

    Hello. Could someone tell me what i have to put in this template file? is it like a normal processwire template? checking the default template, i see $page->body shouldn't this get me the entire content of the <body> tag? instead i get, as the only content, the page's url. Thanks for the patience to this noob
  2. lsag

    Pages2Pdf

    Hello. i'm trying to install this module, but i have an error: says it need the module "WirePDF". In the documentation, says: how do i create this wrapping, and make the module work? thanks
  3. lsag

    unique fields?

    Thanks for all the input. For now, the labels will be a great help
  4. lsag

    unique fields?

    now we speak about this, if i need to repeat the field in the same page (sender_address and reciever_address), how do i change its name, so i can access it from the template? Maybe with a repeater, but i'll have to use the indexed array, right?
  5. lsag

    unique fields?

    ahh, of course. I never searched the use of that option. Now i know. Many thanks!!
  6. Hello. I'd like to clarify something that's in the back of my mind for a while. If i have 10 fields with the same parameters, except only the labels, for example scatered in different templates, i must have 10 different copies of those unique fields?
  7. im also implementing pages protected only by a a password. The code here works, but like this the password isn't using any encryption. I tried to define the field as a password, and like this make it encrypted. But i dont know how to compare with the user input i tried this, where password_salt is a password field for this page: // this works: i got the input from the form password field $pw2= $input->pass; echo "<br />bd: " . $pw2; // here i got the: Error: Exception: Method Password::match does not exist or is not callable in this context $pw3= $page->password_salt->match($pw2); echo "<br />password_salt: " . $pw3;
  8. So the resolution was: create a new barebones page, and line by line add the code again. I have no idea of what was the cause, but its working
  9. i have tagged this with carrousel and slideshow, because that was the initial problem i had. But while debugging, i'v seen that even the simplest jQuery is affected. And then forgot to remove the tags
  10. Hello. i have a very weird error in jQuery. this is the message in chrome's console: GET http://localhost/clientes/promundi/site/v4_pw/site/en/contact/images/ui-bg_glass_100_f6f6f6_1x400.png 404 (Page Not Found) jquery-1.11.1.min.js:2 GET http://localhost/clientes/promundi/site/v4_pw/site/en/contact/images/ui-bg_gloss-wave_35_f6a828_500x100.png 404 (Page Not Found) jquery-1.11.1.min.js:2 GET http://localhost/clientes/promundi/site/v4_pw/site/en/contact/images/ui-bg_highlight-soft_100_eeeeee_1x100.png 404 (Page Not Found) i can see jQuery is being loaded properly, because this works, showing the expected alert box. But what on earth are those files? And "ui-bg_glass" seems to be a jQueryUI file, which i'm not using! <script type="text/javascript"> $(document).ready(function($){ alert("message"); }); </script> and i'm not calling other jquery scripts. it happens with any version i try to run (one at a time, of course) calling 2.1.1 with the CDN <script src="//code.jquery.com/jquery-2.1.1.min.js"></script> calling 1.11.0 with the CDN <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> calling 1.11.1 locally <script src="http://localhost/clientes/promundi/site/v4_pw/site/site/templates/promundi/js/jquery-1.11.1.min.js"></script> calling 2.1.1 locally <script src="http://localhost/clientes/promundi/site/v4_pw/site/site/templates/promundi/js/jquery-2.1.1.min.js"></script> I'm not sure if this is a processwire issue, but i don't know where else to look for any ideas?
  11. lsag

    list input type

    thanks for the answer, and sorry for being so late in mine your solution is very clear, and is already implemented and working. thanks!
  12. well, enabling one field at a time may work. and i'll try your procedure tomorrow, if i get more errors. thanks
×
×
  • Create New...