I've incorporated the views module in hopes to recreate a site for my company. The way the site works is it has one featured article on the home page accompanied by a large picture.
Well, I took this approach:
I modified the theme to include a new region.
I edited the "Story" category to read "featured article"
I installed the views module
I created a new category called "featuredarticle"
I added a new term called Teaser
I created a new featured article content piece and assigned it to "Teaser"
I created a new view called "Featured_Teaser" and made it a block (1 node per block and a view type of "Teaser List"
I then added the "Featured_Teaser" block to the new region.
------------------------------------
the problems I'm having are:
the article teaser displays ok in the region except it displays "Teaser" right before the actual teaser, how can I modify that so it does not print that? (I.E. what module can I edit or what function can I override?)
The title of the featured article only appears as a straight line (--------) above where it says "Teaser" in IE and doesn't display at ALL in Firefox
It seems it's going to appear on all the pages of this template, is there a way to only display this view on the front page?
Any help would be greatly appreciated.
Comments
This is just a dev spot for
This is just a dev spot for the site we're working on, but I thought it would be better to show an example.
http://www.wolfeyedesign.com
****Edit*****
Weird. The title's now displaying ok....
I changed the name of "Teaser" to "Featured_Article_Teaser" either way, it's still displaying and I dont' want it to.
Also: is there a way to define how many characters (or words) are displayed using the "Teaser List" option of views?
------------------------
Cassandra Wolff
PHP Developer
Gaiam Inc.
Direct: 303-222-3676
cassandra.wolff@gaiam.com
hiding...
maybe taxonomy_hide? you can elect to not show terms from specified vocabularies, but it will be for both teaser and full node. since you are using the vocabulary/term only as a selector, it may work for you.
just a thought. good luck!
Thanks TM! How would I go
Thanks TM!
How would I go about implementing a taxonomy_hide override?
------------------------
Cassandra Wolff
PHP Developer
Gaiam Inc.
Direct: 303-222-3676
cassandra.wolff@gaiam.com
Oh duh, nevermind, I just
Oh duh, nevermind, I just found the module named taxonomy_hide *smacks forehead*
Thanks again TM, I'll let you know how it goes.
------------------------
Cassandra Wolff
PHP Developer
Gaiam Inc.
Direct: 303-222-3676
cassandra.wolff@gaiam.com
Thanks TM, it worked
Thanks TM, it worked great!
Any suggestions for defining a number of characters or words to display in the teaser view?
------------------------
Cassandra Wolff
PHP Developer
Gaiam Inc.
Direct: 303-222-3676
cassandra.wolff@gaiam.com
post settings
in administer > post settings, there is a setting for length of trimmed posts ("teaser"). this is a global setting.
also remember that you can override that setting with the
<!--break-->tag in the node body. really useful if you have tags that could break your listing page layouts.Hmmm...I changed the length
Hmmm...I changed the length of the teaser but it didn't seem to take affect, I think it might be because I'm using views to display the teaser article?
------------------------
Cassandra Wolff
PHP Developer
Gaiam Inc.
Direct: 303-222-3676
cassandra.wolff@gaiam.com
retouch
this might be one of the "retouch" issues; if the node was pre-existing, you need to "re-edit" it for the new settings to take effect.
the article teaser displays
The title of the featured article only appears as a straight line (--------) above where it says "Teaser" in IE and doesn't display at ALL in Firefox
Sounds like you could do both cleanly with a theme,
http://drupal.org/node/44225