Jump to content

henri

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by henri

  1. henri

    Move site

    thanks for the link fbg13... I believe I did all that but it couldnt hurt to do it again step by step. And: no i havent asked the hosting provider but I believe/know he doesnt know anything about processwire. You all do!
  2. henri

    Move site

    unrelated to proceswire? Copying to a new host IS related to processwire i think. My hosting provider isnt going to help me. Ok I will search for guides, but I you all do not know, I dont think I will find a better place..
  3. henri

    Move site

    so what do I do about it?? I copied the files and so on.. why doesnt it look like a processwire site then>??
  4. henri

    Move site

    Dragan. Gideon, Fbg, Guys, I think I did it all. BuT: i wanted to test it first so i put it on another domain. Changed all the things you all said but I got a site (http://www.witteneushoorn.nl ) that doesnt even look like the original (www.livius.org ) I dont even know where this data comes from??????
  5. henri

    Move site

    point domain to new server where?
  6. Hi Guys, I am new to processwire. I have to move a proceswire web to another server. How do i do that??? copying all the files doesnt seem to do the trick. I am presented with a very very old version of the website. What do I do wrong??
  7. sergio Thanks thanks thanks.. just tried it and it works like it should. I didnt know why there was "->title ." in it, I copied it from some other text line (and that worked, I dont know the difference, but maybe that wasnt a text field??) Once again: thanksssss.
  8. I made a php template with the following code // Show inscription, if any if(trim($page->inscr_nr) != "") { $content .= '<tr id="inscr_nr"><td class="label"><p>Inscriptionnr</p></td><td><p>'; $content .= $page->inscr_nr->title . '</p></td></tr>'; } In the backend I can fill the Inscriptionr ( a field inscr_nr that i added) BUT in the page only the text "Inscriptionnr" shows up, not the variable inscr_nr What is wrong with the code??? (by the way: inscr_nr is a text field)
  9. I am currently maintain a website created with Processwire. Very often it is extremely slow loading pages.. Sometimes even minutes to load.. How is that possible. Is processwire itself slow?? By the way: does anyone know if i have to build template files myself?? I tried one but the extra text (I created an extra field too) doesnt appear on the page..
  10. henri

    email

    thanks a lot. I wouldnt have got it by now. Must have taken another night without you guys!!!!!!!!!!!!!
  11. henri

    email

    yes yes, there they are. I added the second one (why wasnt it there??) thanks guys!!!!!!!!!!!!!
  12. henri

    email

    think i got it : in head.inc.php (why didnt ultraedit find it) $email_users = $homepage->recipients; where is that.. the datbase??
  13. henri

    email

    so its not in the database, its not in the files.. where can it be?? <?php /* =================================================== The main HTML/markup wrapper file for the templates =================================================== */ include("head.inc.php"); if($page->template == "courses" || $page->template == "courses") { require("filter.inc.php"); } ?> <!-- Main content --> <div id="content<?php if($page->template == "schedule") echo '-schedule'; ?>"> <?php // Has a form been sent successfully? if(isset($_POST["security_field"]) && trim($_POST["security_field"]) != "") { if($form_success == true) { echo "<p class=\"form_success\">Het formulier is verzonden. Wij nemen zo spoedig mogelijk contact met u op.</p>"; } else { echo "<p class=\"form_failure\">Het formulier is niet verzonden. Probeert u het nog eens of neem op een andere wijze contact met ons op. Excuses voor het ongemak.</p>"; } } // Are the results filtered? if($page->template == "courses" && isset($_GET["filter_place"])) { echo "<p class=\"not_available\">Dit overzicht is gefilterd. <a href=\"" . $page->url . "\">Verwijder het zoekfilter</a>.</p>"; } // Is this course or holiday currently not available if(($page->template == "course" || $page->template == "holiday" ) && $page->is(Page::statusHidden)) { echo "<p class=\"not_available\">Deze cursus of reis is op dit moment niet beschikbaar.</p>"; } ?> <?php $class = ($page == $homepage)? " class=\"home\"" : ""; ?> <?php // Is this a holiday that is fully booked? if($page->template == "holiday" && $page->fully_booked == true) { echo '<div id="fully-booked">Note bene: voor deze reis zijn geen plaatsen meer beschikbaar.</div>'; } ?> <?php if($headline) echo "<h1" . $class . ">" . $headline . "</h1>"; ?> <?php if($body) echo $body; ?> <?php if($page->template == "contact" || $page->template == "course" || $page->template == "holiday" || $page->template == "newsletter") { if(!$page->is(Page::statusHidden)) include ("contact.inc.php"); } /* else { if($page->template == "register") include ("register.inc.php"); } */ ?> <!-- Testimonials --> <div id="testimonials"> <?php // Load a random quote $quotes = $pages->get("id=1241"); $quotes = $quotes->children; $quote = $quotes->getRandom(); // Display quote $this_quote = $quote->body; $this_quote = trim(str_ireplace(array('<p>', '</p>'), '', $this_quote)); echo "<div id=\"testimonial\" class=\"no-mobile\">"; echo "<div class=\"quote\"><p><span class=\"bqstart\">&#8220;</span>" . $this_quote . "<span class=\"bqend\">&#8221;</span></p></div>"; echo "<div class=\"speaker\"><p>" . $quote->title . "</p></div>"; echo "</div>"; ?> </div> </div> <?php // Load sidebar if($page->template != "schedule") include("sidebar.inc.php"); // Include the footer include("foot.inc.php"); ?>
  14. henri

    email

    how can this be so difficult??
  15. henri

    email

    /** * prependTemplateFile: PHP file in /site/templates/ that will be loaded before each page's template file * * Uncomment and edit to enable. * */ // $config->prependTemplateFile = '_init.php'; /** * appendTemplateFile: PHP file in /site/templates/ that will be loaded after each page's template file * * Uncomment and edit to enable. * */ // $config->appendTemplateFile = '_done.php'; so NOT enabled
  16. henri

    email

    form id="register_form" action="./#register"
  17. henri

    email

    i cant see the html source helas. So also not the form action.. log php: <?php /* ===================== Template for log data ===================== */ include("./includes/functions.inc.php"); // Set basic variables $headline = $page->get("headline|title"); $body = $page->body; // Get the log file $dir = $_SERVER['DOCUMENT_ROOT'] . "/logs/"; $my_file = $dir . 'index.txt'; $lines = file($my_file); // Create table $body .= '<table>'; $body .= '<thead><tr><td><strong>Datum</strong></td><td><strong>Naam/email</strong></td><td><strong>Onderwerp bericht</strong></td></tr></thead>'; $body .= '<tbody>'; // Output the data foreach($lines as $line) { $fields = explode(" -> ", $line); $body .= '<tr>'; $body .= '<td>' . $fields[0] . '</td>'; $name_email = $fields[1]; $name_email = str_replace('<', '&lt;', $name_email); $name_email = str_replace('>', '&gt;', $name_email); $body .= '<td>' . $name_email . '</td>'; $body .= '<td>' . $fields[2] . '</td>'; $body .= '</tr>'; } // Finish table $body .= '</tbody>'; $body .= '</table>'; // Load the template include("./includes/main.inc.php");
  18. henri

    email

    i cant see the html source helas. So also not the form action..
  19. henri

    email

    template is contact page: this is the code <?php /* ========================= Template for contact page ========================= */ include("./includes/functions.inc.php"); // Set basic variables $headline = $page->get("headline|title"); $body = $page->body; // Load the template include("./includes/main.inc.php"); ?> but i think i already looked in those includes also
  20. henri

    email

    nothing, only those things,,,, ---------------------------------------- Find 'mail' in 'E:\WS_FTP Pro\ldesss\site\templates\log.php' (17-10-2014 0:00:00; 17-10-2014 0:00:00): E:\WS_FTP Pro\xxxxxx\site\templates\log.php(22): $body .= '<thead><tr><td><strong>Datum</strong></td><td><strong>Naam/email</strong></td><td><strong>Onderwerp bericht</strong></td></tr></thead>'; E:\WS_FTP Pro\xxxxxx\site\templates\log.php(31): $name_email = $fields[1]; E:\WS_FTP Pro\xxxxxx\site\templates\log.php(32): $name_email = str_replace('<', '&lt;', $name_email); E:\WS_FTP Pro\xxxxxx\site\templates\log.php(33): $name_email = str_replace('>', '&gt;', $name_email); E:\WS_FTP Pro\xxxxxx\site\templates\log.php(34): $body .= '<td>' . $name_email . '</td>'; Found 'mail' 7 time(s). ---------------------------------------- Find 'mail' in 'E:\WS_FTP Pro\xxxxxx\site\templates\news.php' (26-3-2014 0:00:00; 26-3-2014 0:00:00): E:\WS_FTP Pro\xxxxxx\site\templates\news.php(85): 'email' => 'Uw emailadres', Found 'mail' 2 time(s). Search complete, found 'mail' 9 time(s). (2 file(s)).
  21. henri

    email

    Abdus, they are nowhere. Only the ones that i just created in the field you mentioned. AND somewhere in comments.. so it isnt here?? I will try the other search 'mail(& `send(`
  22. henri

    email

    ok i could do that and look for the email in de csv/sql
  23. henri

    email

    i know one... o no i also know the one that isnt getting it
  24. henri

    email

    i think those were the email adresses of the users of the website...
  25. henri

    email

    I changed a field value within that. But that was another email altogether, so i dont know these are the fields used to send an email to
×
×
  • Create New...