List last articles plug in
List last articles plug in
What I want to do is use that plug in that uses the sidebar to present the last articles and put them front and center.
Anyway of doing that? I dont want the last 6 articles listed in small text down the sidebar 150 wide.
I want them front and center 500 wide in 18pt, like into a head nugget plugin would be perfect! I dont want it to have all the meta data of an article though...
I have come to believe this is important. Greatly increase second clicks.
Thanx
RJ
Anyway of doing that? I dont want the last 6 articles listed in small text down the sidebar 150 wide.
I want them front and center 500 wide in 18pt, like into a head nugget plugin would be perfect! I dont want it to have all the meta data of an article though...
I have come to believe this is important. Greatly increase second clicks.
Thanx
RJ
Re: List last articles plug in
Apart from actually displaying the plugin's output in the content area, that's purely CSS formatting. Other than that, it depends on whether your index page (I assume that's where you want to put it?) is a static page or the classic s9y last entries listing. A hint on which template your using or an URL to the live blog in question would be helpful, too.rj wrote:I want them front and center 500 wide in 18pt, like into a head nugget plugin would be perfect!
YL
Re: List last articles plug in
oops sorry...
http://rackjite.com
And I think I am using standard S9Y
And while I got ya!
A few years ago I changed my two sidebars to both be on the right. Now I want to split them left and right of the entries. I forgot where and how I did that!
Thanx!
RJ
http://rackjite.com
And I think I am using standard S9Y
And while I got ya!
A few years ago I changed my two sidebars to both be on the right. Now I want to split them left and right of the entries. I forgot where and how I did that!
Thanx!
RJ
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: List last articles plug in
The file you edited for the placement of your sidebars was your template's index.tpl, which is also likely going to be the file you will edit to display the recent entries. You can display the output from that plugin anywhere using:
You can hide the meta info (post date, time) via css, such as
Another option would be to fetch entries:
the smarty template could then be designed to show as much info (title, author, date, number of comments, etc), or as little info (title only??), from the entry as you wanted.
Code: Select all
{serendipity_showPlugin class="serendipity_plugin_recententries"}Code: Select all
.serendipity_recententries_entrydate {display: none}Code: Select all
{serendipity_fetchPrintEntries limit="0,10 noCache=false fetchDrafts=false full=false use_footer=false template="your_smarty_template.tpl"}=Don=
Re: List last articles plug in
{serendipity_showPlugin class="serendipity_plugin_recententries"}
wow, thanx I will try that and let you know! If ti goes up as is thats a big win. But if I wanted to to some formatting how would that go?
This could be a big thing for those of us whose primary traffic comes TO ARTICLES rather than to the front page. I can see my 90% to articles blog going from a 1.3 page average to 3.
My side bars are next to each other on the right. I want them on each side of the entry.
I looked for the sidebar area in index.tpl, found one little group of 2 lines of code for each side and could not figure our what to do with it.
table id="mainpane">
<tr>
<td id="content" valign="top">{$CONTENT}</td>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
</tr>
</table>
wow, thanx I will try that and let you know! If ti goes up as is thats a big win. But if I wanted to to some formatting how would that go?
This could be a big thing for those of us whose primary traffic comes TO ARTICLES rather than to the front page. I can see my 90% to articles blog going from a 1.3 page average to 3.
My side bars are next to each other on the right. I want them on each side of the entry.
I looked for the sidebar area in index.tpl, found one little group of 2 lines of code for each side and could not figure our what to do with it.
table id="mainpane">
<tr>
<td id="content" valign="top">{$CONTENT}</td>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
</tr>
</table>
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: List last articles plug in
I have not looked closely at your site, especially your css, but you could try simply moving the left sidebar code so that it appears before content:
From an SEO perspective however, you are better off with your content being rendered before your sidebars.
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>=Don=
Re: List last articles plug in
Worked great. Here is where it goes to reside between my head and my first artcile.
This is the very top of entries.tpl. If you put it in the wrong palce it gets repeated.
This is the very top of entries.tpl. If you put it in the wrong palce it gets repeated.
Thanx Don!!<!-- ENTRIES START -->
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{serendipity_showPlugin class="serendipity_plugin_recententries"}
{foreach from=$entries item="dategroup"}
{foreach from=$dategroup.entries item="entry"}
<div class="serendipity_Entry_Date">
{if $dategroup.is_sticky}
<h3 class="serendipity_date">{$CONST.STICKY_POSTINGS}</h3>
{else}
<h3 class="serendipity_date">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h3>
{/if}
</div>
Re: List last articles plug in
And without even looking I know you got that one right. other side of content, though php retarded I should have seen that and figured it out... THanks Don...
I used some css just to make sidebar NEW ARTILCES bigger and sidebar titles larger. Now I have to change my brain to write shorter article titles! We go a little nuts on that using as may keywords as we call. I am over due for a PR 6 and am pushing it these days. The big trick of course is getting links to you without having to link back.
I used some css just to make sidebar NEW ARTILCES bigger and sidebar titles larger. Now I have to change my brain to write shorter article titles! We go a little nuts on that using as may keywords as we call. I am over due for a PR 6 and am pushing it these days. The big trick of course is getting links to you without having to link back.
Re: List last articles plug in
hey don thanx a lot, you really helped... I applied things and its pretty much what I wanted.
Still would like to add some css text fromat to the recent articles though...
http://rackjite.com
Thanx again
RJ
Still would like to add some css text fromat to the recent articles though...
http://rackjite.com
Thanx again
RJ
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: List last articles plug in
I stayed up all night and just finished it. completely different look, read up on some SEO and decided to go with fixed 1024, I dont know why people like it more than auto size, but it seems they do.!
http://rackjite.com
Oh! Somewhere in the process I lost the css for the admin screen, it works no problem but its in some sort of default css mode or something. Any idea what I may have done
THANX AGAIN
RJ
http://rackjite.com
Oh! Somewhere in the process I lost the css for the admin screen, it works no problem but its in some sort of default css mode or something. Any idea what I may have done
THANX AGAIN
RJ
Re: List last articles plug in
Hi
As far as I know, these should be the ones
Ian
As far as I know, these should be the ones
- /templates/default/style_fallback.css
/templates/Bulletproof/admin/style.css
Ian
Re: List last articles plug in
Never ever edit default/style_fallback.css. Just don't.Timbalu wrote:
- /templates/default/style_fallback.css
/templates/Bulletproof/admin/style.css
The admin template's stylesheet is /templates/yourtemplate/admin/style.css.
YL
Re: List last articles plug in
Hmmm YL, did I say something about editing?
And lost is lost and seems like a question where to find it.
If it still attended in his template folder, he wouldn't have asked..., I assume.
Ian
And lost is lost and seems like a question where to find it.
If it still attended in his template folder, he wouldn't have asked..., I assume.
Ian
Re: List last articles plug in
No, you didn't. Sorry about that, it was too early for me to reply to anything.Timbalu wrote:Hmmm YL, did I say something about editing?
In /templates/bulletproof/admin/ of a fresh s9y tarball or zipfile. Since BP now is the standard s9y template, so is it's admin template.Timbalu wrote:And lost is lost and seems like a question where to find it.
So probably /templates/bulletproof/admin/styles.css (or /templates/YOURTEMPLATE/admin/styles.css if working w/ a copy of BP) got delete. Replace w/ the same file from a s9y archive, done
YL