teasers

Events happening in the community are now at Drupal community events on www.drupal.org.

Custom node type teaser with Panels?

Posted by fsa317 on November 13, 2011 at 7:58pm

Hi, I'm pretty new to Drupal/Panels so forgive me if this is a silly question. What I'm trying to do is display a list of "linked nodes". Using a panel I include the list of linked nodes and choose rendered node in my formatter. This appears to display the node's teaser. However I want to customize (pretty much completely) how that teaser looks - is that done via panels or someplace else? Or is there an entirely better way to accomplish the overall objective?

Read more
5 comments Categories:

CCK fields vs. $node->body and $node->teaser (high traffic site)

Posted by webdrips on February 3, 2011 at 9:37pm

Hi all.

I recall from a presentation by Michelle Lauer (miche) during Drupalcon 2010, she indicated it's best to use a CCK textarea field for the node body to make it easier on themers.

However, in this case I will be the themer and I'm handing the site off to an experienced Drupaller to maintain the back end.

So what I wanted to open up for discussion here is: what other advantages or disadvantages are there to each approach?

My three primary concerns are as follows:

<

ol>

Read more
Categories: , ,

Panels drop in custom teasers

Posted by chrisschaub on October 16, 2010 at 9:14am

I'd like to create a custom link in the panels content popup (add new pane), like the current "Existing node" link, that would be "Custom teaser". The panels interface would prompt for node title/id and you could upload a custom thumbnail. Upon save, a single teaser would be dropped into the specified region. This way, users could easily drop teasers panes into regions/columns without having to see all the options under "add existing node." Any suggestions are appreciated.

Read more
5 comments Categories: ,

Removing teaser field creates error

Posted by kirkcaraway on September 23, 2010 at 1:10pm

For a variety of reasons (mobile posting via blogapi, simplified workflow) I would like to remove the teaser field from my article nodes, and use the standard node teaser instead.

But when I remove this via Views, I get this instead of a teaser:

< class="views-field-"> < class="field-content">

I first ran into this problem on OP 2.0, and was told it was a bug. I just installed the new 2.2 version, and the bug is still there.

Read more
6 comments Categories: ,

Make teasers optional

Posted by kcaraway on May 3, 2010 at 10:37pm

Most of the features of Open Publish I really like, but one of them is causing me problems: The teasers.

I can see the advantage of having a separate, custom teaser if you are doing a magazine-style site. But for the news sites I'm working on, adding that teaser text is getting in the way. Specifically, we do a lot of posting via an iPhone app called Blogpress, that works via the BlogAPI module. The problem is, there is no way to fill out the teaser field using this method, so all of the stories we post would go up without a teaser, and that would be bad.

Read more

Generalizing node context

Posted by joachim on May 27, 2008 at 5:30pm

Been sitting on this idea for a while: curious to see what people think.
In a nutshell, the idea is to combine and generalize the various flags for a node that are available in node.tpl.php, and open them up to modules.

For example, instead of the $is_front, $page, $sticky, and $teaser booleans, you'd have an array with entries present if the flag is true. Something like this, for example:

$context = array(
'teaser' => array(),
'sticky' => array(),
'page' => array(),
);

Core would take care of shoving those keys in; other modules would given a chance to add their own to a node.

That's the plan. Here's why I think it's cool:

Read more

Developing CCK teasers the right way

Posted by marcoBauli on June 23, 2006 at 9:31am

Howdy,

looks like one of the most wanted features of Conent Construction Kit (CCK) are teasers (short presentation text of nodes with eventually a picture, showing on the front page).

Urging this feature as many others for couple of my websites, I digged Drupal.org a bit looking for a solution. Unfortunately, teaser functionality seems still on it's first steps and many different approaches can be found (i write below the interesting Drupal.org nodes i found).

QUESTION: i would be interested in hiring / co-sponsoring a programmer to develop teaser functionality for CCK. Can any expert Drupal coder give a hint on what approach is more reliable/correct/better, so to take the right path and spend well any effort?

Read more
3 comments Categories: , , ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /