{CAPTER_TITLE}?

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

Moderator: Help Desk Team

{CAPTER_TITLE}?

Postby Smasher Yoshi » May 29th, 2012, 9:53 pm

I was just posting on my comic, then I noticed this on the jumpbox:
Image
Instead of showing the name of the chapters, it shows {CAPTER_TITLE}. All the templates are default, so I'm very confuse.
Could anyone help me?
User avatar
Smasher Yoshi
 
Posts: 8
Joined: January 3rd, 2011, 5:14 pm

Re: {CAPTER_TITLE}?

Postby eishiya » May 30th, 2012, 9:06 am

Can you please post the code that governs your jumpbox? If it's not {jumpbox.formatted}, then it might just be a typo made by whoever edited your comic's specific template.
Busy, busy.
User avatar
eishiya
 
Posts: 5735
Joined: December 5th, 2009, 11:17 am

Re: {CAPTER_TITLE}?

Postby Smasher Yoshi » May 30th, 2012, 12:35 pm

It's exactly {JUMPBOX_FORMATTED}.
User avatar
Smasher Yoshi
 
Posts: 8
Joined: January 3rd, 2011, 5:14 pm

Re: {CAPTER_TITLE}?

Postby bartekolo » May 30th, 2012, 1:44 pm

Smasher Yoshi wrote:Instead of showing the name of the chapters, it shows {CAPTER_TITLE}. All the templates are default, so I'm very confuse.
Could anyone help me?

Well I think you need to edit in the code:{CAPTER_TITLE} to {CHAPTER_TITLE}
User avatar
bartekolo
 
Posts: 5
Joined: September 24th, 2011, 1:41 am

Re: {CAPTER_TITLE}?

Postby Smasher Yoshi » May 30th, 2012, 1:53 pm

bartekolo wrote:
Smasher Yoshi wrote:Instead of showing the name of the chapters, it shows {CAPTER_TITLE}. All the templates are default, so I'm very confuse.
Could anyone help me?

Well I think you need to edit in the code:{CAPTER_TITLE} to {CHAPTER_TITLE}

There's nothing like that on the code. I saw it before creating the topic.
User avatar
Smasher Yoshi
 
Posts: 8
Joined: January 3rd, 2011, 5:14 pm

Re: {CAPTER_TITLE}?

Postby eishiya » May 30th, 2012, 2:01 pm

And that is why I asked whether it was the formatted jumpbox xP

This is pretty strange, and my own templates that use {JUMPBOX_FORMATTED} do not have this problem, so I don't think this is an SJ-wide issue. If no one has a solution in a day or so, I'll move this to Bugs & Glitches.

Just to be safe, could you post the entire template code for your Comic Page? Maybe there's something else there that you missed.
Busy, busy.
User avatar
eishiya
 
Posts: 5735
Joined: December 5th, 2009, 11:17 am

Re: {CAPTER_TITLE}?

Postby Smasher Yoshi » June 7th, 2012, 2:33 pm

eishiya wrote:And that is why I asked whether it was the formatted jumpbox xP

This is pretty strange, and my own templates that use {JUMPBOX_FORMATTED} do not have this problem, so I don't think this is an SJ-wide issue. If no one has a solution in a day or so, I'll move this to Bugs & Glitches.

Just to be safe, could you post the entire template code for your Comic Page? Maybe there's something else there that you missed.

It's default (At least, I think)
Spoiler! :
<script language="JavaScript">



var dir = "http://www.smackjeeves.com/templates/simple_red/images/";

var pic_unselected = "star-unselected.gif";

var pic_selected = "star-selected.gif";



// "Buffers" the image to the browser

document.write('<img style="display: none" src="' + dir + pic_unselected + '" />');

document.write('<img style="display: none" src="' + dir + pic_selected + '" />');



<!-- BEGIN switch_user_has_voted -->

var default_rating = {switch_user_has_voted.RATING};

var rate_it_pic = "http://www.smackjeeves.com/templates/simple_red/images/your-rating-2.gif";

<!-- END switch_user_has_voted -->

<!-- BEGIN switch_user_hasnt_voted -->

var default_rating = 0;

var rate_it_pic = "http://www.smackjeeves.com/templates/simple_red/images/rate-it.gif";

<!-- END switch_user_hasnt_voted -->



function build_vote()

{

document.write('<img id="text" src="' + rate_it_pic + '" style="margin-bottom: 3px;" />');

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 + '"></a>');

}

}



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>



<h2>{COMIC_TITLE}</h2>



<h1 class="comic-date-header">{COMIC_POST_DATE}</h1>



<table id="comic-container" width="500"><tr><td>



<div id="comic-header">



<div id="rating">



<img src="http://www.smackjeeves.com/templates/simple_red/images/avg-rating.gif" alt="Average Rating:"> <b>{AVERAGE_RATING}</b>



</div>



<div id="rate">



<script language="JavaScript">build_vote();</script>



</div>



</div>



<!-- BEGIN comic_image -->

<div style="text-align: center">
{comic_image.FORMATTED}
</div>
<!-- END comic_image -->

<!-- BEGIN switch_no_comic_image -->

<img src="http://www.imagemonster.org/getimg/image_na.gif" width="600" height="400">

<!-- END switch_no_comic_image -->



</td></tr></table>



<div style="padding: 8px 0 3px">{SHARE_THIS_COMIC}</div>


<div class="comicnav">



<a href="{NAV_FIRST}"><img src="http://www.smackjeeves.com/images/arrow_first.gif" alt="<< First" /></a>

<a href="{NAV_PREV}"><img src="http://www.smackjeeves.com/images/arrow_prev.gif" alt="< Previous" /></a>



{JUMPBOX_FORMATTED}


<a href="{NAV_NEXT}"><img src="http://www.smackjeeves.com/images/arrow_next.gif" alt="Next >" /></a>

<a href="{NAV_LAST}"><img src="http://www.smackjeeves.com/images/arrow_last.gif" alt="Most Recent >>" /></a>



</div>



<table id="comments_container"><tr><td>



<!-- BEGIN switch_author_comments -->

<h1 class="sub-title">Author's Comments:</h1>

<!-- END switch_author_comments -->



<!-- BEGIN loop_author_comments -->

<h1 class="cpost-header">

<span>

<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>

<!-- 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=340, width=420'); new_window.focus(); return false;">Edit</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=340, width=420'); new_window.focus(); return false;">Delete</a>

<!-- END switch_user_can_delete -->

</span>

<a href="{loop_author_comments.POSTER_PROFILE_URL}" target="_profile">{loop_author_comments.NAME}</a>, {loop_author_comments.DATE_POSTED}

</h1>

<p>

<!-- BEGIN switch_poster_avatar -->

<img src="{loop_author_comments.POSTER_AVATAR_IMG_SRC}" height="{loop_author_comments.POSTER_AVATAR_IMG_HEIGHT}" width="{loop_author_comments.POSTER_AVATAR_IMG_WIDTH}" />

<!-- END switch_poster_avatar -->

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

{loop_author_comments.MESSAGE}

</p>

<!-- END loop_author_comments -->



<!-- BEGIN switch_user_comments -->

<h1 class="sub-title">User's Comments:</h1>

<!-- END switch_user_comments -->



<!-- BEGIN loop_user_comments -->

<h1 class="cpost-header">

<span>

<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>

<!-- 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=340, width=420'); new_window.focus(); return false;">Edit</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=340, width=420'); new_window.focus(); return false;">Delete</a>

<!-- END switch_user_can_delete -->

</span>

<a href="{loop_user_comments.POSTER_PROFILE_URL}" target="_profile">{loop_user_comments.NAME}</a>, {loop_user_comments.DATE_POSTED}</h1>

<p>

<!-- BEGIN switch_poster_avatar -->

<img src="{loop_user_comments.POSTER_AVATAR_IMG_SRC}" height="{loop_user_comments.POSTER_AVATAR_IMG_HEIGHT}" width="{loop_user_comments.POSTER_AVATAR_IMG_WIDTH}" />

<!-- END switch_poster_avatar -->

<b>{loop_user_comments.POST_TITLE}</b>

{loop_user_comments.MESSAGE}

</p>

<!-- END loop_user_comments -->



<h1 class="post-me"><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;">Post A Comment</a></h1>



</td></tr></table>


EDIT: Magically, the problem was solved. I'm still confused, anyway.
User avatar
Smasher Yoshi
 
Posts: 8
Joined: January 3rd, 2011, 5:14 pm


Return to Template Development & Support

Who is online

Users browsing this forum: No registered users and 1 guest