I am trying to customize my Views row style output. Everything seems to work and my live preview shows the correct display, but when I go to the the node that the view connects to nothing is changed. I tried a couple different themes in case that was the issue, but still nothing. Anyone have an idea?

Comments

nevets’s picture

My guess is the view expects arguments, the view is not a page view and the arguments are not defaulted correctly.

burtsbees’s picture

The view is a page view. I don't have any arguments.

mtsanford’s picture

Your question is way to ambiguous. Connects to? You have a much better change of getting useful replies if you describe your view in detail, or post a link to a picture.

burtsbees’s picture

Ok I will try to describe it a little better. This is a page view. is what the page view looks like. the file in brackets under theme info is the one I put into my theme's folder to edit.

Basic settings
Name: Page
Title: None
Change settings for this styleStyle: Grid
Change settings for this styleRow style: Fields
Use AJAX: No
Use pager: No
Items to display: 20
Distinct: No
Access: Unrestricted
Caching: None
Exposed form in block: No
Header: None
Footer: None
Empty text: None

Theme: Information
# Row style output: views-view-fields.tpl.php, views-view-fields--travelstory.tpl.php, views-view-fields--.tpl.php, views-view-fields--default.tpl.php, [views-view-fields--travelstory--default.tpl.php]

Page settings
Path: node/4
Menu: No menu

# Row style output: views-view-fields.tpl.php, views-view-fields--travelstory.tpl.php, views-view-fields--.tpl.php, views-view-fields--default.tpl.php, [views-view-fields--travelstory--default.tpl.php]

Relationships
None defined

Arguments
None defined

Fields
Content: Places Default
Content: Length of Default
Node: Post date Post date
User: Name Name
Node: Teaser Teaser
Node: Title

Sort criteria
None defined

Filters
Content: Europe has word Europe

Like I said, when I make changes, they display properly in the live preview section. When I go to the path there are no changes made. Does that help?

les lim’s picture

You can't use the Path settings in Views that way. When Views asks you to set a path for a Page view, it's asking you for a unique URL path in which to display the view. Just like when you enter a unique URL alias for a node when you create new content.

If you want to "attach" the view to a existing node, you should make a "block" display. Then, in Admin > Site Structure > Blocks, you would configure that block to appear on "node/4", save it, then assign it to a region.

burtsbees’s picture

Thanks. I'm learning more everyday.

jpstokes’s picture

Make sure that your not only updating the view. You have to also save the view as well before the changes will take effect. That's one of those opps..but I've done it myself a few times. Update and then save.