PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Custom Title Tag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom Title Tag

    Hi
    I have the Zoom Search tool installed on my website www.specialistinks.com and I would like the title tag of the page that displays the results to reflect the search term the customer as input. Currently the the page displays the PHP code, instead of printing the code out. I am not sure as to why this would be, I am profesant enough in PHP to write code correctly, but I think this error lies with the Zoom code and not with the short php code I have written, for your information the code used on the page is listed below:-

    <?php
    $title=$_GET['zoom_query'];

    ?>
    <title><?=$title?></title>

  • #2
    You appear to have modified the default "search.php" script. We do not provide free consultation and debugging for customized script code.

    There is no "error" in the Zoom code that causes this. The problem is likely in your understanding of how the Zoom PHP code works. Here's some tips:

    1) You cannot insert PHP code in the "search_template.html" file. See this FAQ for more information:
    Q. How can I add server-side scripting (eg. PHP, ASP) to the search template?

    2) If you modified "settings.php", the very file containing the words "WARNING: DO NOT EDIT THIS FILE", then, well, you've broken it. In other words, don't edit the "DO NOT EDIT THIS FILE" file. Seems obvious, but you'd be surprised.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X