Tay Posted March 9, 2015 Posted March 9, 2015 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. Quote
Nayleen Posted March 9, 2015 Posted March 9, 2015 If only there was someone around who knew about that kind of stuff, one could, like, create a channel as means of communication with them to ask them directly. Darklord Rooke and Tay 2 Quote
Tay Posted March 9, 2015 Author Posted March 9, 2015 < 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. Darklord Rooke 1 Quote
Darklord Rooke Posted March 9, 2015 Posted March 9, 2015 (like that very same Rooke who liked your post : P) Thank you. Much appreciated..... *Cough* I totes wasn't involved at all, don't even know what a sidebar is. Sidebar? Must have something to do with alcohol... Quote
Nayleen Posted March 9, 2015 Posted March 9, 2015 Where are the blogs defined so I can give them the appropriate CSS classes? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.