Creating a Drupal view with an RSS feed - drupal

I am very new to Drupal and I need a bit of help. I am working with Drupal 6 (because that is what the site uses).
I was asked to make a View that would display a RSS feed of certain parts of the website and I don't understand how to do this. I know how to create a View and that it must be set as a "feed". But I am not clear about what to do from here. From the examples I have seen (and not entirely understood), it seems you might need to to modify the arguements or fields, but in which way?
Also, what exactly does the "attach to" in the feed settings do?

You will want to create a view, and add a display of type feed using row style: node.
The default behavior will assume you want to include all fields on the node in the feed.
However, you can control the fields that are included in the feed by going to Content Management > [Your content type] > Display fields > RSS. From here there are checkboxes which allow you to select fields for exclusion when being displayed as part of an RSS feed.
The "attach to" setting allows you to select a page or block view on which to display an RSS icon that links to this feed.
Depending on the content you want to include in the feed, you will want to set a filter, most likely on node: type, and node: published.

Related

Mysterious Display & Edit form customization?

I have a custom list in O365, with 2 content types. Displaying/editing items of one content type shows a custom display/edit form, items of the other content type does not.
I did not create this site or list, so I'm trying to figure out how the customizations are done.
I don't see any InfoPath templates in the folders of the list.
SharePoint Designer is showing the DispForm.aspx and EditForm.aspx as
"Default".
I see no form links, when looking at the content types themselves.
What other customizations are possible, where am I not looking?
Thanks
-John
If you have the right permission level, you should be able to go into the list settings, Advanced Settings and select Yes to allow management of content types. Then once you are in the List Settings, you can see the content types available on that list and click into them to view what edits were done there. Normally, most people will hide certain questions or reorder how they are displayed.

Prepopulate Content Type Args when going to /admin/content in Drupal 7

I created a Drupal site. The admins who will be using the site for content management have no Drupal knowledge and I have been tasked with making this as easy as possible for them. I'm creating an admin control panel and I want a quick link that takes them to the admin content page, but with the "content type" prefilled. For example, for content I have pages, events, resources, and testimonials. I want to provide them with a quick link for editing content type EVENTS only. So it would go directly to admin/content with the type filter set to "events". The URL does not currently add args or anything like that.
Anyone know of a way to do this?
yes you can do this- just use this module: Drupal admin views which supports a REGULAR VIEW for admin/content. The View is set to use ajax though- just remove this option and save it and call /admin/content then. There you will see the resulting filters in the URL (you can even set their keys to a value you like inside the view). Set back to use ajax (if you like) and use the keys in the URL for type it's simple just call /admin/content?type=YOURTYPE

Drupal 7: Add view to content type

I've been making a template for a particular content type, but just ran into a problem: I need to embed a view into the content type.
I am aware this can be done via several different methods, but I don't see one that fits exactly my needs:
I need the view added automatically for all pages of that content type.
Using blocks in a region is not an option, as I want to avoid defining a region in the middle of a page that should only be available for a specific content type.
Translatable label.
Possibility to freely apply a template to all fields in the content type (excluding the embedded view).
I tried doing it via page layout (Panels) and simply adding node content fields and the view to my layout regions, but then I get another problem: I can't style my content fields without doing something that seems a bit over the top:
Currently I have about 20 different content fields in the content type that are wrapped in HTML and styled in my template file. I have a translated label for each of these in the template file. From what I can tell I'd have to add a template for each of the panes containing content fields to add my translated labels and HTML needed to style each field.
I'm not really fond of making 20 templates, 20 theme hook suggestions to get the templates to work and 20 regions in the panel layout just to get a view inserted in the content type.
Am I doing something terribly wrong here? Any suggestions?
You may want to try the Viewfield module or similar modules (search for "view field" or "view reference").
If you are doing something more complex like changing/filtering the view based on some value in your content type, then you may have to use Viewfield module in combination with something else that will help fill in the filter values.
I've never done something like this before so I'm not sure exactly what module combination would work but Rules or Computed Field come to mind as possible helpers.
You have to use "views node field" http://drupal.org/project/viewsnodefield, after installing this module you have to select the "Node content" in the display (like blocks,page). then click the add display. if you want to display the content like this page http://www.richtown.ae/?q=content/arabian-ranches then you have to download the views_galleriffic module and install it and choose the style option "Galleriffic Gallery". You can choose the content type by using the filter in the views.
That's it cheers
i implemented this in my website richtown.ae
if you still unclear please send me the email social#richtown.ae i will reply you & ready to help you we can share information
i am using this module in drupal 6.
I resorted to using the EVA module ( http://drupal.org/project/eva ).
In addition to Woodgnome's answer
Let's say you have a content type named 'Product'
You want to attach a view to it.
Here are the steps using the eva module :
On your view edit page :
Section Displays
+Add : Eva field
Section ENTITY CONTENT SETTINGS
Entity type:Node
Bundles:Product
That's it, going to a node product type will now display the view

Add Custom Field to Criteria in ATTopic

How do I add a field, say 'Contributors' in Archetype types, to be listed in Field name drop down menu? For example, in a fresh new Plone site, I can manage criteria at events/aggregator/criterion_edit_form. I want 'Contributors' and custom fields to be added as criteria.
BTW, I ever look into Products/ATContentTypes/tool/topic.py, it seems that I have to addIndex and make it 'enabled=True'. But how? Or do I go into wrong direction?
/marr/
You can go into Site Setup and go to the collections configuration(or just append /portal_atct/atct_manageTopicIndex onto the site url) and manage which which are allowed to be used in collections.
You'll have to click the "All fields" button to see everything available. The caveat is that the only fields available are those that are indexes in the portal_catalog. So for your case, you'll need to add a contributors index in the portal_catalog in order to have it available in the form here.

Custom fields in WordPress RSS feed

I have 2 custom fields in my WordPress system when creating new posts. One is called homethumb (is the title of an image) and another called description.
I would like to edit the RSS feed so it shows the image and the description rather than the complete post.
But I don't know how to do this. I would like to fetch that RSS with simple pie to integrate it on another website (sort of auto-submit system).
You also have
do_action('rss_item')
that runs in the loop for every item in the RSS feed.
Hook in to that and output anything extra you need in to the feed item.
To show the excerpt instead of the entire article, go to "reading" in Settings section of your admin menu and half way through the options there's a setting to use excerpts instead of full text.
No plugins required. Just a little custom programming.
Custom fields for Feeds Wordpress plugin
This puts images or videos into your feeds through the use of custom
fields. You can alter the custom field Keys and what is displayed.
Update 11/27/2015: The plugin is old, but the site says it still works
I found some tutorials on how to add things to your rss reader, so I fixed this.
it's in french -> http://www.webinventif.fr/wordpress-ajouter-du-contenu-dans-son-flux/
Here is another option if you want to display anything other than images and videos in your feed: http://wordpress.org/extend/plugins/rss-custom-fields/
All of your custom fields will now be displayed in your feed.
Further options to be able to select which custom fields display in a feed will be available in subsequent releases of the plugin!

Resources