Hi, I have a rule that sends posts out, but when there is no body of a post I see
[node:body]
Is there a way to see if [node:body] is empty to use another email template to send out or a way to stop empty tokens from being shown an the email?
Thanks.
I see several issues about that in the issue queue, so I would suggest looking there. There is a parameter (at least in D7) to tell Token to suppress empty strings, so there should be a setting for it.
May the peace of God be with you. Nancy E. Wichmann, PMP (781) 697-6344 Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Jim Ruby jim@v-community.com To: support@drupal.org Sent: Wednesday, February 13, 2013 4:26 PM Subject: [support] question about rules module
Hi, I have a rule that sends posts out, but when there is no body of a post I see
[node:body]
Is there a way to see if [node:body] is empty to use another email template to send out or a way to stop empty tokens from being shown an the email?
Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi All,
I'm creating a view rss feed to get all fields from my article content type, headline, title, image....
In displays master detail setting, I have field "Content: Image w description+ http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_imagecaption" (a article field, field type: image, widget:image) where contains my image file, you can see in my attachment file article fields.jpg. Now I have a problem to get my image field (link to the image file location) to display, in the auto previews both Content: image (image), Content: Image w description+ (Image w description+) are empty. http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_imagecaption
Master Detail
Format
Format: Unformatted list http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/default/style_plugin | Settings http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/default/style_options
Show: Fields http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/default/row_plugin | Settings http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/default/row_options
Fields
Content: Title http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/title
Content: Add comment link (Add comment link) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/comments_link
Content: Add new tags (Add new tags) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_tags
Content: All taxonomy terms (All taxonomy terms) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/term_node_tid
Content: Authors (Authors) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_authors
Content: Body (Body) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/body
Content: Genre terms (Genre terms) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_genre
Scheduler: Publish on http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/publish_on
Content: Teaser leadin (Teaser leadin) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_teaser_leadin
Content: Type (Type) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/type
Content: image (image) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_imgstylemed
Content: Image w description+ (Image w description+) http://dev.cphpost.dk/admin/structure/views/nojs/config-item/sport_feed_01/default/field/field_imagecaption
------------------------------------------------------------------------------------------
The second problem, Once I create a feed, and change format to Rss Feed -Fields. When I click on the feed tab, it shows a download window to save a file, You can see in the attachment feed.jpg. How can I avoid this to happen so I can edit feed setting again.
Feed Tab
Format
Format: RSS Feed - Fields http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/feed_2/style_plugin | Settings http://dev.cphpost.dk/admin/structure/views/nojs/display/sport_feed_01/feed_2/style_options
Thanks in advance!
Best Regards, Li Xiuqing