add_to_title($locale['global_200'].$locale['400']);
add_to_title($locale['global_200']);
function add_to_title($addition=""){
global $fusion_page_title;
$fusion_page_title .= $addition;
}
function add_to_title($addition=""){
global $fusion_page_title;
$fusion_page_title = $addition;
}
if (strstr($start_page,'articles.php?article_id=')){
$target = $settings['sitename']." - Articles: ";
$replace = "";
replace_in_output($target, $replace);
}
Quote
WEC wrote:
Suggestion that doesn't require any modification of core file.
Add a panel with this code only:Code Download sourceif (strstr($start_page,'articles.php?article_id=')){
$target = $settings['sitename']." - Articles: ";
$replace = "";
replace_in_output($target, $replace);
}
Enable the panel.
More on core function used:
http://code.starefossen.com/infusions..._in_output
include LOCALE.LOCALESET."articles.php";
if (strstr($start_page,'articles.php?article_id=')){
$target = "Pariuri sportive online \| Ghid pariuri online \| Biletul zilei \| Livescore \| Clasamente fotbal"." - ".$locale['400'].": ";
$replace = "";
replace_in_output($target, $replace);
}
Quote
WEC wrote:
Ok, you got reserved character | in your site title and non English locale, so try this one where the reserved character is escaped by \ and your locale file $locale['400'] used:Code Download sourceinclude LOCALE.LOCALESET."articles.php";
if (strstr($start_page,'articles.php?article_id=')){
$target = "Pariuri sportive online \| Ghid pariuri online \| Biletul zilei \| Livescore \| Clasamente fotbal"." - ".$locale['400'].": ";
$replace = "";
replace_in_output($target, $replace);
}
You may have to adjust the spaces, - and : if your locale file is not formatted with the same spaces, - and : as the English locale file.
Quote
motorola wrote:
@vRBa - If I use your solution my article titles is now ,, : Article title "
add_to_title($locale['global_201'].$article_subject);
add_to_title($article_subject);
Category Forum
Content Administration - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions