Hi there
I am trying to pimp my links manually which works pretty well for category and product links:
E.g. I can hypotetically replace myshop.com/product_aaa by myshop.com/product_bbb by setting the config file as follows....
/includes/classes/ssu/local.config.php
Code:
$ssuLocalConfig = array(
'plugins' => array(
'parsers' => array('manufacturers', 'news_articles')
),
'languages' => array( 'fr' => 'default',
'ru' => 'ru',
)
);
... and finally defining the link name replacement as follows:
/includes/classes/ssu/plugins/languages/default.php
Code:
class SSULanguageDefault extends SSULanguage{
static function parseName($name){
$name = str_replace("product_aaa", "product_bbb", $name));
$name = strtolower($name);
... and so on....
But what I am no able to do is to replace the links I have in my INFORMATION BOX: shippinginfo, specials, contact_us etc. links!!!!
E.g. I want to replace myshop.com/index.php?main_page=specials by myshop.com/index.php?super_mega_specials
How can I do that? I have no clue!
I know that SSU automatically replaces myshop.com/index.php?main_page=specials by myshop.com/index.php?specials
=> But I want it to be 'super_mega_specials'
Bookmarks