Jump to content

wishbone

Members
  • Posts

    183
  • Joined

  • Last visited

Everything posted by wishbone

  1. yes thx I know but doesn't this cause _all submenus to collapse?
  2. only output submenu of active (current) menu item In modX, we had the "&hideSubMenus" parameter. How could I achieve something similar with this module, without the use of css of JS?
  3. PW magic Yes !! Well thank you, it's not important, only to understand the concept...
  4. ok, yes, now works, sorry, don't know why... I was confused because I don't have a file name. Could you pls explain me the concept how the page is displayed if not a file?
  5. thank you! that only throws me, again, a folder. I need the hardcoded absolute path and file name... I want to link to an anchor on the target page. I can't link to /site/category/output/#anchor
  6. thx! but I want it hardcoded, absolute URL...
  7. stupid question: want to link to an anchor on the tearget file. What is the name of the output file? I tried to guess, but /site/category/output/index.php isn't it, nor is site/category/output.php...
  8. full ack... never thought I could ever learn to code... With ModX, I had to hire programmers to write snippets I couldn't do anything new. With PW, I learnt some php, and piece by piece, with the help of this never impatient community, I can bring my ideas into life - by myself!!!
  9. Saturday? ... yes... right...
  10. just had a look at the answers in this forum - Ryan has worked himself through every unanswered post! On a Sunday afternoon...
  11. sry $connection didn't help. Server error logs I don't have access to. But don't ask me why I had the idea to test every piece of the script... so I found out part of it works... only if no email has been entered, an "Internal server error" is thrown! If email is specified - everything works fine! It doesn't work in the templates directory - is that right? I put it in root. Thank you for your help!!
  12. thx! It's an existing script, and it runs with another database than the PW install. It has to be integrated into the new PW site. I don't know nothing about sql, so, sorry, I can't adapt it to PW's own $db object... This is when Designers, starting to dream of processwire, get to their limitations... it's these queries: $connect = mysql_connect("rdbms.strato.de","user","password") or die ("Keine Verbindung moeglich"); mysql_select_db("DBxxx") or die ("Keine Verbindung moeglich"); $anfragedatum=date("d-m-Y"); $sql1 = "INSERT INTO fuhrung (anfragedatum,vorname,name,[...]) VALUES ('$anfragedatum','$vorname','$name', [...])"; mysql_query($sql1); $sql2 = "Select * from login"; $ergebnis = mysql_query($sql2) OR die("Anfrage fehlgeschlagen: " . mysql_error()); while ($row =mysql_fetch_array($ergebnis)) { $empfaenger2=$row['benutzermail']; mail($empfaenger2, $betreff, $text, "From: [...]"); It is not the same database as the PW install...
  13. A form across 3 pages runs some mysql script in the last page (send email etc). The mysql code is included in the template (as are the forms as well). Everything is fine, only the last page gives "Internal Server error". When packed in a php file (without template), the mysql is executed fine. Is it not possible to pack mysql code into a template or where is the mistake?
  14. got it! after sleeping, solutions often appear... everybody was talking about local installs with that error, so I controlled the DBHost. had the config.php overwritten with the local copy, when I put on the debug mode... Where can I mark the thread as solved?
  15. is it a good idea to copy original files to the wire directory? I really don't know where the mistake could be
  16. it is not local - how can I restart anything on provider side? mysql says 5.5.27, client Api 5.0.91. php 5.2.17 It was caused by PW as described...
  17. it's a running site... I'm desperate...
  18. thank you, but it's not a local install...
  19. My site was running fine, until I tried to get some mysql queries running inside a template (via include). I got internal server error, and also a DB connect 2002 one. I put on debug mode which gave me errors already on normal files (without mysql query). After that, site is down, I can#t even log in into the backend. I only get: "Unable to complete this request due to an error. Error has been logged." The error log says: "Error: Exception: DB connect error 2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (in /mnt/web6/d3/52/51421252/htdocs/wire/core/ProcessWire.php line 96)" no clue where to search...
  20. what about 2.3 compatibility? I couldn't find the module in the list of 2.3 compatible modules...
  21. with the above approach of OllieMackJames, this is the solution I needed to link to an external page inside MarkupSimpleNavigation menu. Thx!
  22. Found this thread just right now. Seems always the same thing. If processwire wants to get people developping with wordpress or joomla or even drupal and such, there must be a better start. As for myself, I'm a non coder as many, and I don't know many designers who are as "stubborn" as me to struggle through the wide spread documents. I came from modX, because it was the only CMS where I could start from static html pages, replacing piece by piece the dynamic elements. Then came modX revo and everybody said it's too heavy and clumpsy in the backend. Then came those people who said revo made them move to processwire, people who were engaged a lot in modX. So I tried it. It's even more flexible than modX - but much I can't say yet ;-) But every time I touch it I'm fascinated how smoothy the handling is, how simple solitions once I checked them... Every simple question has been answered by the incredible community! I don't know why they do that, it's almost like privat lessons ;-) guiding through the beginner's cliffs... I missed a beginner's guide where to start. Still now I'm always searching via google for the documents! There's got to be something to be done on that to attract more people coming from more prefabricated CMSes.
  23. oh! provider overrides htacess, I just noticed. Strato. I'll find out if I can change that... update: could prepend the pw htacess to the strato thing (which in fact was just a php config thing)... performance is bad, compared to the existing site!
×
×
  • Create New...