1
philroy
Two column headline feed?
  • 2004/1/16 4:45

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Hi all,

I'm building up a theme, ready to convet this site (http://www.macguide.co.nz/) over to Xoops. As you can see on the main page, I've got two feeds...one from MacMinute and one from MacNN, that I want to put side by side on the new design, in the center column.

My new design has the same structure as this sites main page...3 columns, large central area. I want the feeds (which I've got working fine) to use the headine module....I would prefer NOT to use custom blocks.

I'd also prefer to have as few table in the pages as possible.

I'm trying to get the two feeds to end up placed side by side, using CSS to align them...however, that's not going to well. I hacked the headline module to add span tags and then used 'float' to line the two feeds up, setting both at 50% width, but that's been a bit unsuccessful.

I thought I'd post here and see what people think...am I going about this all the wrong way?

Cheers,

Phil

2
philroy
Re: Two column headline feed?
  • 2004/1/21 20:44

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Anyone?

What I want to display is...

RSS Feed 1 RSS Feed 2
Item 1 Item 1
Item 2 Item 2
Item 3 Item 3
Item 4 Item 4
Item 5 tem 5

Any ideas?

Phil

3
kahumbu
Re: Two column headline feed?
  • 2004/1/21 21:35

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


If you will be using only 2 feeds, you can use this for your xoopsheadline_block_rss.html:

<table border="0" cellpadding="5" cellspacing="0">
<
tr>
<{foreach 
item=feed from=$block.feeds}>
<
td width="50%"><{$feed}></td>
<{/foreach}>
</
tr>
</
table>


You can see this in action in my site. The block is labeled 'Foreign News'.

4
philroy
Re: Two column headline feed?
  • 2004/1/22 0:00

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


That’s embarrassingly simple...thanks!

Phil

5
scurvyd
Re: Two column headline feed?
  • 2004/1/29 18:28

  • scurvyd

  • Just popping in

  • Posts: 23

  • Since: 2004/1/28


I know this is going to be a dumb newbie question, however I must ask.

I go to my admin panel and choose the headlines block.

Now I choose edit block.

I then choose edit template.

I make the changes I desire and all I get is a view button and no save submit or make changes button.

What am I missing??


6
Stewdio
Re: Two column headline feed?
  • 2004/1/29 19:56

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Go to your admin, system, templates and clone the default and rename it to what evr you want. Go back to admin prefrences and then set your newly cloned template to default and then you should be able to see your save button when you go to edit the template.

7
scurvyd
Re: Two column headline feed?
  • 2004/1/30 0:31

  • scurvyd

  • Just popping in

  • Posts: 23

  • Since: 2004/1/28


Thank you,

I am still learning how to use the tools you provide. I appreciate the assistance.

8
philroy
Re: Two column headline feed?
  • 2004/2/22 6:04

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Ok, as I get into my new design more, I've decided I want 4 separate feeds to appear in one block...

1.....2
3.....4

You can see what I mean in the non-Xoops version of the site...
http://www.macguide.co.nz/

The international news has 4 feeds.

How can I code this to work with the headline module?

Cheers,

Phil

9
philroy
Re: Two column headline feed?
  • 2004/2/26 20:52

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Anyone know how I can do it?

Phil

10
philroy
Re: Two column headline feed?
  • 2004/6/5 3:18

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Hi all,

It has be ages since I asked this and have been trying out differnt things....but I keep coming back to it. Is there anyone that can suggest the code to have 4 headline feeds pulled, then have then displayed in two rows of two (as I have on my non-xoops site at the moment...http://www.macguide.co.nz).

Phil

Login

Who's Online

107 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 107


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits