Where is my latest page???

Working on a new template and need help? Come here for support.

Moderator: Help Desk Team

Where is my latest page???

Postby blackmoongirl2424 » August 28th, 2011, 3:11 pm

For some reason the latest page isn't showing (I don't know if it's just me) yet I can see the other pages just fine this happened in the last update too. Help please. DX;

Image
(this is what I'm talking about)

Code: Select all
    <div id="title"><h2>{COMIC_TITLE}</h2>
<h4>posted {COMIC_POST_DATE}</h4></div>

<!-- BEGIN comic_image -->
   <a href="{NAV_NEXT}">{comic_image.FORMATTED}</a>
   <!-- END comic_image -->
<a href='http://topwebcomics.com/vote/12662/default.aspx' title='Vote for Angel's Love on TopWebComics!'><img src='http://topwebcomics.com/rankimages/rankimage.aspx?ImageTemplate=dynamiclink1&SiteID=12662'></a>
<div id="contentwrap">

   <div id="comicnavigation">
      <ul class="comicnav">
      <li><a href="{NAV_FIRST}" title="first page">&#171; first</a></li>      <li><a href="{NAV_PREV}" title="previous page">&#60; previous</a></li>   
      <li><a href="{NAV_NEXT}" title="next page">&#62; next</a></li>
      <li><a href="{NAV_LAST}" title="latest page">&#187; last</a></li>
      </ul>
      </div>
   
   <div id="rating">
   <script language="JavaScript">

var dir = "http://www.smackjeeves.com/templates/kingly_grunge/images/" ;
var pic_unselected = "grunge2.png";
var pic_selected = "grunge1.png";


<!-- BEGIN switch_user_has_voted -->
var default_rating = {switch_user_has_voted.RATING};
<!-- END switch_user_has_voted -->
<!-- BEGIN switch_user_hasnt_voted -->
var default_rating = 0;
<!-- END switch_user_hasnt_voted -->

function build_vote()
{
   document.write('<b>Rate this Comic:</b> ');
   for (n = 1; n<= 5; n++)
   {
      if (n <= default_rating)
      {
         default_pic = pic_selected;
      } else {
         default_pic = pic_unselected;
      }

      document.write('<a href="#" onClick="vote(' + n + '); return false;" onMouseOver="rateover(' + n + ');" onMouseOut="rateover(default_rating);"><img src="' + dir + default_pic + '" name="star_' + n + '" border=0></a> ');
   }
   document.write('</ul>');
}

function rateover(star_num)
{
   
   for (n = 1; n <= 5; n++)
   {
      if (n <= star_num)
      {
         da_code = 'document.star_' + n + '.src="' + dir + pic_selected + '"';
      } else {
         da_code = 'document.star_' + n + '.src="' + dir + pic_unselected + '"';
      }
     
      eval(da_code);
   }
}

function vote(rating)
{
   var new_window = window.open("/ratecomic.php?cid={COMIC_ID}&rating=" + rating, "sj_ratecomic", "height=300, width=400");
   new_window.focus();
}

</script>

   </div>
   
   <div id="post">
   <a href="/postcomment.php?cid={COMIC_ID}" onclick="var new_window = window.open('/postcomment.php?cid={COMIC_ID}', 'sj_comment', 'height=350, width=420'); new_window.focus(); return false;" title="post a comment">post a comment</a>
   </div>

   <!-- BEGIN switch_author_comments -->
   <div class="commentheadings"><h5>author comments</h5></div>
   <!-- END switch_author_comments -->

   <!-- BEGIN loop_author_comments -->
   <div id="comment">
   <a href="{loop_author_comments.POSTER_PROFILE_URL}" title="{loop_author_comments.NAME}"><img class="avatar" src="{loop_author_comments.POSTER_AVATAR_IMG_SRC}" height="{loop_author_comments.POSTER_AVATAR_IMG_HEIGHT}" width="{loop_author_comments.POSTER_AVATAR_IMG_WIDTH}" alt="view {loop_author_comments.NAME}'s profile"></a>    <a href="{loop_author_comments.REPLY_LINK}" onClick="var new_window = window.open('{loop_author_comments.REPLY_LINK}', 'sj_comment', 'height=340, width=420'); new_window.focus(); return false;">Reply</a>

   
   <div class="commentheader">
      <h4>{loop_author_comments.DATE_POSTED}</h4>
      <h2><a href="{loop_author_comments.POSTER_PROFILE_URL}" title="{loop_author_comments.NAME}">{loop_author_comments.NAME}</a></h2>
   </div>
   
   <div class="commentcontent">

      <h3>{loop_author_comments.POST_TITLE}</h3>

      <!-- BEGIN switch_user_can_edit -->
      <a href="{loop_author_comments.EDIT_LINK}" onclick="var new_window = window.open('{loop_author_comments.EDIT_LINK}', 'sj_comment', 'height=320, width=420'); new_window.focus(); return false;"><span class="editdelete">edit comment</span></a> |
      <!-- END switch_user_can_edit -->
      <!-- BEGIN switch_user_can_delete -->
      <a href="{loop_author_comments.DELETE_LINK}" onclick="var new_window = window.open('{loop_author_comments.DELETE_LINK}', 'sj_comment', 'height=320, width=420'); new_window.focus(); return false;"><span class="editdelete">delete comment</span></a>
      <!-- END switch_user_can_delete -->

      <p>{loop_author_comments.MESSAGE}</p>
   
   </div>
   
   <div class="commentheader">end of message</div>
   
   </div>
   <!-- END loop_author_comments -->
   
   <!-- BEGIN switch_user_comments -->
   <div class="commentheadings"><h5>user comments</h5></div>
   <!-- END switch_user_comments -->
   
   <!-- BEGIN loop_user_comments -->
   <div id="comment">
   <a href="{loop_user_comments.POSTER_PROFILE_URL}" title="{loop_user_comments.NAME}"><img class="avatar" src="{loop_user_comments.POSTER_AVATAR_IMG_SRC}" height="{loop_user_comments.POSTER_AVATAR_IMG_HEIGHT}" width="{loop_user_comments.POSTER_AVATAR_IMG_WIDTH}" alt="view {loop_user_comments.NAME}'s profile"></a><a href="{loop_user_comments.REPLY_LINK}" onClick="var new_window = window.open('{loop_user_comments.REPLY_LINK}', 'sj_comment', 'height=340, width=420'); new_window.focus(); return false;">Reply</a>
   
   <div class="commentheader">
      <h4>{loop_user_comments.DATE_POSTED}</h4>
      <h2><a href="{loop_user_comments.POSTER_PROFILE_URL}" title="{loop_user_comments.NAME}">{loop_user_comments.NAME}</a></h2>
   </div>
   
   <div class="commentcontent">

      <h3>{loop_user_comments.POST_TITLE}</h3>
      
      <!-- BEGIN switch_user_can_edit -->
      <a href="{loop_user_comments.EDIT_LINK}" onclick="var new_window = window.open('{loop_user_comments.EDIT_LINK}', 'sj_comment', 'height=320, width=420'); new_window.focus(); return false;"><span class="editdelete">edit comment</span></a> |
      <!-- END switch_user_can_edit -->
      
      <!-- BEGIN switch_user_can_delete -->
      <a href="{loop_user_comments.DELETE_LINK}" onclick="var new_window = window.open('{loop_user_comments.DELETE_LINK}', 'sj_comment', 'height=320, width=420'); new_window.focus(); return false;"><span class="editdelete">delete comment</span></a>
      <!-- END switch_user_can_delete -->

      <p>{loop_user_comments.MESSAGE}</p>
   
   </div>
   
   <div class="commentheader">end of message</div>
   
   </div>
   <!-- END loop_user_comments -->

<div id="rating">
   <script language="JavaScript" type="text/javascript">build_vote();</script>
   <br />average rating: <em>{AVERAGE_RATING}</em>
   </div>
   
   <div id="post">
   <a href="/postcomment.php?cid={COMIC_ID}" onclick="var new_window = window.open('/postcomment.php?cid={COMIC_ID}', 'sj_comment', 'height=350, width=420'); new_window.focus(); return false;" title="post a comment">post a comment</a>
   </div>

</div>

Help please. DX;
Image
Spoiler! :
Image
Oh crap.
User avatar
blackmoongirl2424
 
Posts: 727
Joined: May 5th, 2007, 4:17 pm
Location: 10th Planet, Nemesis

Re: Where is my latest page???

Postby Ddraigeneth » August 28th, 2011, 3:31 pm

It's the <a href="{NAV_NEXT}">{comic_image.FORMATTED}</a>

If you have your Next button set to automatically hide, then this will include your comic image when you have it linked like that. Delete the link, so it's simply {comic_image.FORMATTED}, and check the box in your comic profile to have the image auto-link to the next comic, instead.
User avatar
Ddraigeneth
 
Posts: 4065
Joined: June 26th, 2010, 12:06 pm
Location: 6 inches to the right

Re: Where is my latest page???

Postby blackmoongirl2424 » August 29th, 2011, 8:51 pm

Thanks for the help XDDD I appreciate it~~~
Image
Spoiler! :
Image
Oh crap.
User avatar
blackmoongirl2424
 
Posts: 727
Joined: May 5th, 2007, 4:17 pm
Location: 10th Planet, Nemesis


Return to Template Development & Support

Who is online

Users browsing this forum: No registered users and 0 guests