Help, Editing Style! »  Show posts from    to     

Icy Phoenix


Old Styles Topics - Help, Editing Style!



struja [ Fri 28 Mar, 2008 22:35 ]
Post subject: Help, Editing Style!
I been trying to create my own style so i copied one icy style and renaimed it.

In style_mytheme.css I changed all paths to my new folder with images.
But those corners which you will see in pictures, theres paths have stayed the same.
Maybe these paths couldn't be edited in style_mytheme.css , because I double checked paths for those specific images.

ice

Any idea


Press 22 [ Fri 28 Mar, 2008 22:38 ]
Post subject: Re: Help, Editing Style!
Try Firefox browser.

Or make sure the paths are right, find the image in your browser and put that path in.


struja [ Fri 28 Mar, 2008 22:48 ]
Post subject: Re: Help, Editing Style!
Path is correct, but I probably didn't edited it in right place. Because when I click properties it says that the path isn't changed, it still gives me the old path. But I know that I changed it.

And what confuses me the most, that I actualy finded in style.css name of that image and edited path. But nothing happened.
Every image has got the right path, execpt for those few.


Lopalong [ Fri 28 Mar, 2008 23:07 ]
Post subject: Re: Help, Editing Style!
Those graphics are controlled by the style.cfg. In in mg_themes it's called mg_themes.cfg and the paths are set thus:

Code: [Hide] [Select]
$images['tbl_h_l'] = '<table class="roundedtop" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="right" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_l.gif" alt="" /></td>';
$images['tbl_h_c'] = '<td class="roundedhc" width="100%" align="center">';
$images['tbl_h_r'] = '</td><td align="left" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_r.gif" alt="" /></td></tr></table>';
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
$images['tbl_f_l'] = '<table class="roundedbottom" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="right" valign="top"><img src="' . $current_template_images . 'tbl_f_l.gif" alt="" /></td>';
$images['tbl_f_c'] = '<td class="roundedfc" width="100%" align="center">';
$images['tbl_f_r'] = '</td><td align="left" valign="top"><img src="' . $current_template_images . 'tbl_f_r.gif" alt="" /></td></tr></table>';


It is not wise to start changing the config, but rather keep the original file and folder structure. You would also have to edit theme_info.cfg to set the style path to your new theme if you have called it something else.

Edit: Also be aware that changes to the theme_info.cfg have no effect until you uninstall and re-install the theme.


struja [ Fri 28 Mar, 2008 23:23 ]
Post subject: Re: Help, Editing Style!
Thanks!!!!

I cloned the entire template, so it is not conected with mg_themes. And that is just what I needed. Thanks again


Lopalong [ Sat 29 Mar, 2008 00:16 ]
Post subject: Re: Help, Editing Style!
You're welcome.

If you haven't already done it ?

In certain circumstances your stand-alone theme.cfg file wants to find overall_header.tpl and overall_footer.tpl. If that is the case you will have remove some of the "if" and "else" arguments.





Powered by Icy Phoenix