I've tried a fair few things, and on clean local installs, so this has to be down to how I am doing things.
The tag {cms_stylesheet} comes with an option to call a specific stylesheet that is not attached to your current template. In my case, the stylesheet is within an IF statement.
I am using {cms_stylesheet name="jpmie7"}. The stylesheet "jpmie7" has been added into the cms database list of stylesheets, but not attached to any specific template.
Even when I remove the IF statement from my template header, the stylesheet "jpmie7" is never actually loaded
quote from the help section of the {cms_stylesheet} tag
(optional)name - Instead of getting all stylesheets for the given page, it will only get one specifically named one, whether it's attached to the current template or not.
This has been loaded into a base install of CMSMS 1.8.2 and still fails:
{if $page_alias != "home"}
{sitename} - {title}
{else}
{sitename} an Independent Garage providing:- MOT, Bodyshop, ECU Remapping, Tuning, Motorsport, Rallying services.
{/if}
{* Favourites Icon *}
{metadata}
{cms_stylesheet}
{cms_stylesheet name="abyteie7"}
----------------------------------------------
Cms Version: 1.8.2
Installed Modules:
* CMSMailer: 2.0
* FileManager: 1.0.2
* MenuManager: 1.6.5
* ModuleManager: 1.4
* News: 2.10.6
* nuSOAP: 1.0.2
* Printing: 1.1.0
* Search: 1.6.5
* ThemeManager: 1.1.1
* TinyMCE: 2.7.2
Config Information:
* php_memory_limit:
* process_whole_template: false
* output_compression: false
* max_upload_size: 128000000
* default_upload_permission: 664
* url_rewriting: none
* page_extension:
* query_var: page
* use_hierarchy: true
* image_manipulation_prog: GD
* auto_alias_content: true
* locale:
* default_encoding: utf-8
* admin_encoding: utf-8
* set_names: true
Php Information:
* phpversion: 5.3.1
* md5_function: On (True)
* gd_version: 2
* tempnam_function: On (True)
* magic_quotes_runtime: Off (False)
* E_STRICT: 0
* E_DEPRECATED: 0
* memory_limit: 128M
* max_execution_time: 60
* output_buffering: On
* safe_mode: Off (False)
* file_uploads: On (True)
* post_max_size: 128M
* upload_max_filesize: 128M
* session_save_path: \xampp\tmp (0777)
* session_use_cookies: On (True)
* xml_function: On (True)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.1.41
----------------------------------------------