Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 03:35:31 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: SiteModified Error with SEARCH and multilingual site  (Read 662 times)
fathead

Offline Offline

Posts: 2


« 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
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #1 on: February 07, 2010, 09:29:45 PM »

hi, for quick help:

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

or other way:
  - module: last update info
 - instead droplet sitemodified this code
Code:
<?php if(function_exists('get_modified_when')) { get_modified_when();}  ?>
 

... from the german-thread http://www.websitebaker2.org/forum/index.php/topic,17018.msg112101.html#msg112101

dbs
Logged

fathead

Offline Offline

Posts: 2


« Reply #2 on: February 09, 2010, 05:38:25 PM »

Yes! Of course! Thank's a lot!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!