2 john Jan 16, 2007 00:57

You need to have _aboutme.php in your skin/<skin name> folder (nescafe in your case)
¥
Yes, I created an aboutme.php file in my skin folder
(have tried an text file renaming it to php and also actualy a html file renamed to php, nothing works) and have set up a link like that from the above hack in my main.php
<li><a href="<?php $Blog->disp( 'dynurl', 'raw' ) ?>"><strong><?php echo T_('Recently') ?></strong></a> <!-- <span class="dimmed"><?php echo T_('(no cache)') ?></span> --></li>
<li><a href="<?php $Blog->disp( 'lastcommentsurl', 'raw' ) ?>"><strong><?php echo T_('Last comments') ?></strong></a></li>
<?php //
// MOD: Add a disp=something page
// ?>
<li><a href="<?php $Blog->disp( 'something', 'raw' ) ?>" title="link to something page"><strong><?php echo T_('Something') ?></strong></a></li>
<?php //
// END MOD: Add a disp=something page
// ?>
</ul>
replacing "something" with aboutme.php
The result is the warning message
Have resolved the question of the link, was a mistake in the line where i placed the code.
But now there is another problem, on my about page appears nothing
notwithstanding that i've created a html file and edited it with the code of the above hack
<?php
/**
* Begin your _something.php file with a comment to remind yourself what the page is all about.
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
// ======== START OF MAIN AREA ======== ?>
<div class="bPost">
<h3 class="bTitle">This is your something page!</h3>
<div class="bText">
<p>Here we see good old fashioned text. Remember to tag up your html as you would have way back in the days of hand coded webs!</p>
<p>Notice how we have a "<div="bPost"> and "</div>"? The rest of b2evolution will, in most skins, give you a bPosts div and closing tag.</p>
<p>View your source code if the page is not what you want, as it might be that your skin is creating divs differently than the 'custom' skin.</p>
</div>
</div>
<?php
?>
but my page is empty.
Any suggestions?
Do you have a link to your blog.
The hack I wrote up is set up to link within the B2 blog via a url ending such as ... "/index.php?disp=about"