Jump to content

Sidebar Formatting


Recommended Posts

I'm getting an escalating number of Skype messages/Google hangout messages about the formatting of the blog feeds. I know it doesn't look very good, but my first priority was making it functional.

 

Each of the blog feeds are broken down into "Blocks", and each block has the potential to get custom formatting. I just don't know what I'm doing in that department : P. When I click "custom template" it gives me the following code (which I think is just a bare-bones starter point), but it's a fully-editable input box and I can't help but think this is where we can set the blocks to use the theme styling.:

<div class='general_box'>
	<h3>{$title}</h3>
	<ul class='hfeed'>
		<if test="is_array( $records ) && count( $records )">
		{parse striping="feed_striping" classes="row1,row2 altrow"}
		<foreach loop="$records as $r">
		<li class='hentry {parse striping="feed_striping"}'><a href='{$r['url']}' rel='bookmark' title='{$r['title']}'>{$r['title']}</a>
			<br /><span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['date'] )"}">{parse date="$r['date']" format="short"}</abbr></span>
			<span class='desctext'>{IPSText::truncate( strip_tags($r['content']), 32 )}</span>
		</li>
		</foreach>
		</if>
	</ul>
</div>
<br />

I don't know if that means anything. Part of me thinks that what I need to do to fix the formatting is create a hook for each of the blocks. The rest of me thinks I'm in over my paygrade here and I'm up for any knowledgeable person's guidance : P.

Link to comment
Share on other sites

< 3. It was merely an act of self-preservation ; P, & it would have made its way to you soon enough. Last night I was stranded in clinic with no cell charger and people began messaging me en masse (like that very same Rooke who liked your post : P) asking why I hadn't immediately fixed the format. It was either post to quell the increasingly outraged masses before their PMs/chat messages killed my battery, or stop watching You've Got Mail in-between patient visits.

I chose the movie. Forgive me, Nay-sama.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...