Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-07-31 03:45:40
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
fixing unordered lists caused by RSS Superacrhives plugin
this is my blog here .
On the sidebar, I want to get the unordered list of the categories and archives section to resemble that of the latest entries list. How do I go about doing this?
My page looks like this;
<txp:article_custom allowoverride="0" excerpted="n" form="sidebarlist" limit="7" pgonly="0" section="blog" sort="Posted desc" status="4" />
<img class="badge" src="/images/blogimages/categories.gif" alt="categories badge" />
<txp:rss_suparchive_bycat section="blog" linktosection="blog" showcatsonly="1" />
<img class="badge" src="/images/blogimages/archives.gif" alt="monthly archives" />
<txp:rss_suparchive_menu mode="MONTH" section="blog" linktosection="archive" limit="12" />
with the ‘sidebarlist’ form looking like this;
<ul id="subpage">
<li><a href="<txp:permlink />"><txp:title /></a></li>
</ul>
Offline
Re: fixing unordered lists caused by RSS Superacrhives plugin
Add <ul id=subpage
> to your other unorderd lists like you have for ‘Latest Entries’.
For example:
<img class=“badge” src=”/images/blogimages/categories.gif” alt=“categories badge” />
<div id=“rssCatArchive”>
<div id=“rssCatList”>
<ul>
<li><a href=“http://www.andymitchellguitar.com/blog/?c=hope-for-the-future” title=“View all articles filed under hope-for-the-future”>Hope for the Future</a> (1) </li>
<li><a href=“http://www.andymitchellguitar.com/blog/?c=meaningful-labor” title=“View all articles filed under meaningful-labor”>Meaningful Labor</a> (1) </li>
</ul>
</div>
</div>
Should look like this:
<img class=“badge” src=”/images/blogimages/categories.gif” alt=“categories badge” />
<div id=“rssCatArchive”>
<div id=“rssCatList”>
<ul id="subpage">
<li><a href=“http://www.andymitchellguitar.com/blog/?c=hope-for-the-future” title=“View all articles filed under hope-for-the-future”>Hope for the Future</a> (1) </li>
<li><a href=“http://www.andymitchellguitar.com/blog/?c=meaningful-labor” title=“View all articles filed under meaningful-labor”>Meaningful Labor</a> (1) </li>
</ul>
</div>
</div>
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#3 2008-07-31 04:59:34
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: fixing unordered lists caused by RSS Superacrhives plugin
I did do that before. I did it like this;
<ul id="subpage">
<txp:rss_suparchive_bycat section="blog" linktosection="blog" showcatsonly="1" />
</ul>
The problem with that is that it moves the left margin over by another 30px. See the site now for what I mean.
Last edited by dreamer (2008-07-31 05:01:02)
Offline
#4 2008-07-31 05:35:10
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: fixing unordered lists caused by RSS Superacrhives plugin
Ok- I figured it out now. It seems that the RSS Superarchive plugin is assigned a #rssCatlist div for the Category and a #rssMenu div for the archives section. So I added some css to those so and fixed the issue. Would’ve preferred something simpler but oh well;
#sidebar #rssCatlist ul li a {
color: #21261f;
text-decoration: none;
list-style-type: none;
}
#sidebar #rssCatlist ul li {
color: #21261f;
text-decoration: none;
list-style-type: none;
margin-left: -10px;
}
#sidebar #rssCatlist ul li a:hover {
color: #036769 ;
}
#sidebar ul.rssMenu {
margin-left: 30px;
padding: 0;
}
#sidebar ul.rssMenu li {
list-style-type: none;
}
#sidebar ul.rssMenu li a {
color: #21261f;
text-decoration: none;
}
Offline
Re: fixing unordered lists caused by RSS Superacrhives plugin
Are you getting an error in the archives page?
this is what I see:
bc. Tag error: <txp:rss_suparchive_menu mode=“MONTH” section=“blog” linktosection=“archive” limit=“12” class=“monthly” /> -> Textpattern Notice: Unknown tag attribute: class on line 653
Offline