![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Modules A forum for discussions, questions, implementation and development of modules. Questions here are beyond "typical" 68classifieds support and not supported by the 68classifieds team. |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Quote:
If you have any questions or need support with this modification please reply below. |
|
#2
|
|||
|
|||
|
this mod is great, easy to change news articles, and adjust article listing.
here is an example from my site. http://www.ads47.com/ |
|
#3
|
||||
|
||||
|
Quote:
Is there any way to run more than 1 feed on a page? Such as in different locations. It seems I would need a (loc1),(loc2)..etc in the code where it shows, but also when the feed is placed in the admin area it would need a location # to show there. I sure could use this! Thanks in advance! Gary
__________________
v3.1.5x Developer
|
|
#4
|
||||
|
||||
|
Well, the feeds are called at the same time, I really just made this module to setup basic feeds to one place. The core of the module can be used by advanced users to display feeds on any page.
I'll post some code here to use on different pages, though you'd need the developer version. I'll also take another look at the existing module and see what can be done. Maybe sometime this afternoon.
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#5
|
||||
|
||||
|
Thanks John, If it could be done by just adding a location, #1, #2...ect that would be great. Then it wouldn't matter if I needed just 5 locations or 100, it would still work. Yes I do have Developer and I can change the code each time I place it, so something simple as one more col in the admin would do it. Location or ID either one.
__________________
v3.1.5x Developer
|
|
#6
|
||||
|
||||
|
The thing is that the module pulls down all feeds and sends them to the template which then loops through them. I'd have to rewrite most of the module to handle this. It is a good idea, and I agree that this should be a feature.
You can do this for the time being (I haven't tested this, just don't have enough time today): On the page you want the feed: PHP Code:
The new template file should look like this: HTML Code:
<table width="600" align="center"> <tr> <th><strong> <a href="{$rss->channel.link}">{$rss->channel.title}</a></strong></th> </tr> <tr> <td><a href="{$rss->channel.link}">{$rss->channel.link}</a></td> </tr> <tr> <td>{$rss->channel.description}</td> </tr> <tr> <td>{$rss->channel.copyright}</td> </tr> </table> {foreach from=$rss->items item=item} <table width="600" align="center"> <tr> <th><strong> <a href="{$rss->items.link}">{$rss->items.title}</a></strong></th> </tr> <tr> <td>{$rss->items.description}</td> </tr> </table> {foreachelse} <table width="600" align="center"> <tr> <td>No Feeds Availible</td> </tr> </table> {/foreach}
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#7
|
||||
|
||||
|
Thanks a Million John!
I have already started down that very path! Great we are on the same path. I just never would have come up with the top code, That's just what I needed!! Also I have another way to do it, and think it would be alot easier for you to add to your mod. I don't have but a min so I'll get back later. Thanks John! ~~~Running away~~~Smiling ear to ear~~~~~
__________________
v3.1.5x Developer
|
|
#8
|
|||
|
|||
|
I have just installed the RSS feed module which is working great.
How do I adjust the size of the generated feeds as I want to display them under the left navagation panel? Cheers Hugh |
|
#9
|
||||
|
||||
|
set the width in the feeds template and give the table class the "navigation style"
Change this section: HTML Code:
<table width="700" align="center">
HTML Code:
<table width="100%" class="navigation" align="center">
HTML Code:
<table width="600" HTML Code:
<table width="100%"
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#10
|
|||
|
|||
|
Thanks for the quick reply John.
That worked fine. I have a problem with the header background that shows behind the link for the RSS feed. How can I change the colour of the background (its showing the colour of all the header backgrounds on the home page) to another colour, or if that is not possible then remove the background colour from the link headings. Cheers Hugh |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modification: Users Online Module | juven14 | v3.1 Modules | 18 | 06-04-2007 06:06 PM |
| Modification: Rating Module | suzkaw | v3.1 Modules | 11 | 12-05-2006 09:40 AM |
| Difference between RSS Feed Module & News Mod by Maffo | dawyatt | v3.1 Modifications | 14 | 09-23-2006 09:51 PM |