| Author |
Message |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
Post subject: Re: How to have 2 news side by side? Posted: Wed Dec 22, 2004 6:45 pm |
|
The shown copyright notices are in violation with GPL and CPG-Nuke
There's no way you can use "NSN Center 4 Blocks" in CPG and PHP nuke
So just used the mentioned theme structure
cpgnuke.com/Forums/vie...html#38521
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS |
|
| Back to top |
|
 |
Andreas


Joined: Sep 03, 2004 Posts: 852 Location: Gävle, Sweden
|
Post subject: Re: How to have 2 news side by side? Posted: Wed Dec 22, 2004 9:06 pm |
|
Licensing questions aside, can someone tell me a little more exactly where inside the theme I posted back there I should include the code?
_________________ Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder
Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1 |
|
| Back to top |
|
 |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
|
| Back to top |
|
 |
t31os


Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Post subject: Re: How to have 2 news side by side? Posted: Fri Dec 24, 2004 2:20 am |
|
I've been trying to work this into my theme and i don't have a clue how to do this.
How would i do it in this page?...
Code:
<!-- BEGIN newsempty -->
<table class="newsindex"><tr><td>
<center><font class="title">{newsempty.S_SITENAME}</font><br /><br />
{newsempty.S_NOTOPIC}<br /><br />
[ <a href="{newsempty.U_NEWSINDEX}">{newsempty.S_GONEWS}</a> | <a href="{newsempty.U_TOPICS}">{newsempty.S_SELECT}</a> ]</center>
</td></tr></table><br />
<!-- END newsempty -->
<!-- BEGIN newscat -->
<table class="newsindex"><tr><td>
<center><font class="title">{newscat.S_SITENAME}: {newscat.S_TOPIC_T}</font><br /><br />
<form action="{newscat.U_SEARCH}" method="post" {I18N}>
<input type="hidden" name="topic" value="{newscat.I_TOPIC}" />
{newscat.S_SEARCHON}: <input type="name" name="search" size="30" maxlength="255" />
<input type="submit" value="{newscat.S_SEARCH}" />
</form>
[ <a href="{newscat.U_HOME}">{newscat.S_GOHOME}</a> | <a href="{newscat.U_TOPICS}">{newscat.S_SELECT}</a> ]</center>
</td></tr></table><br />
<!-- END newscat -->
<!-- BEGIN newstopic -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23">
<img src="themes/noobt/images/blocks/ntnew_r1_c1.gif" alt="" width="23" height="41" /></td>
<td width="100%" class="block-center-title"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font size="3"><b> {newstopic.S_TITLE}</b></font></td>
</tr>
</table></td>
<td width="23">
<img src="themes/noobt/images/blocks/ntnew_r1_c3.gif" alt="" width="23" height="41" /></td>
</tr>
<tr valign="top">
<td class="block-center-leftside">
<img src="themes/noobt/images/blocks/ntnew_r2_c1.gif" alt="" width="23" height="11" /></td>
<td bgcolor="#BDC1DB"><a href="{newstopic.U_NEWTOPIC}">
<img src="{newstopic.IMG_TOPIC}" alt="{newstopic.S_TOPIC}" border="0" align="right" /></a>
<br />
<font size="1" color="#035D8A">{newstopic.S_POSTEDBY} {newstopic.S_INFORMANT} {newstopic.S_ON} {newstopic.S_TIME} {newstopic.S_READS}</font><br /><br />
<font size="2" color="#000000">{newstopic.S_STORY}
<!-- IF newstopic.S_NOTES -->
<br /><br /><b>{newstopic.S_NOTE}</b> <i>{newstopic.S_NOTES}</i>
<!-- ENDIF -->
</font><br /><br />
<font size="2">{newstopic.S_MORELINK}</font></td>
<td class="block-center-rightside">
<img src="themes/noobt/images/blocks/ntnew_r2_c3.gif" alt="" width="23" height="11" /></td>
</tr>
<tr>
<td width="23"><img src="themes/noobt/images/blocks/ntnew_r4_c1.gif" alt="" width="23" height="20" /></td>
<td class="block-center-bottom"></td>
<td width="23"><img src="themes/noobt/images/blocks/ntnew_r4_c3.gif" alt="" width="23" height="20" /></td>
</tr>
</table><br />
<!-- END newstopic -->
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none |
|
| Back to top |
|
 |
djdevon3


Joined: Aug 05, 2004 Posts: 4365
|
Post subject: Re: How to have 2 news side by side? Posted: Tue Dec 28, 2004 10:30 am |
|
That's why I always try to get permission for my ports first. A simple email is all it takes. The authors rarely say no. They just want to be notified of any use of their scripts so they can watch them grow basically.
djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33/4.4/4.3.11 |
|
| Back to top |
|
 |
Mystic


Joined: Jun 25, 2004 Posts: 1309 Location: Spokane, WA USA
|
Post subject: Re: How to have 2 news side by side? Posted: Tue Dec 28, 2004 5:18 pm |
|
I'm sure some clever wang can write a similar module for us from the ground up. No license required.
Add something like the ability to adjust the number of blocks from like two to four to six or something like that. Make it our own.
_________________ - |\/|ystic
Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.4.28/Apache/4.0.22/4.3.11/9.0.6.1 |
|
| Back to top |
|
 |
Andreas


Joined: Sep 03, 2004 Posts: 852 Location: Gävle, Sweden
|
Post subject: Re: How to have 2 news side by side? Posted: Tue Dec 28, 2004 6:39 pm |
|
No-one can help t3los and thus me?
_________________ Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder
Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1 |
|
| Back to top |
|
 |
Smitty


Joined: Oct 17, 2004 Posts: 36 Location: Jackson Mo
|
Post subject: Re: How to have 2 news side by side? Posted: Sun Mar 06, 2005 10:15 pm |
|
I would really like to know how to do this also. With the news being the main page it would be nice to be able to change it up a bit.
Smitty's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 1.3.33 / MySQL 4.0.22 / PHP 4.3.9 / CVS |
|
| Back to top |
|
 |
duffbeer


Joined: Mar 26, 2005 Posts: 45 Location: the lair
|
Post subject: Re: How to have 2 news side by side? Posted: Sun Mar 27, 2005 4:03 pm |
|
hi... i'm new here, but i've used phpnuke for years.
speaking of different news story layouts, is there a layout for cpg-nuke that looks kinda like a cnn.com layout?
and is there one for a store layout?
i need to build 2 such sites and it'd be great if i could just use a template and edit them.
thanks and cheers.
duffbeer's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD6.2Stable: Apache2.2 gd enabled, mysql 4.1.14, php4.4.6, DF9.0.6.1 // Slack10: Apache1.3.81, gd enabled, mysql 4.0.20, php4.3.7, DF0.9.030 |
|
| Back to top |
|
 |
j-kite


Joined: Jan 10, 2005 Posts: 240 Location: Ontario
|
Post subject: Re: How to have 2 news side by side? Posted: Mon Apr 04, 2005 3:57 pm |
|
If you modified that code, would it not use side by side for all of your news? It be nice to just use side by side for certain articles, rather then modifying it for the whole site. I wonder if that could be a feature in an update, where you can write 2 stories and then check both them and click join or something like that. Then they would go side by side. That be pretty sweet!
_________________ be glad of life because it gives you the chance to love and to work and to play and to look up at the stars
j-kite's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / 1.3.33 (Unix) / 4.1.13-standard / 4.3.10/ 9.0.5.0 |
|
| Back to top |
|
 |
medigangsta


Joined: Jul 16, 2004 Posts: 69
|
Post subject: Re: How to have 2 news side by side? Posted: Fri Apr 22, 2005 6:53 pm |
|
This is fantastic, cheers DJ Maze.
Is it possible to have half of the news with two columns, and half with one?
So you would have, for example:
NEWS
NEWS
NEWS
NEWS - NEWS
NEWS - NEWS
NEWS - NEWS
If you go to www.spurs.co.uk/index.asp you can get a better idea of what I'm on about, though there's only one main story there.
medigangsta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.50/MySQL 4.0.18 /PHP 4.3.9/CPG 8.2b |
|
| Back to top |
|
 |
medigangsta


Joined: Jul 16, 2004 Posts: 69
|
Post subject: Re: How to have 2 news side by side? Posted: Sat Apr 23, 2005 2:33 pm |
|
Right, the way I'm trying to do this at the moment is to use Phoenix's Latest News centre block to display the top 5 or so stories, then have the rest displayed in 2 columns. At the moment though, the latest news block shows the newest five stories, and then the news below starts from these again.
i.e.
Story 1
Story 2
Story 3
Story 4
<-End of latest news block start of news module->
Story 1 - Story 2
Story 3 - Story 4
What I'd really like it to do is this
Story 1
Story 2
Story 3
Story 4
Story 5 - Story 6
Story 7 - Story 8
Story 9 - Story 10
etc. etc. etc.
If anyone has any better ideas on how I can achieve this result, or any pointers on how to do it the way I'm trying to, I'd be most grateful.
medigangsta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.50/MySQL 4.0.18 /PHP 4.3.9/CPG 8.2b |
|
| Back to top |
|
 |
medigangsta


Joined: Jul 16, 2004 Posts: 69
|
|
| Back to top |
|
 |
t31os


Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Post subject: Re: How to have 2 news side by side? Posted: Sat Apr 23, 2005 3:48 pm |
|
Cool, you'd be surprised how many follow threads without replying to them, its worth keeping us upto date with the progress, i'd like to see something like this available, and the more info you provide the more likely for someone to come up with an easy and self explanatory method for those of us that are real novices.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none |
|
| Back to top |
|
 |
Jeruvy


Joined: Apr 23, 2004 Posts: 1433 Location: Canada
|
Post subject: Re: How to have 2 news side by side? Posted: Sat Apr 23, 2005 4:28 pm |
|
Yes, I am following this thread closely....for example
_________________ J.
j e r u v y a t y a h o o d o t c o m
Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net
Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2} |
|
| Back to top |
|
 |