[SOLVED] Can't find...
 
Notifications
Clear all

[SOLVED] Can't find the tpl to modify viewseries page

13 Posts
2 Users
0 Reactions
2,892 Views
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

site: http://amalthia.mediawood.net/ebooks/viewseries.php?seriesid=3
username: ebooks
password: forus

nature of problem: Everything appears to be bolded on this page and I've tried listings.tpl, series_title.tpl and neither tpl seemed to make a difference in modifying this page. 🙁

I'd appreciate any and all help.

EDIT: I figured out that series_title.tpl will modify the top part of the page but can't seem to find the tpl that is generating the code at the bottom. 🙁

EDIT 2: Okay in Firefox http://amalthia.mediawood.net/ebooks/viewseries.php?seriesid=3 page does not have everything bolded, it's just in IE7 after the options dropdown all the text is bolded.


 
Posted : 17/04/2008 6:50 pm
(@tammy)
Posts: 2577
Member Moderator
 

Looks like it's in series_title.tpl


      <span class="label">Word Count:</span> <a href="'browse.php?type=class&amp;type_id=5&amp;classid=47'>20,000" - 50,000</a>
      </div></td>

I don't see the opening <div> for that closing </div>

Also, from now on when you're asking for help with a specific skin, give us the name of the skin.


 
Posted : 18/04/2008 6:56 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Looks like it's in series_title.tpl


      <span class="label">Word Count:</span> <a href="'browse.php?type=class&amp;type_id=5&amp;classid=47'>20,000" - 50,000</a>
      </div></td>

I don't see the opening <div> for that closing </div>

Also, from now on when you're asking for help with a specific skin, give us the name of the skin.

will check this out, and sorry for forgetting to name the skin. (the one that I'm currently working on though is bluearchive)


 
Posted : 18/04/2008 7:02 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Looks like it's in series_title.tpl


      <span class="label">Word Count:</span> <a href="'browse.php?type=class&amp;type_id=5&amp;classid=47'>20,000" - 50,000</a>
      </div></td>

I don't see the opening <div> for that closing </div>

Okay I looked at my series_title.tpl and I can't figure out what's missing.

<!-- START BLOCK : series -->

<div id="pagetitle">{pagetitle}{rating} [{reviews} - {numreviews}]</div>

<div id="titleblock"><div class="notes">

<span class="label">Summary:</span> {summary}
  <table width="95%" height="66" border="0">
    <tr>
      <td width="50%"><span class="label">Categories:</span> {category} <br><span class="label">Characters: </span> {characters}<br>
  <span class="label">Stories:</span> {numstories}<br />
<span class="label">Open Series:</span> {open}<br /></td>
      <td width="50%"><div class="classifications">
        <span class="label">File Type:</span> {filetype} <br>
              <span class="label">Genre:</span> {genre} <br>
      <span class="label">Warnings:</span> {warnings} <br>
      <span class="label">Word Count:</span> {WordCount}
      </div></td>
    </tr>
  </table>
<span class="label">{adminoptions}{addtofaves}{addtoseries}<br />

</div></div>

<div class="jumpmenu">{jumpmenu}</div>

<!-- END BLOCK : series -->

this is what I have.

this is the bluearchive skin.


 
Posted : 18/04/2008 7:07 pm
(@tammy)
Posts: 2577
Member Moderator
 

<!-- START BLOCK : series -->

<div id="pagetitle">{pagetitle}{rating} [{reviews} - {numreviews}]</div>

<div id="titleblock"><div class="notes">

<span class="label">Summary:</span> {summary}
  <table width="95%" height="66" border="0">
    <tr>
      <td width="50%"><span class="label">Categories:</span> {category} <br><span class="label">Characters: </span> {characters}<br>
  <span class="label">Stories:</span> {numstories}<br />
<span class="label">Open Series:</span> {open}<br /></td>
      <td width="50%"><div class="classifications">
        <span class="label">File Type:</span> {filetype} <br>
              <span class="label">Genre:</span> {genre} <br>
      <span class="label">Warnings:</span> {warnings} <br>
      <span class="label">Word Count:</span> {WordCount}
      </div></td>
    </tr>
  </table>
<span class="label">{adminoptions}{addtofaves}{addtoseries}<br />

</div></div>

<div class="jumpmenu">{jumpmenu}</div>

<!-- END BLOCK : series -->

Just what I said.  The </div> after {WordCount} is extra.  I've highlighted it in red for you above.


 
Posted : 18/04/2008 7:11 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Just what I said.  The </div> after {WordCount} is extra.  I've highlighted it in red for you above.

I deleted that </div> and reuploaded and it didn't change a thing on the page. 🙁

which is why I posted the code thinking maybe I was missing something else?


 
Posted : 18/04/2008 7:17 pm
(@tammy)
Posts: 2577
Member Moderator
 

When I view source it's still there.  In both the series title box and the listings.


 
Posted : 19/04/2008 12:32 am
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

When I view source it's still there.  In both the series title box and the listings.

I really don't get it, I just deleted the source files, checked the ones I modified 3 times and re-uploaded them. But on IE7 everything past options on this page http://amalthia.mediawood.net/ebooks/viewseries.php?seriesid=3 is bolded.


 
Posted : 19/04/2008 2:05 am
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

When I view source it's still there.  In both the series title box and the listings.

Here's my series_title.tpl

<!-- START BLOCK : series -->

<div id="pagetitle">{pagetitle}{rating} [{reviews} - {numreviews}]</div>

<div id="titleblock"><div class="notes">

<span class="label">Summary:</span> {summary}
  <table width="95%" height="66" border="0">
    <tr>
      <td width="50%"><span class="label">Categories:</span> {category} <br><span class="label">Characters:

</span> {characters}<br>
  <span class="label">Stories:</span> {numstories}<br />
<span class="label">Open Series:</span> {open}<br /></td>
      <td width="50%"><div class="classifications">
        <span class="label">File Type:</span> {filetype} <br>
              <span class="label">Genre:</span> {genre} <br>
      <span class="label">Warnings:</span> {warnings} <br>
      <span class="label">Word Count:</span> {WordCount}
      </td>
    </tr>
  </table>
<span class="label">{adminoptions}{addtofaves}{addtoseries}<br />

</div></div><br>

<div class="jumpmenu">{jumpmenu}</div>

<!-- END BLOCK : series -->

and here is my listings.tpl

<!-- START BLOCK : listings -->

{seriesheader}

<!-- START BLOCK : seriesblock -->

<div class="listbox {oddeven}">
<div class="title">{title} by {author} [{reviews} - {numreviews}] </div>
  <table width="85%" height="114" border="0">
    <tr>
      <td height="30" colspan="2"><span class="label">Summary: </span> {featuredstory}{summary}  </td>
    </tr>
    <tr>
      <td width="50%"> <span class="label">Categories:</span> {category} <br>
          <span class="label">Characters: </span> {characters}
          <br> <span class="label"> Parent Series:</span> {parentseries} <span class="label"> Stories:</span> {numstories}</td>
      <td width="50%"><div class="classifications">
        <span class="label">File Type:</span> {filetype} <br>
              <span class="label">Genre:</span> {genre} <br>
      <span class="label">Warnings:</span> {warnings}
    </td>
    </tr>
  </table>
<span class="label">Open:</span> {open} {addtofaves} {reportthis}

{adminoptions}</div></div>

{comment}

<!-- END BLOCK : seriesblock -->

{stories}

<!-- START BLOCK : storyblock -->

<div class="listbox {oddeven}">
<div class="title">{title}  by {author} [{reviews} - {numreviews}] <span class="label"> {rating} </span>{roundrobin} {score} {new} </div>
<div class="content">
  <table width="95%" height="114" border="0">
    <tr>
      <td height="30" colspan="2"><p><span class="label">Summary: </span> {featuredstory}{summary} </p>
        </td>
    </tr>
    <tr>
      <td width="50%"><span class="label">Series:</span> {serieslinks} <br><span class="label">Chapters: </span> {numchapters} {toc}<br>
      <span class="label">Categories:</span> {category} <br><span class="label">Characters: </span> {characters}</td>
      <td width="50%"><div class="classifications">
        <span class="label">File Type:</span> {filetype} <br>
              <span class="label">Genre:</span> {genre} <br>
      <span class="label">Warnings:</span> {warnings} <br>
      <span class="label">Word Count:</span> {WordCount}
    </td>
    </tr>
  </table> 
<span class="label">Completed:</span> {completed}  <span class="label">Read Count:</span> {count}<br>
<span class="label">Published: </span>{published} <span class="label">Updated:</span> {updated}

  <P></P>

{adminlinks}</div>

<div class="tail"><span class="label">{addtofaves} {reportthis} </span></div></div>

{comment}

<!-- END BLOCK : storyblock -->

{pagelinks}

<!-- END BLOCK : listings -->


 
Posted : 19/04/2008 2:11 am
(@tammy)
Posts: 2577
Member Moderator
 

Remove:


<div class="classifications">


 
Posted : 20/04/2008 11:51 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Remove:


<div class="classifications">

Okay I removed <div class="classifications">  from my listings.tpl, series_title.tpl, and storyindex.tpl it hasn't seemed to make a difference. Am I missing something? because everything is still bolded on the page in IE7. (really really hate IE7)


 
Posted : 21/04/2008 12:06 am
(@tammy)
Posts: 2577
Member Moderator
 

Somewhere (probably in listings.tpl) you have an unclosed span or div.  At this point, I think it's up to you to find it.


 
Posted : 21/04/2008 4:12 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Somewhere (probably in listings.tpl) you have an unclosed span or div.   At this point, I think it's up to you to find it.

It was a missing </span> tag on my series_title.tpl  I was so busy looking at the div tags it didn't occur to me to check the span tags.

Thanks for your help.


 
Posted : 21/04/2008 5:01 pm
Share: