Recent Topics

1 Jul 08, 2006 12:23    

Hi there,

I am currently using b2evolution for my band's blog, and have crystalglass installed and set up as the default skin, as this is the easiest to integrate with the design of the main site. However, unlike just about every other skin thee are no links in the sidebar to allow visitors to set up RSS Feeds, which means people have to changes skins to set up the feeds.

On checking the php files, the skin includes the section on "Syndicating This Blog", with the links, but it just doesn't show up ... and this isn't unique to my site - if you visit the b2evo skins site the crystalglass skin there doesn't show them either.

Does anyone know how to sort this or, as a more general question, can anyone give me an example of how I can add additional links to the setup ... then I can just add them for myself.

If giving examples, please bear in mind that I am a bit of a duffer where php is concerned.

Cheers,
Dave

2 Jul 08, 2006 12:40

Find this section of code in your _main.php and remove the red bits :-

<?php /*
<div class="bSideItem">
<h3><?php echo T_('Syndicate this blog') ?> <img src="../../img/xml.gif" alt="XML" width="36" height="14" class="middle" /></h3>
<ul>
<li>RSS 0.92: <a href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>, <a href="<?php $Blog->disp( 'comments_rss_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a></li>
<li>RSS 1.0: <a href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>, <a href="<?php $Blog->disp( 'comments_rdf_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a></li>
<li>RSS 2.0: <a href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>, <a href="<?php $Blog->disp( 'comments_rss2_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a></li>
<li>Atom 0.3: <a href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>, <a href="<?php $Blog->disp( 'comments_atom_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a></li>
</ul>
<a href="http://fplanque.net/Blog/devblog/2004/01/10/p456" title="External - English">What is RSS?</a>
</div>
*/ ?>

¥

3 Jul 08, 2006 15:09

Hi there,

I have done that and now just get this error

Parse error: parse error, unexpected '<' in /home/darain/public_html/blog/skins/crystalglass/_main.php on line 276

on opening the blog.

What am I doing wrong?

4 Jul 08, 2006 15:19

*cough* actually, it's my fault for being in a hurry, remove the "<?php" and the "?>" that are on the same lines as the red bits.

¥

5 Jul 08, 2006 15:38

Thank you, that's brilliant!

:D


Form is loading...