natcase wrote:And the line you quote is the alternate version; the live version that from the original version has template="staticpage-entries-listing.tpl" instead of template="../../plugins/serendipity_event_staticpage/staticpage-entries-listing.tpl" but it doesn't matter which line I put in; it still stays the same.
No. That's not true. It is the
default standard line and the other is the one to uncomment, in case of really using a changed staticpage-entries-listing.tpl, placed in your template directory (if really needed).
Code: Select all
<div class="staticpage_related_category_entry_list">
{* standard - if you use it on a shared-s9y-installation you have to correct the path to staticpage-entries-listing.tpl *}
{serendipity_fetchPrintEntries category=$staticpage_related_category_id template="../../plugins/serendipity_event_staticpage/staticpage-entries-listing.tpl" limit="7" noSticky="true"}
{* if you use your own static-entries.tpl in your template, take this: *}
{* {serendipity_fetchPrintEntries category=$staticpage_related_category_id template="staticpage-entries-listing.tpl" limit=5 noSticky="true"} *}
</div>
A {* xxx *} means commented out, in Smarty terms. The first (standard) one points to the plugin dir when called by your frontend (which is internally /ser/templates/mt_gettysburg/). That is why the exact path is needed to bet set like this, to find the correct place of the default staticpage-entries-listing.tpl file.
natcase wrote:If I can fix this with the backend, I'll be fine, but it's a little worrying that the template won't override the master settings. Then again, it's not the only place this is true: I can't for love or money make the sidebar wider in my template. But that's another conversation... Thanks again.
Yes that is strange. Normally - for templates without any own .tpl files - the Serendipity
fallback mode is to the default/ template via the bulletproof/ template for css etc. Now, default/index.tpl looks like:
Code: Select all
<table id="mainpane">
<tr>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
<td id="content" valign="top">{$CONTENT}</td>
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
</tr>
</table>
Yours looks like:
Code: Select all
<table id="mainpane">
<tr>
<td id="serendipityLeftSideBar" valign="top" width="250"> .....
The template seems to be mt_gettysburg and should normally look like this:
https://github.com/s9y/Serendipity/blob ... llsize.jpg
I can't see where you get that width="250" from in <td id="serendipityLeftSideBar" width="250" valign="top">. That might be while you have your own index.tpl in your template directory.
In short: Find this and either rewrite it to something bigger or purge it (recommended!) and do it via css by eg.
Code: Select all
#serendipityLeftSideBar { width: 20%; /*or 300px */ }
The normal style in /default/style.css is:
Code: Select all
#serendipityLeftSideBar, #serendipityRightSideBar {
background: none repeat scroll 0 0 #999999;
color: #333333;
font-family: verdana,arial,sans-serif;
vertical-align: top;
width: 200px;
}
, which seems to overwrite your hardcoded width="250". If you copy that block, change the width to 20% and include that to your mt_gettysburg/style.css file. And all will be well.