1 cosmos Aug 30, 2008 07:20
3 cosmos Sep 06, 2008 00:59
4 afwas Sep 06, 2008 06:20
Hi cosmos,
For whatever reason the PHP file is broken. Can you post the source of the skin (link to a zipfile would do) and I'll have a look.
Good luck
5 cosmos Sep 06, 2008 22:44
Here's the code. I copied the PHP sections from the doc explaining how to make a new skin.
<?php
/**
* This is the main template. It displays the blog.
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
<head>
<?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $io_charset; ?>" />
<title><?php
$Blog->disp('name', 'htmlhead');
request_title( ' - ', '', ' - ', 'htmlhead' );
?></title>
<?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?>
<meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
<meta name="keywords" content="<?php $Blog->disp( 'keywords', 'htmlattr' ); ?>" />
<meta name="generator" content="b2evolution <?php echo $app_version ?>" /> <!-- Please leave this for stats -->
<link rel="alternate" type="text/xml" title="RDF" href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />
<link rel="stylesheet" href="style.css" type="text/css" />
<?php
$Blog->disp( 'blog_css', 'raw');
$Blog->disp( 'user_css', 'raw');
?>
</head>
<body>
<div id="header">
<div id="logo">
<h1><a href="#"> </a></h1>
<h1><a href="../../../index.html">JobGoRound</a></h1>
<h2><a href="../../../index.html">.com</a></h2>
</div>
<div id="search">
<ul>
<li><a href="#">Bookmark this Page</a></li>
<li><a href="../../../spreadit.php" >Send this Page</a></li>
<li><a href="../../../job_search_guide.html"><span class="style1">FREE</span> Job Search Guide</a></li>
</ul>
</div>
<a href="http://www.cartserver.com/afl.cgi?c=a-8650&u=www.resumewriters.com&a=jobgoround^notify@jobgoround.com"><img border="0" src="../../../images/adbannerjob.gif" width="468" height="60"></a></div>
<div id="menu">
<ul>
<li><a href="../../../index.html"><b>Home</b></a></li>
<li><a href="../../../job_search.php"><b>Job<BR />
Search </b></a></li>
<li><a href="../../../resume_writing_tips.html"><b>Resume<BR />
Writing</b></a></li>
<li><a href="../../../cover_letter_tips.html"><b>Cover<BR />
Letter </b></a></li>
<li><a href="../../../review_resume_writers.php"><b>Resume<BR />
Services </b></a></li>
<li><a href="../../../resume_distribution.php"><b>Resume<BR />
Distribution</b></a></li>
<li><a href="../../../interview_tips.html"><b>Interview</b></a></li>
<li><a href="../../../start_new_job.html"><b>New Job</b></a></li>
<li><a href="../../../career_articles.html"><b>Career<BR />
Articles </b></a></li>
</ul>
</div>
<div id="page">
<!-- =================================== START OF MAIN AREA =================================== -->
<?php
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
if( empty( $preview ) ) $Messages->disp( );
// --------------------------------- END OF MESSAGES ---------------------------------
?>
<?php
// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
request_title( '<h2>', '</h2>' );
// ------------------------------ END OF REQUEST TITLE -----------------------------
?>
<?php
// ------------------------------------ START OF POSTS ----------------------------------------
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() )
{
$MainList->date_if_changed();
?>
<div class="bPost bPost<?php $Item->status( 'raw' ) ?>" lang="<?php $Item->lang() ?>">
<?php
locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
$Item->anchor(); // Anchor for permalinks to refer to
?>
<div class="bSmallHead">
<?php
$Item->permanent_link( '#icon#' );
echo ' ';
$Item->issue_time();
echo ', by ';
$Item->author();
$Item->msgform_link( $Blog->get('msgformurl') );
echo ', ';
$Item->wordcount();
echo ' ', T_('words');
echo ', ';
$Item->views();
echo ' ';
locale_flag( $Item->locale, 'h10px' );
echo '<br /> ', T_('Categories'), ': ';
$Item->categories();
?>
</div>
<h3 class="bTitle"><?php $Item->title(); ?></h3>
<div class="bText">
<?php $Item->content(); ?>
<?php link_pages() ?>
</div>
<div class="bSmallPrint">
<?php $Item->permanent_link( '#', '#', 'permalink_right' ); ?>
<?php $Item->feedback_link( 'comments' ) // Link to comments ?>
<?php $Item->feedback_link( 'trackbacks', ' • ' ) // Link to trackbacks ?>
<?php $Item->feedback_link( 'pingbacks', ' • ' ) // Link to trackbacks ?>
<?php $Item->edit_link( ' • ' ) // Link to backoffice for editing ?>
<?php $Item->trackback_rdf() // trackback autodiscovery information ?>
</div>
<?php
// ------------- START OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. -------------
$disp_comments = 1; // Display the comments if requested
$disp_comment_form = 1; // Display the comments form if comments requested
$disp_trackbacks = 1; // Display the trackbacks if requested
$disp_trackback_url = 1; // Display the trackbal URL if trackbacks requested
$disp_pingbacks = 1; // Display the pingbacks if requested
require( dirname(__FILE__).'/_feedback.php' );
// ---------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------
locale_restore_previous(); // Restore previous locale (Blog locale)
?>
</div>
<?php
} // ---------------------------------- END OF POSTS ------------------------------------
?>
<p class="center"><strong>
<?php posts_nav_link(); ?>
<?php
// previous_post( '<p class="center">%</p>' );
// next_post( '<p class="center">%</p>' );
?>
</strong></p>
<?php
// ---------------- START OF INCLUDES FOR LAST COMMENTS, ETC. ----------------
switch( $disp )
{
case 'comments':
// this includes the last comments if requested:
require( dirname(__FILE__).'/_lastcomments.php' );
break;
case 'arcdir':
// this includes the archive directory if requested
require( dirname(__FILE__).'/_arcdir.php');
break;
case 'profile':
// this includes the profile form if requested
require( dirname(__FILE__).'/_profile.php');
break;
case 'msgform':
// this includes the email form if requested
require( dirname(__FILE__).'/_msgform.php');
break;
case 'subs':
// this includes the subscription form if requested
require( dirname(__FILE__).'/_subscriptions.php');
break;
}
// ------------------- END OF INCLUDES FOR LAST COMMENTS, ETC. -------------------
?>
</div>
<div id="footer">
<p id="legal">Copyright © 2007 JobGoRound. All Rights Reserved </p>
<p id="links">Home | <a href="../../../job_search.php">Job search</a> | <a href="../../../resume_writing_tips.html">Resume Writing</a></abbr> | <a href="../../../cover_letter_tips.html">Cover Letter</a> | <a href="../../../review_resume_writers.php">Resume Service Reviews</a> | <a href="../../../resume_distribution.php">Resume Distribution</a> | <a href="../../../interview_tips.html">Interview</a> | <a href="../../../start_new_job.html">New Job</a> | <a href="../../../forum.html">Forum</a> | <a href="../../../free-resume-analysis.html">Free Resume Analysis</a> | <a href="../../../career-contentment.html">Career Contentment</a> | <a href="../../../career_articles.html">Career Articles</a> | Blog</p>
<p><a href="../../../contact.html">Contact</a> | <a href="../../../sitemap.html">Site Map</a> | <a href="../../../resources.html">Resources</a> </p>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-325055-4";
urchinTracker();
</script>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=2191589;
var sc_invisible=1;
var sc_partition=20;
var sc_security="d6aa17ad";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c21.statcounter.com/counter.php?sc_project=2191589&java=0&security=d6aa17ad&invisible=1" alt="web stats" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</body>
</html>
6 swaitela Sep 25, 2008 20:02
Was an answer ever found for this problem...I am having the same issue.
7 afwas Sep 25, 2008 21:53
8 cosmos Sep 26, 2008 20:01
No but thanks. I finally solved the problem. I modified the 'basic' skin to create my own skin instead of using the 'custom' skin. This skin shows my posts. I then just modified the format to match that of my site. I'm finally satisfied. Take a look: http://www.jobgoround.com/blog/index.php.
Hi cosmos,
Welcome to the forums.
I can't help you unless you allow me a sneak preview of your skin. Please add a link to your blog and I will answer your question.
Good luck