Different template in News long post.

diodak

Ok, I`ve figured it out with simple if call:

<?php if (preg_match("/posts/i"$_SERVER['REQUEST_URI'])) { ?>
<link href="<?php echo TEMPLATE_DIR?>/screen_long.css" rel="stylesheet" type="text/css" media="screen" />
<?php } else { ?>
<link href="<?php echo TEMPLATE_DIR?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
<?php ?>


It checks if in URL there is "/posts/" and rotate css files.
Buchsbaum

diodak

Hello, I would like to have different template in News module - long post view.

http://www.spojnia.osno.info/ when I click on "Czytaj wiecej..."
http://www.spojnia.osno.info/pages/posts/harmonogram-sparingow--junior-mlodszy125.php Long post should appear without right column, do you have any ideas?
Buchsbaum