How can i get the news module to display on this page?
How can i get the news module to display on this page?
Hi,
I have created a new site and i am considering to use the "grass stains" theme. The only problem is that i cant figure out how
to get the news module to show with this theme? Preferably i would like it to displayed inside the yellow box? is this possible?
If so could someone explain as detailed as possible how i can accomplish this? My site is located at www.kennelquantos.com but i have just started testing with the grass stains theme at this page only http://www.kennelquantos.com/index.php?page=2006-2
Roy
I have created a new site and i am considering to use the "grass stains" theme. The only problem is that i cant figure out how
to get the news module to show with this theme? Preferably i would like it to displayed inside the yellow box? is this possible?
If so could someone explain as detailed as possible how i can accomplish this? My site is located at www.kennelquantos.com but i have just started testing with the grass stains theme at this page only http://www.kennelquantos.com/index.php?page=2006-2
Roy
Re: How can i get the news module to display on this page?
Roy,
in the template of your original site is in the sidebar-area a calling something like:
If you move that logic (or copy ot first) to the block you inserted on the other page, you pull the news there. If you want the details to be opened in the same area, delete the "detailpage" parameter, that causes the details to open in a given content-page. I create a content-page with the option "show in menu; UNchecked" to have a page not visible in the menu but active, so that the page with the title "news" can be used to have all newsdetails inside.
Ronny
in the template of your original site is in the sidebar-area a calling something like:
Code: Select all
<!-- Start News -->
<div id="news">
<h2>News</h2>
{news limit=3 detailpage='news'}
</div>
<!-- End News -->
Ronny
Re: How can i get the news module to display on this page?
Thanks for the answer Ronny,
I finally got the news to display
The only problem now is that i feel that it kinda messed up the page completley..Any suggestions?
Roy
I finally got the news to display

The only problem now is that i feel that it kinda messed up the page completley..Any suggestions?
Roy
Re: How can i get the news module to display on this page?
I think that that is caused by the table that thinks it doesn't fit in the area left of the news block. If you try to have some text instead, you might see that that is being placed in left of the news-block, as it does when you press the more link in the news-item.
Your table-width = 791, that won't fit with the news-block on the right:
Ronny
Your table-width = 791, that won't fit with the news-block on the right:
Code: Select all
<table cellspacing="0" cellpadding="0" width="791" border="1">
Ronny
Last edited by RonnyK on Mon Mar 19, 2007 2:45 pm, edited 1 time in total.
Re: How can i get the news module to display on this page?
Great..Thanks for the help 
All i need to do know is either to change all pages so that the "news box" always displays top right.
But perhaps it would be even easer to change the width of the template? What do you think? and if that is the best solution
how do i do it?
Roy

All i need to do know is either to change all pages so that the "news box" always displays top right.
But perhaps it would be even easer to change the width of the template? What do you think? and if that is the best solution
how do i do it?
Roy
Re: How can i get the news module to display on this page?
I would wrap a DIV in the template as it structures the site and not a specific content-page.
I've seen templates that had that, you might check themes.cmsmadesimple.org to see one with this logic and adapt the styling.
I'll see if I can find back one with this logic embedded.
EDIT:
The first template on this page holds the NEWS inside the content-area, you might find the used logic inside.
http://themes.cmsmadesimple.org/Theme_Frameworks.html
Ronny
I've seen templates that had that, you might check themes.cmsmadesimple.org to see one with this logic and adapt the styling.
I'll see if I can find back one with this logic embedded.
EDIT:
The first template on this page holds the NEWS inside the content-area, you might find the used logic inside.
http://themes.cmsmadesimple.org/Theme_Frameworks.html
Ronny
Last edited by RonnyK on Mon Mar 19, 2007 2:57 pm, edited 1 time in total.
Re: How can i get the news module to display on this page?
I am having a hard time figuring this out 
I am not that skilled...But my main problem now is that i belive that the content area is too small if you understand?
Also i agree that it would be best if i could get the NEWS inside the content-area but i dont understand how to do it? I would really like to be able to use the grasstains template becaused i really liked that one.
Roy

I am not that skilled...But my main problem now is that i belive that the content area is too small if you understand?
Also i agree that it would be best if i could get the NEWS inside the content-area but i dont understand how to do it? I would really like to be able to use the grasstains template becaused i really liked that one.
Roy
Re: How can i get the news module to display on this page?
Could someone please help me out here? I am stuck....
Re: How can i get the news module to display on this page?
Roy,
I'll check this evening when i'm home. Basically I didn't point you to leave GrassStains. I said that you could take that template in a environment, to check the calling of the div in the template and the CSS-styling of that DIV's in the css. If you have that template as well in your CSS it should work.
I installed it yesterday in a test-environment, to see.
Ronny
I'll check this evening when i'm home. Basically I didn't point you to leave GrassStains. I said that you could take that template in a environment, to check the calling of the div in the template and the CSS-styling of that DIV's in the css. If you have that template as well in your CSS it should work.
I installed it yesterday in a test-environment, to see.
Ronny
Re: How can i get the news module to display on this page?
Ronny,
Thanks..That sound great..To me it is simply a little difficult because of my skills..But i am learning something new all the time
Thanks..That sound great..To me it is simply a little difficult because of my skills..But i am learning something new all the time

Re: How can i get the news module to display on this page?
Roy,
is this what you mean.
http://test.krijt.eu/index.php?page=uyuy
The only thing is that with the NEWS inside the MAIN-DIV, you reserve some width (in my example 25%) for the NEWS-block. If you then give width to your table (on your site 100%), that it only fits in the space below your NEWS-block, as that leaves only 75% room of the MAIN-div to the area. One option is to don't give a specific width to the table, so it fills the area, or to give a width less then (not equal to) the remaining width. If it adds to 100%, hovering shifts it down again, so the used width shoud be less than 100% when using the table.
An other option would be to add a third column, but that then fills all the way down.
If you meant what I did on the test-site, I'll put the changed code up here.
Ronny
is this what you mean.
http://test.krijt.eu/index.php?page=uyuy
The only thing is that with the NEWS inside the MAIN-DIV, you reserve some width (in my example 25%) for the NEWS-block. If you then give width to your table (on your site 100%), that it only fits in the space below your NEWS-block, as that leaves only 75% room of the MAIN-div to the area. One option is to don't give a specific width to the table, so it fills the area, or to give a width less then (not equal to) the remaining width. If it adds to 100%, hovering shifts it down again, so the used width shoud be less than 100% when using the table.
An other option would be to add a third column, but that then fills all the way down.
If you meant what I did on the test-site, I'll put the changed code up here.
Ronny