![Smiley :)](./images/smilies/smiley.gif)
CASE: my template is using 3 columns as a default and standard all thru our the site. HOWEVER i have a forum component like fireboard, joomlaboard, smf, etc.. that i want to use a template that is only one column or the forum component to use the entire width.
SOLUTION:
go and open the specific component you want to load a particular template like: components/the_component_name/the_component_name.php
insert this code somewhere after the "valid mos or die.."
Code: Select all
<?php
$cur_template = 'your_template_name';
?>
or simply:
Code: Select all
$cur_template = 'your_template_name';
if its already enclosed within an opening and closing php tag.
calling in the template that is only one column or the template you want to load when that component is opened.
so if you want the standard solarflare to load up you can insert this on the component's code:
Code: Select all
$cur_template = 'rhuk_solarflare_ii';
- guilliam
keywords: template component, specific template component, use template on a component, particular, specific.