Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-14 16:40:56

Registered: 2012-08-03
Posts: 13

How do i format some text on my wesboste

I have such big problems with text pattern, can someone help me format some text, it would be really helpful.

Everyone is really nice here, but i cant seem to finish this one final problem.

If you look at http://imperial-music.net/tp/index.php?s=artists

You can see artists on the left side column, i tried experimenting with the dots to push the former alumni all the way to the bottom. But i dont know how else to do it.

Can someone help?




#2 2012-09-15 01:54:14

From: Hong Kong
Registered: 2004-12-13
Posts: 2,395

Re: How do i format some text on my wesboste

Ari, “former alumni” is already at the bottom, what did you want instead? Did you want a lot of space between Piff Gang and Former alumni?

Could you post the code you are using to produce the sidebar-2.


#3 2012-09-15 08:27:07

Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282

Re: How do i format some text on my wesboste

I guess sidebar2 is supposed to be on the right.

I quite like it as a floating footer, it looks good.

There are 10 types of people in the world: those who understand binary, and those who don’t.


#4 2012-09-15 09:37:52

Registered: 2012-08-03
Posts: 13

Re: How do i format some text on my wesboste

Hi there,

Yes i would like Former alumni to be at least a few more rows beneath on the sidebar, so people can see it differently. Right now they are all bunched together. I want current artists at together and then the former alumni below.

here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title><txp:page_title /></title>

	<link rel="home" href="<txp:site_url />" />

	<txp:feed_link flavor="atom" format="link" label="Atom" />
	<txp:feed_link flavor="rss" format="link" label="RSS" />

	<txp:css format="link" />

	<txp:rsd />

<script type="text/javascript" src="http://www.imperial-music.net/tp/js/jquery-1.4.1.js"></script>
<script src="http://www.imperial-music.net/tp/js/cufon-yui.js" type="text/javascript"></script>
<script type="text/javascript"src="http://www.imperial-music.net/tp/js/Futura_Std_400.font.js"></script>	

<script type='text/javascript'>

<body id="<txp:if_section name="">front<txp:else /><txp:section /></txp:if_section>">

<!-- accessibility -->
<div id="accessibility">
		<li><a href="#content"><txp:text item="go_content" /></a></li>
		<li><a href="#sidebar-1"><txp:text item="go_nav" /></a></li>
		<li><a href="#sidebar-2"><txp:text item="go_search" /></a></li>

<div id="container">

<!-- head -->

<div id="head">
    <span id="site-name">
            <div class="cufon" style="padding-top:40px" alt="txp:site_name">
            <strong>IMPERIAL MUSIC</strong>

<!-- navi -->

<div id="sidebar-1">
 <a href="http://imperial-music.net/tp/">Home</a>&nbsp;&nbsp;&nbsp;
 <a href="http://imperial-music.net/tp/index.php?s=artists">Artists</a>&nbsp;&nbsp;&nbsp;
 <a href="http://imperial-music.net/tp/index.php?s=contact">Contact</a>&nbsp;&nbsp;&nbsp;
 <a href="http://imperial-music.net/tp/index.php?s=blog">Blog</a>
 <a href="mailto:booking@imperial-music.net">Booking Request</a>
<div style="float: right; text-align:right">
 <a href="http://imperial-music.net/tp/index.php?s=imprint">Imprint</a>

<!-- right -->
	<div id="sidebar-2">
            <p> <txp:recent_articles wraptag="p" label="Artists" section="artists" sort="Title desc"  />

<!-- center -->
<div id="content">
	<txp:article limit="5" sort="Title desc" />

<div class="blog_body" style="padding-bottom:200px">
<div class="older_entries"><txp:older><txp:text item="older entries" /></txp:older></div>
<div class="newer_entries"><txp:newer><txp:text item="newer entries" /></txp:newer></div>


<script type="text/javascript"> Cufon.now(); </script>


{Edited to add bc.. for better code display. – Uli}

Last edited by uli (2012-09-15 12:31:22)


#5 2012-09-16 18:04:44

Registered: 2012-08-03
Posts: 13

Re: How do i format some text on my wesboste



#6 2012-09-16 18:29:58

From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do i format some text on my wesboste

If I understand you correctly, you could use categories ‘current’ and ‘former’ for your articles in section ‘artists’. Then change your code for the sidebar to something like this, it will display the current and former artists as separate lists.

<div id="sidebar-2">
   <txp:recent_articles wraptag="p" label="Artists" section="artists" category="current" sort="Title asc" />
   <txp:recent_articles wraptag="p" label="choose_a_label" section="artists" category="former" sort="Title asc" />


Board footer

Powered by FluxBB