Questions tagged [teaser]
28 questions
0
votes
0 answers
How can i speed up my python program
Below is my script:
from math import trunc
def solver(number,number2, numberofdigits):
seq = str(number),str(number2), str(number - number2)
digits = "".join(seq)
goodChecks = 0
count= numberofdigits/3
for i in range(1,10):
…

Joe Clinton
- 155
- 9
0
votes
1 answer
Show only “Read more” link in drupal 8
How can I show only read more link, and remove or unset other links like "add new comments" or "2 Comments" at the end of a node teaser?

Mojtaba Reyhani
- 447
- 1
- 6
- 19
0
votes
1 answer
Image in djangocms-teaser
I've got a question about functionality of djangocms-teaser. Is there a way to import a scaliable picture in the teaser? To make it more fancy.
For example, I've got pic 300*300 on my PC, but when I load it into teaser, it automatically (or…

St Pavel
- 339
- 1
- 3
- 18
0
votes
2 answers
How to list all child pages of current parent page in drupal 7?
Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title. These 2 information needs to be…

Moushrat
- 21
- 8
0
votes
1 answer
Drupal : Simplenews sending weekly newsletter of teasers
I have a drupal site which have some content type like article, stories. I want to send the teasers of all posts posted within a week to the subscribed users. It will be a weekly newsletter.
Currenty, Simplenews sends individual newsletter for each…

Aman Dhanda
- 438
- 4
- 15
0
votes
1 answer
Creating threads to run algorithm players
I am trying to write a program which implements a solution for the Prisoners and switches problem. I created a SwitchRoom class..
public class SwitchRoom
{
private boolean switchA;
private boolean switchB;
and a prisoner class
public class…

AbuMariam
- 3,282
- 13
- 49
- 82
0
votes
1 answer
Drupal url to teaser overview page
It's probably the most simple question, but what is the url to the teaser overview page?
I'd make a content type 'X' and did make a template for the teaser and for the fullpage like this:

Roland Kedde
- 3
- 1
0
votes
1 answer
Using Lambda Expression within MapBox TileMill Teaser
I have the following TileMill Teaser defined:
Phone: {{{PHONE}}}
The phone data is numeric with 10 digit phone numbers. I want to format it on-the-fly using lambda expression as follows:
Phone: {{#formatPhone}}{{PHONE}}{{/formatPhone}}
In a hash, I…

anteater
- 55
- 1
- 7
0
votes
1 answer
IE 9 doesn't display teaser image and summary in Drupal 7
In all other main browsers it is perfectly ok, but in IE 9 Drupal doesn't display teaser image and summary text. In views building mode (preview) images and text is shown but on the 'live' page only title is displayed. I am using Drupal 7. What to…

natttan
- 119
- 1
- 3
- 11
0
votes
1 answer
Drupal 7 use teaser as a block
Can the teaser on the front page to be used as a customized block element, and to be assigned in any other regions and to be shown on every pages?
Or is there any module for this function in Drupal 7?

Chito Cheng
- 540
- 2
- 9
- 25
0
votes
2 answers
How to get a field's teaser with php?
Is there a way to get a field's teaser value with php? I can get the fields value with some php like this..
field_country[0]['value'] ?>
I tried this..
field_country[0]['teaser'] ?>
But that does not work. :(

Dustin
- 4,314
- 12
- 53
- 91
0
votes
1 answer
How to define another teaser for the second theme?
I have two themes: regular (1st) & mobile (2nd). Mobile theme binded with subdomain m.mysite.com.
I can't show my mobile node teaser in mobile theme.
I've created that teaser for mobile theme in Display Suite. Next I need to show this one in mobile…

Konstantin Konopko
- 5,229
- 4
- 36
- 62
0
votes
1 answer
Eventbrite - Is there a Teaser Text / Short Description Field?
I'll be using the Eventbrite API to pull an event list to display on a web page. I understand that there is a Description field, but, we would also like to display teaser text about the event. Does this type of field exist for an Eventbrite Event?
I…