Questions tagged [teaser]
28 questions
9
votes
8 answers
rails: get a teaser/excerpt for an article
I have a page that will list news articles. To cut down on the page's length, I only want to display a teaser (the first 200 words / 600 letters of the article) and then display a "more..." link, that, when clicked, will expand the rest of the…

Sebastian
- 2,889
- 4
- 34
- 37
8
votes
1 answer
Element for a card/card-container in HTML5?
The specification for the article element says:
The article element represents a component of a page that consists of
a self-contained composition in a document, page, application, or site
and that is intended to be independently distributable…

Ricardo Gouveia
- 105
- 1
- 5
4
votes
2 answers
Drupal 7 get teaser with field_view_value()
I have an Ajax handler script where I load a $nodeId and output the result in default (full) view:
$node = node_load($input);
$prerendered_node = node_view( $node, 'default' );
...
Now I need to display the teaser (summary or trimmed) as well.
I…

Vlad Ghita
- 43
- 1
- 4
1
vote
1 answer
Teaser doesn't update in search results Drupal 7
I have a drupal 7 site with ApacheSolr search. When I edit a teaser (which is set up as "summary or trimmed") the teaser does not update in the search results. It's a particular problem for us in the people content type, as updated expert bio…

Kim L
- 11
- 1
1
vote
1 answer
Only whole node in preview
Is it possible to show only the whole node when clicking on "Preview", not also the teaser?
user321068
1
vote
1 answer
Is it possible to transform the data before retrieving from mongoDB?
Let's say I have a collection with only one field BlogText. When a user searches for a word and if that word is present in BlogText, I want to:
Retrieve only 10 words before the matched word and 10 words after the matched query, led and followed by…

dasfdsa
- 7,102
- 8
- 51
- 93
1
vote
1 answer
drupal 7.x - Showing image of a content type in teaser via editing database directly
Because of some reasons I am not able to change the view of teaser of my content type using drupal's UI, so I have to immediately force drupal to show images of contents of one of my specific content types in teaser. So, Is there anyway to do it by…
user5601721
1
vote
2 answers
drupal teaser starting position
Is there any way to control and manual specification for start of teaser?. for example:
This is my test paragraph to find the solution.i need to know how to control the starting position of the teaser............<--!break-->
i want to stat my…

ArK
- 20,698
- 67
- 109
- 136
1
vote
1 answer
Drupal 7: change "read more" on content type teaser
In a teaser of a content type, how do you change the text for the "read more" link button?

user3593360
- 9
- 2
0
votes
1 answer
Expandable content in the drupal node page (Javascript functionality)?
I need to display a trimmed version of the content on the node page and upon clicking on a link ("Read More"), the page should expand ? Is there any Drupal Module that implements this functionality ?
Thanks!

perpetual_dream
- 1,046
- 5
- 18
- 51
0
votes
1 answer
How to add Alt tag for the image in the Teaser component in AEM?
I would like to add the alt tag similar to the image component in the teaser component.
The OOTB teaser component uses data-sly-resource.

UKBK
- 11
- 1
0
votes
2 answers
PHP MYSQL Forum teaser, howto?
I like to make an forum teaser for my website. Its easy to just show the latest posts or threads.. I like to get latest threads and posts in the same query, ordered by the last activity. So its going to be ordered by REPLY TO POST date, and THREAD…

EastDane
- 137
- 1
- 10
0
votes
1 answer
How to put out a record with all categorie-titles connected to it
On a website, various records are to be output as teasers. Each record is assigned to one or more categories. In the teasers, the titles of all categories assigned to the respective record should be displayed.
I tried this with a Typoscript (see…

Michael
- 69
- 10
0
votes
1 answer
How to add missing read-more link to drupal 7 teaser
When customizing a drupal 7 theme about a year ago I removed the code that displays the read-more link at the end of teasers.
I need to add this code back to show the read-more links now, but I have totally forgotten where to put this code in.
Any…

head_scratcher
- 57
- 1
- 7
0
votes
1 answer
MySQL/PHP - change status depending on date
I have a MySQL Table, let's say for blog posts. They have a column status which cam be active or inactive and two columns which are optional: publish date and expire date for scheduling posts.
Which solution do you recommend for changing the status…

T40
- 9
- 3