Concrete5: How can I display page attributes to specific page types? - concrete5

How can I display page attributes to specific page types in Properties? To avoid confusion to my clients, I don't want irrelevant page types showing up on all pages. Is there a way to achieve this?
I am using 5.6.x version.

Yes, go to Page Types and then click Settings on the page type you can now pick the attributes you want to show. Although all attributes will show down the left hand side of a page these will show in the right ready to change

Related

Dyamic menu links how to

I have a menu block to the right of my content area. I want to be able to click on one of the links and have the content in the content area change, whether that be to advance a nodeque to the matching content type or just diplay a block containing that one content type.
I would usually do this with php, by adding a url variable site.com/data?uid=somenumber to display the data i want on the same page. I don't want to have to create multiple content pages to do this. There has to be a way that the links that are created and displayed in the menu block can just change the content inside the view displayed on the page.
Im a total drupal newb. So any help would be incredibly appreciated.
Thanks in advance.
If your content area is displaying a view, you can definitely do this using views arguments. So, for example, if you want the menu links to vary the view content based on different terms, you can set up your view to expect an argument from the url.
To set it up:
Add a 'Contextual filter' to your view (under the 'Advanced' section)
In my example below, I've added 'region' as my contextual filter, which is just a term reference on my content type
When configuring the contextual filter, set it up such that when the filter is not present in the URL, it just displays all values (that's the default) -- shown in screenshot.
4.
This way, when you first load the page, and no menu item has been selected, all your content will show in the view. Now you'll have to set up your menus to provide the argument, and your view should react appropriately!
Let me know if that works or if you have any questions.

Drupal 7: navigation menu with Views?

I want to make a long page consisting of multiple nodes (each of the same Content Type). The page should have navigation on top of it that will allow to jump directly to the desired point of the long page, kind of like here: http://www.apple.com/macbookpro/features.html (there navigation is under the picture)
I used the Views module to assemble a long page from content, and for navigation I tried to use another View of the same content, only inserted in the top of the page as a block. I set this view to display grid of fields; it looks good. Only I could not figure out how to make each cell in the grid to become a link to the content on the same page.
I tried modifying views template, but there $rows variable turned out to be a string with already assembled html. Maybe I could possibly modify the content template, and insert some sort of condition that will change the way content looks based on what part of the page current view is located, but I am not sure how to do that either.
In the views, edit the field selected, and there are options there to configure the field as hyperlinks how you may want them. Also you can just let the field link directly to the node, there is an option for that. cheers

Different pages for showing different fields of a single node in Drupal 7

Is it possible to elegantly do this? The idea is, a node of content type "project" has a lot of fields, its url is something like node/5. I want to show some of the fields on that page, and others on node/5/extra, kind of an "extended" page that the user only loads if he is interested in that content (lots of images, in my case, that would slow down the main node page considerably).
I tried the Display suite module, unsuccessfully (it seems it's not really meant for doing what I want). I also saw this blog post, which explains how to add a custom display mode to a content type (other than the Default and Teaser ones that come by default), but I can't get it to work the way I want to either.
I guess you could create a view having the node ID as a default argument from URL. Then you can choose which fields to show or hide

Drupal view and exposed filter on different pages

Is there a way to show exposed filter and corresponding view on different pages?
Yes, under Basic Settings change "Exposed form in block" from No to Yes. It will then be available in the blocks administration page (admin/build/block) for you to add to any region of your theme. It will be just like any other block, you can choose for it to display only on certain pages, on all pages, to certain roles, etc.
Your question is pretty vague, what exactly are you trying to do?
You generally specify the pages of a view in the View-GUI. On the left side there is a panel where you can can add pages to your view. You can add as many pages as you like.
To show the view as a component of a normal page (node), you could output the view as a block, then specify an area in the pages content, where the block can be placed.

Drupal: How to show specific view in a particular block

Let's suppose I have created a view that shows some kind of stories.
But I want to show this view in a left-hand bar — not a link to the view, but the view itself.
How can I connect my new view with a fixed block position?
I want to be able to show real view data in various places on my page.
Is it possible or I am limited only to central area and links to views from menu?
Using Views 2.x for Drupal 6.x it's simple to create a block from a view. Every view has a set of 'default' settings and some number of display settings. A display can be a page, a block, a feed or anything else that creative module authors.
To make a block from your view, you just "Add Display" of type "block", override any settings that you want changed in the block (IE - display less items, just a node title, whatever). You then have a block that you can place like any other Drupal block.
edit: Answer to "Can you limit stories to ones that are tagged"? Sure thing. You just add a filter for Taxonomy terms.
Getting a view to display in a block is easy. Once you have created a view and assigned the view as a block position you simply head to blocks in your admin and you'll see the view.
Just select the block and save it. Simple.
If your view doesn't show, check your filters and that the view fields are correct. Usually if they are not showing it is something simple like selecting content published = yes.
You can create views as pages or blocks. As you're not telling exactly which Drupal/Views version you're working with, all I can tell so far is that, after you create the view, you can tell it to display as a block or as a page.
Then go to the blocks settings and set that to the position you want.

Resources