How can i change this ?
If i jus the news 2 and add the (http://www.addthis.com) the code then on every page you see the share links buttons.
Butt how can i do this and is this tweak / possible ?
I want to jus the news 2, only for txt @ home page and the rest of the pages the (http://www.addthis.com) code.
thanks..............
[ external image ]
SOLVED | news 2 change ?
SOLVED | news 2 change ?
Last edited by twc on Mon Jan 14, 2013 2:48 pm, edited 1 time in total.
Re: news 2 change ?
Hi twc,
you can use a variation of Newsbox on Start Page only:
Christoph
you can use a variation of Newsbox on Start Page only:
Code: Select all
<?php if ($s == 0) { ?>
<?php echo newsbox('News2');?>
<?php } else {?>
<!-- code for inclusion of AddThis goes here -->
<?php } ?>
Christoph M. Becker – Plugins for CMSimple_XH
Re: news 2 change ?
oky thanks for replay.......cmb wrote:Hi twc,
you can use a variation of Newsbox on Start Page only:ChristophCode: Select all
<?php if ($s == 0) { ?> <?php echo newsbox('News2');?> <?php } else {?> <!-- code for inclusion of AddThis goes here --> <?php } ?>
Last edited by twc on Mon Dec 05, 2011 3:26 pm, edited 1 time in total.
Re: news 2 change ?
Hi twc,
I forgot to mention that this code should replace
in your template.
Christoph
I forgot to mention that this code should replace
Code: Select all
<?=newsbox(News2)?>
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: news 2 change ?
yeah i nowcmb wrote:Hi twc,
I forgot to mention that this code should replacein your template.Code: Select all
<?=newsbox(News2)?>
Christoph
thanks again works great
i am not good @ php scripting thats not my thing