Hi,

Fabulous module, thank you.

I would like to remove the premium only on the teasers and just have it when viewing the full node.

Have tried:

.node-teaser .premium-message {
display:none;
}

but it still shows. Please what do I do to remove it on teasers and just keep it on full nodes?

Looking forward to any reply.
Lilian

CommentFileSizeAuthor
#1 premium.module.teaser-view-option.patch2.01 KBBryan76

Comments

Bryan76’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha1
Category: support » feature
Status: Active » Needs review
StatusFileSize
new2.01 KB

I have created a patch that gives a new settings option "Display premium message in teaser?" When enabled, you get the message in teaser view. When disabled, you don't. You always get the message when viewing the full node body.

Let me know what you think.

Bryan76’s picture

Silly me, in the settings page I got the description backwards. Just replace the following line, I can roll a new patch if wanted:

'#description' => t('If selected, the premium message will be appended to the teaser view. If not selected, the premium message will only be appended in a full node view.'),

ceinmart’s picture

Status: Needs review » Patch (to be ported)

Thanks Brian, your patch works fine for me!
I discovery the Premium module today.. and I'm looking for this resource (premium access) for two weeks ! This module is the best!

Thanks again
Cesar

JoeMcGuire’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Works well for me. Thanks