How do I promote to the front page if the article is a table?
timcs - April 12, 2009 - 14:24
Hi
I am finding that if an article is mainly a table and I promote it to the front page, it messes up the front page layout. Is there a module which allows me to enter a summary for the article so that , this is used for the front page instead?
Kind regards
TimCS

I have tried to use Front
I have tried to use Front page, Announcements and views modules so far with little success. If a link is needed to show the effect of a table on the front page please let me know as I have currently disabled it.
Regards
TimCS
Two possibilities
Without seeing an example, it sounds to me like there are two possible solutions:
CSS: Use CSS to constrain the width of tables on the front page. Use a declaration like this and play around with the
widthand/ormax-widthuntil you get something you like. (I picked the values below randomly. You'll need to tweak them. Use the Firebug add-on for Firefox to do that, if you're not using it already. Note that IE5 and IE6 ignoremax-width.)body.front div.node table {width: 80%;
max-width: 30em;
}
CCK: The CCK Teaser Field module and the CCK Teaser module both enable you to use a specific CCK field as the teaser, independent of the main node content. If the CSS solution doesn't work, try adding a 'Teaser' field to your nodes. I've never used either module, but I think they'll solve your problem.
grobemo Thanks for your
grobemo
Thanks for your reply. Being no good at CSS and having to badger a mate all of the time :) , I tried the CCK Teaser and cck teaser field modules , however they both require another module called content. On searching for content in the modules section, as you can imagine, a lot of results appeared. There is no link to the content module either on the CCK Teaser module page which is annoying. Any ideas on finding it quickly? If it refers to the content that is part of Drupal then that is there as I am using to add my articles.
Kind Regards
TimCS
Regards
TimCS
Sorry to bother you found it
Sorry to bother you found it , it was the CCK module.
Regards
TimCS
Hi again , I cannot seem to
Hi again , I cannot seem to get the field module to appear anywhere once I have installed it. It does not appear when editing the node/article nor does it appear under the content types any ideas?
For further info here is my site with the table on the front page ->http://timcs.co.uk/newsite1/
Regards
TimCS
Problem solved
grobemo thanks for your help, I have (I think) managed to get it to work.
Kind Regards
TimCS
Regards
TimCS