teasers

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
fsa317's picture

Custom node type teaser with Panels?

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
webdrips's picture

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

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
chrisschaub's picture

Panels drop in custom teasers

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
kirkcaraway's picture

Removing teaser field creates error

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
kcaraway's picture

Make teasers optional

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
joachim's picture

Generalizing node context

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
marcoBauli's picture

Developing CCK teasers the right way

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
Subscribe with RSS Syndicate content