Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
$resolved_path = resolve_path("your_collection_folder_name/".$path);
if (strpos($path, 'search/') === false) {
$resolved_path = resolve_path("your_collection_folder_name/".$path);
} else {
$resolved_path = resolve_path($path);
}
if (strpos($path, 'search') === false) {
$resolved_path = resolve_path("your_collection_folder_name/".$path);
} else {
$resolved_path = resolve_path($path);
}
if ($path == 'search') {
$resolved_path = resolve_path($path);
} else {
$resolved_path = resolve_path("your_collection_folder_name/".$path);
}
Posted By: rendetoSome progress here. Trying with the first portion of code returns the search page but with no images found and the following remarks:I guess there is a bug in the new code. In 'plogger.php' find the following code (just above the resolved_path stuff)
Notice: Undefined index: searchterms in plog-functions.php on line 99
Notice: Undefined index: searchterms in plog-functions.php on line 1566
Same with the second part. Only that it had an extra '.' which at first gave me a parsing error.
$path = join('/', array_diff(explode('/', $_REQUEST['path']), explode('/', $_SERVER['PHP_SELF'])));
$path = join('/', array_diff(explode('/', $_SERVER['REQUEST_URI']), explode('/', $_SERVER['PHP_SELF'])));
if ($GLOBALS['plogger_level'] == 'search') {
plogger_init_search(array(
'searchterms' => $_REQUEST['searchterms'],
'from' => $from,
'limit' => $lim
));
}
1 to 11 of 11