1

I need to get the setting on what length the teaser of a custom made content type is set.

I tried Google'ing for it, but so far I have ziltch results. I also tried looking in the database, in the field_config_instance, field_config and the variable tables, but they couldn't give me a value either...

Now, I'm hoping you experts could help me to point me to the right direction? Would be appreciated. :-)

Thanks in advance.

2
  • why do you want to get the length of teaser ? For any specific purpose ? Commented Sep 19, 2012 at 9:17
  • well, I want to display a piece of the node content from a custom module if the content is longer than the desired amount of characters, but I want to show the full node (without the read-more link) if it's less than the amount of chars defined in the display-settings on admin/structure/types/manage/[content type]/display/teaser.
    – blacksnipe
    Commented Sep 19, 2012 at 9:26

1 Answer 1

0

Please check ReadMoreControl module, this might help you..By this module you can add Read more links to other supported view modes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.