Member:
Markus ⋅
Date: January 29, 2010, 05:34 PM
⋅ Subject: "Re: Removing iWiccle from Slipstream (Configuration cheatsheet attached)"
That would be your site name there at the beginning of the slipstream. Go and change it under Admin CP > Site to whatever you wish. (Reload settings after saving to see the change loaded into your session if you don't see it changing right away.)
If you want to remove some of the elements in the slipstream, here's a cheat sheet for what to insert into the configuration file of a module (such as /modules/site/site_config.php) in which you want the change to happen.
$core['module']['stream_home_url'] = "";
$core['module']['stream_home_name'] = "";
This will remove the site name from the beginning of the slipstream. You can also define a custom name and URL for the first (or optionally second) element of the slipstream.
$core['module']['stream_home_before_module'] = TRUE;
This will display the module name before the stream home name when set to FALSE.
$core['show']['module'] = FALSE;
This will remove the module name from the beginning of the slipstream.
$core['show']['parent'] = FALSE;
This will remove parent-level element name (Gallery, Blog, Group etc.) from the slipstream.
$core['show']['category'] = FALSE;
This will remove category-level element name (Album, Category, Channel etc.) from the slipstream.
$core['show']['post'] = FALSE;
This will remove post-level element name (Post, Photo, News Item, Link, Video etc.) from the slipstream.
If you want to replace the slipstream with something else, or append something to it, you would use:
$core['module']['slipstream_method'] = "my_function";
And place the replacing function into the extension class of your module (such as inside site_class.php).
$core['module']['slipstream_replace'] = FALSE;
This modifies the default operation of the slipstream_method parameter, and will place whatever your custom slipstream function returns before the ready slipstream HTML instead of replacing it altogether.
If you want to have these changes reflected on a global scale (across all modules), you should enter them directly into /core/variables.php (or change the corresponding entries, where some have been defined).
This covers the basic switches for controlling the slipstream (and the corresponding browser title bar text). There is more finesse to it, but that has to do with the orders of parent and category level elements in certain modules, and so on, which we can get back to when you start creating new modules.
There are also some situations where the system overrides certain conflicting slipstream configurations. You can look all these up in /core/class_templates.php in function make_slipstream() at line #1768 onwards in iWiccle 1.20.