Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-01-10 11:19:03

quemultimedia
Member
From: Nairobi
Registered: 2008-12-31
Posts: 42
Website

Re: Could someone walk me through this?

Colak,
well, let’s hope something does become available…
Rgds


Que,
Que-Multimedia

Offline

#14 2009-01-10 11:36:10

quemultimedia
Member
From: Nairobi
Registered: 2008-12-31
Posts: 42
Website

Re: Could someone walk me through this?

Guys, Bloke, Jakob, Colak,

I’m greatful at the tips and pointers you guys are giving me in these forums. So far, I’ve come a long way, and seem to be getting there gradually.

I seem to be getting some ‘small’ problems with my ‘pages’. As such, below, I’ve posted my ‘default’ page code, possibly you guys can see something I skipped out, improve on something, or possibly give some essential pointers….

Rgds
Que

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><txp:page_title /></title>

	<txp:rvm_css n="960" format="link" media="all" />
	<txp:rvm_css n="structure" format="link" media="all" />
	<txp:rvm_css n="html" format="link" media="all" />
	<txp:rvm_css n="text" format="link" media="all" />
	<txp:rvm_css n="reset" format="link" media="all" />

	<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:rsd />

	<!-- Begin Featured Gallery Scripts -->

	<link rel="stylesheet" href="css/jd.css" type="text/css" media="screen" charset="utf-8">
	<script type="text/javascript" src="jsf/mootools.js" ></script>
	<script type="text/javascript" src="jsf/jd.js"></script>
    <script type="text/javascript" src="jsf/jd_002.js"></script>
	<script type="text/javascript" src="jsf/transitions.js"></script>

	<!-- End Featured Gallery Scripts -->

</head>

<body>

<div class="container_12">

	<div class="col_tt">

		<div class="headertitle" onClick="top.location.href='<txp:site_url />';">
			<span title="Link to Home" onmouseover="this.style.color='white';" onmouseout="this.style.color='#80C31C';">
				<txp:site_name />
			</span>

			<span class="headertitlesmall">
				- africaanimal.org
			</span>
		</div> 

		<div class="headersubtitle">
			<txp:site_slogan />
		</div> 	

	</div>
	<!-- end .col_tt -->
	<div class="col_ttb">

		<!-- Site Search Form -->

	</div>
	<!-- end .col_ttb -->

	<div class="grid_12">
		<!-- Site-Wide Navigation - By Section -->
		<div class="container">

			<txp:section_list break="li" wraptag="ul" class="miniflex" active_class="active" />

		</div>
	</div>
	<!-- end .grid_12 -->
	<div class="clear">&nbsp;</div>	
	<div class="grid_4">

	<div class="col_tt">

		<!-- Sub Navigation - By Category -->
		<div class="listmenu">

			<h3 class="listheaderbar"><txp:section link="1" title="1" /></h3>
			<txp:category_list break="li" wraptag="ul" active_class="active" />

		</div>

	</div>
	<!-- end .col_tt -->
	<div class="col_ttb">

		<!-- Some Ad-Space -->

	</div>
	<!-- end .col_ttb -->

	<div class="clear">&nbsp;</div>
	<div class="col_a">

		<div class="member_login">

		<h3>Member Login</h3>

		<txp:ign_if_logged_in privs="0,1,2,3,4,5,6">

		   <div class="login_info">
			  <ul>
				 <li><span><strong>Welcome, <txp:ign_user_info type="realname"/></strong></span></li>
				 <li><span>You are logged in with the username: <strong><txp:ign_user_info type="name"/></strong></span></li>
				 <li><txp:ign_logout_link return_path="<txp:site_url />"> Text for the logout link </txp:ign_logout_link></li>
			  </ul>
		   </div>

		<txp:else />

			 <txp:ign_show_login />

		</txp:ign_if_logged_in>

		</div>

	</div>
	<!-- end .col_a -->
	<div class="col_b">

		<div class="polls">

			<h3>Polls</h3>
			<!-- Poll Results Displayed -->

		</div>

	</div>
	<!-- end .col_b -->

	<div class="clear">&nbsp;</div>
	<div class="full_c">

		<!-- Archives Calendar -->
		<div class="calendar">

			<h3>Calendar</h3>
			<txp:mdp_calendar_small section="2-blog" />

		</div>

	</div>
	<!-- end .full_c -->

	<div class="clear">&nbsp;</div>
	<div class="full_c">

		<div class="partner_list">

			<h3>Collaborators</h3>
			<!-- List of Links -->

		</div>

	</div>
	<!-- end .full_c -->

	</div>
	<!-- end .grid_4 -->

	<div class="grid_8">

	<txp:if_section name="1-about, 2-blog">

		<div class="clear">&nbsp;</div>
		<div class="full_c" id="recent_list">

			<txp:article limit="10" listform="featured" form="single_article" />

		</div>
		<!-- end .full_c -->

	<txp:else />

		<div class="clear">&nbsp;</div>
		<!-- begin .full_c -->
		<!-- Begin Gallery Slideshow -->
		<div class="full_c">

		<style>
		#myGallery, #myGallerySet, #flickrGallery {
		width: 605px;
		height: 400px;
		/*z-index:5;*/
		border: 1px solid #000;
		}

		.myGallery, .myGallerySet, .flickrGallery {
		width: 100%;
		height: 400px;
		/*z-index:5;*/
		border: 1px solid #000;
		}

		.jdGallery .slideInfoZone
		{
		position: absolute;
		z-index: 10;
		width: 100%;
		margin: 0px;
		left: 0;
		bottom: 0;
		height: 85px;
		background: #000;
		color: #fff;
		text-indent: 0;
		overflow: hidden;
		}
		</style>

			<script type="text/javascript">
				function startGallery() {
					var myGallery = new gallery($('myGallery'), {
						timed: true,
						defaultTransition: "fadeslideleft"
					});
				}
				window.onDomReady(startGallery);
			</script>
			<div class="content">

				<div id="myGallery">

				<txp:smd_gallery category="Gallery" limit="10" sort="date desc">

						<div class="imageElement">
						  <h3>{alt}</h3>
						  <p>{title}</p>
						  <a href="some-section/some-page?pic={url}" title="open image" class="open"></a>
						  <img src="{url}" class="full" />
						  <img src="{thumburl}" class="thumbnail" />
						</div>

					</txp:smd_gallery>

				</div>

			</div>

		</div>
		<!-- End Gallery Slideshow -->
		<!-- end .full_c -->

		<div class="clear">&nbsp;</div>
		<div class="full_c" id="recent_list">

			<txp:article_custom section="2-blog" limit="5" form="featured" />

		</div>
	<!-- end .full_c -->

		<div class="clear">&nbsp;</div>
		<div class="col_a" id="forums">

			<div class="forum_list">

				<h3>Discussion Forums</h3>
				<txp:article_custom limit="5" section="discussions" sort="posted desc">
				   <h4><txp:permlink><txp:title /></txp:permlink></h4>
				</txp:article_custom>

			</div>

		</div>
		<!-- end .col_a -->
		<div class="col_b" id="popular_list">

			<div class="popular_list">

				<h3>Popular Categories</h3>
				<txp:arc_popular_category_cloud weighted="1" break="," minfont="50%" maxfont="120%" />

			</div>

		</div>
		<!-- end .col_b -->

	</txp:if_section>

	<div class="clear">&nbsp;</div>
	<div class="col_a">
		<div class="col_a">

			<div class="section_archive">
				<h3>Environment</h3>
				<txp:article_custom section="2-blog" category="Environment" limit="5" offset="5">
					<h4>&raquo; <txp:permlink><txp:title /></txp:permlink></h4>
				</txp:article_custom>

			</div>

		</div>
		<!-- end .col_a -->
		<div class="col_b">

			<div class="section_archive">
				<h3>Health &amp; Wellness</h3>
				<txp:article_custom section="2-blog" category="Health-Wellness" limit="5" offset="5">
					<h4>&raquo; <txp:permlink><txp:title /></txp:permlink></h4>
				</txp:article_custom>

			</div>

		</div>
		<!-- end .col_b -->
	</div>
	<!-- end .col_a -->

	<div class="col_b">
		<div class="col_a">

			<div class="section_archive">
				<h3>Science &amp; Technology</h3>
				<txp:article_custom section="2-blog" category="Science-Technology" limit="5" offset="5">
					<h4>&raquo; <txp:permlink><txp:title /></txp:permlink></h4>
				</txp:article_custom>

			</div>

		</div>
		<!-- end .col_a -->
		<div class="col_b">

			<div class="section_archive">
				<h3>Society &amp; Culture</h3>
				<txp:article_custom section="2-blog" category="Society-Culture" limit="5" offset="5">
					<h4>&raquo; <txp:permlink><txp:title /></txp:permlink></h4>
				</txp:article_custom>

			</div>

		</div>
		<!-- end .col_b -->
	</div>
	<!-- end .col_b -->

	</div>
	<!-- end .grid_8 -->

	<div class="clear">&nbsp;</div>

</div>
<!-- end .container_12 -->

</body>
</html>

Que,
Que-Multimedia

Offline

Board footer

Powered by FluxBB