WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • SiteModified Error with SEARCH and multilingual site
  • Print
Pages: [1]   Go Down

Author Topic: SiteModified Error with SEARCH and multilingual site  (Read 5484 times)

fathead

  • Guest
SiteModified Error with SEARCH and multilingual site
« on: February 05, 2010, 07:22:56 PM »
I'm running a multilingual Site with WB 2.8, setting up the structure as follow. Then modified it according to this.

Works perfectly. Now with [[SiteModified]] integrated in the footer of the template, expected note is shown, exept in the search results, following error is shown

Error in: SiteModifiedDe, no correct returnvalue.

How could I exclude the */search/index.php from the droplet, directly in the template or in the droplet itself? A question from a PHP Donk.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8924
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: SiteModified Error with SEARCH and multilingual site
« Reply #1 on: February 07, 2010, 09:29:45 PM »
hi, for quick help:

first way:
- this code
Code: [Select]
<?php 
 
if (PAGE_ID > 0) {
    echo &
#39;[[SiteModified]]&#39;;} 
    
else {echo &#39;&#39;;} ?>

or other way:
  - module: last update info
 - instead droplet sitemodified this code
Code: [Select]
<?php if(function_exists(&#39;get_modified_when&#39;)) { get_modified_when();}  ?> 

... from the german-thread https://forum.WebsiteBaker.org/index.php/topic,17018.msg112101.html#msg112101

dbs
Logged
https://onkel-franky.de

fathead

  • Guest
Re: SiteModified Error with SEARCH and multilingual site
« Reply #2 on: February 09, 2010, 05:38:25 PM »
Yes! Of course! Thank's a lot!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • SiteModified Error with SEARCH and multilingual site
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2