Download & Extend

Remove premium message on teaser

Project:Premium
Version:6.x-1.0-alpha1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

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

Comments

#1

Version:6.x-1.x-dev» 6.x-1.0-alpha1
Category:support request» feature request
Status:active» needs review

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.

AttachmentSize
premium.module.teaser-view-option.patch 2.01 KB

#2

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.'),

#3

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

#4

Status:patch (to be ported)» reviewed & tested by the community

Works well for me. Thanks