Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2012, 10:00:29 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155094 Posts in 21661 Topics by 7721 Members
Latest Member: arrow345
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Help with news settings  (Read 952 times)
eddyfever

Offline Offline

Posts: 47



« on: July 24, 2006, 03:08:17 PM »

Hello you all

i have 2 questions about the settings for the news module,

- i would like to have a different template for the long story (so after pressing read more), is that possible?
- Also i would like to have just 3 headlines on my mainpage and not as minium 5, can i change this somewhere?

thank you already for your help.
Logged

eddyfever

Offline Offline

Posts: 47



« Reply #1 on: July 25, 2006, 12:39:17 PM »

ok the headlines is solved, but now i still want my read more (Long story) in another template.
Anybody any idea???
Logged

rsmith

Offline Offline

Posts: 194


« Reply #2 on: July 25, 2006, 03:25:27 PM »

Hi
Sorry to say I cant think of a quick solution...

I can take a look tonight, but I dont think it will be a "quick" fix..

There was a post (ill see if i can find it), about switching templates via the url, this may be able to do what you want with a little tweak to the program....  but other than that.. im not sure of how "easy" it would be...


I'll Let you know if i find anything

Rob
Logged
pcwacht
Guest
« Reply #3 on: July 25, 2006, 04:59:52 PM »

You need to know how news works

When calling the news page the view.php script is executed and gives you the headlines.
When clicking on the read  more link the same view.php is executed, giving the details.

So basicly there is no easy way to make one script having 2 templates!

But we can do a lot with wb.... Wink

In order to make it look like 2 different templates you can easely do this:

make the news page with the template you need, the template you want when clicked read more... link
make another page, in it a code section and choose the template you need for the header list. Give it a code section and paste the code (http://forum.websitebaker.org/index.php/topic,409.0.html) to show the headers.


This way the listing of x newsitems are done in one template with a bit of code and the actual newsitem is displayed using the template for the newspage.

Easy does it Wink


Happy baking,
John
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!