Drupal Views 6.x-2.x not rendering correctly - drupal-6

I have a view defined in my drupal admin which outputs a blogs listing. The problem is that when I try to view it in the frontend, the listing displays with the mark-up that is appearing when I preview it in the admin and not with the expected one.
I've run drush cc all to eliminate the possibility of a caching issue.
I'm new with drupal and views.
Later edit:
After more investigation I realized that if I run "Rescan template files" in the edit view in admin area, it doesn't pick up the template, it doesn't show in the list.
The view's name is views-view-fields--featured-blogs--page-1.tpl
Any thoughts?
Thanks,
Radu

Related

show administration theme when editing page in drupal

I am using a custom theme for the front end of my drupal website.I created it by modifying garland theme.And I am using garland as the admin theme.
When I try to edit a page from admin it shows the edit page with my custom theme (http://example.com/node/2/edit?destination=admin%2Fcontent%2Fnode). And It breaks up the layout.
I want to show the admin theme for all the admin tasks. This problem also occurs on the blocks page (http://example.com/admin/build/block).
Is there any custom module or core hack to show admin theme when editing pages.
If you want to use admin theme by non-admin users you must give permissions to that user: Permitions->System->View the administration theme
Be sure that you check the option in the page example.com/admin/settings/admin
To get the admin theme showing for non-admin users, I went to admin/people/permissions/list and checked the "View the administration theme" box for all roles.
Sounds simple except that the Filter list wasn't showing that entry when I typed theme, so it took me awhile to find it. Finally I used the browser find to find all instances of the word "theme".
Or, you could type "System" in the Filter list to show only a few options in the relevant category.
You can use admin theme module, download and install it , the go to permission in dmin/people/permissions then in Administration theme set permission to waht user you want by checking Access administration theme.
Then goto http://chapboo.com/admin/appearance in bottom of the page in custom page add
admin/*
node/add/*
node/*/edit
and finally clear the cache
You have to check the checkbox under:
exemple.com/admin/appearance

Drupal: Field of View is not presented on the page that was created by this View

I have an ImageField in my View. It is not exluded from output. It is presented in preview. But when I open the page created by the View - it is not presented there. How can I diagnose this issue ? (all caches are turned off, drupal v6, views v2)
Thanks.
Here are a few ideas that come to mind:
switch to another theme, to see if a theme function is causing the problem
view the page source, to see if the html wrapping the imagefield is there
if the img URL is there, go to that URL directly, to see if you get an error
clear the Views cache, which is on the Tools tab in Views

SharePoint Document Library 404 Error

Help-
Any idea what would cause sharepoint's doc library's tree view navigation to break?
What-
We have a sharepoint site that uses the template Document Center to hold all of our docs. In the master page of the site there is a site hierarchy showing a tree view for all the folders in the document library. When clicking on the folders from the tree view we get a 404 error but navigating to the folder from the document viewer webpart on the child page works fine.
When-
The issue started yesterday when my boss was playing around w/ the appearance of the document library web part's Chrome type trying to add a link to the top to get better breadcrumb navigation when using the folder links in the webpart.
Example:
Clicking on the root folder of the document library named "Documents" goes to this url w/ a 404 Error:
http://portal.domain.net/firmdocs/Documents
Go here we get a listing of the items:
http://portal.domain.net/firmdocs/Documents/Forms/AllItems.aspx
What did I try
We didn't change the name of the doc library recently
I am going to do an IIS reset tonight
Tried changing the chrome type back to what it was w/ no luck.
Checked the master page and child page back up versions from a few months ago and no luck. Also the current fiels have not been edited anytime soon.
Did you modify any of the views for the DocLibray? It could be a link to an invalid view.
This usually happens when the original ListViewWebPart in the view is tampered with in some way.
Check to make sure your boss hadn't accidentally closed the original ListViewWebPart in AllItems.aspx
To do that, navigate to http://portal.domain.net/firmdocs/Documents/Forms/AllItems.aspx?contents=1 (the ?contents=1 is the important part)
You should see only one ListViewWebPart in that list.
The other thing you can try is opening AllItems.aspx in SharePoint designer. Make any change to the page (insert a space in the markup, for example) and save it, clicking yes on the prompt to customize a page from the site definition. Once it's saved, right click on it and "Revert to Site Definition."

Create a menu link to a particular node type in drupal

So, I have created a content type "Vehicle". Basically I create a submission form that allows users to submit vehicle information. So, I want to create a menu link called "vehicle" and it brings me to the page where all the "Vehicle" posts are listed. Is there anyway to do this?
I understand that this is the job of view module. But when I run the instructions on this site, it doesn't seem to fit well with with drupal 6 and the view module I downloaded.
Any ideas?
Use node view module and you can view all posts

Page Layout does not appear in the page layouts list

I have a feature that deploys a few site columns, a content type (inheriting from Page Publishing Content Type) and a page layout based on my content type.
Everything is fine on two tests, performed on different servers, but on the third server, although the feature is being activated correctly and I can see the site columns, content types and the page layout in the galleries, I cannot create a new page based on my page layout because the page layout does not appear in the list of available page layouts.
On all tests I have used the administrator account.
Does anybody have any thoughts on possible reasons for this?
Thanks.
Did you have a look at the "Page layouts and site templates" page under Site Settings? On this page you can enable an option that limits the available page layouts to a specified list of page layouts.
I have worked on a project where we needed to limit the page layouts available on a custom site definition. We implemented this in a feature, that enabled the "limited page layouts" option and populated the list of available page layouts upon activation.
If this is the issue you are having you could simply turn off this option in the web interface or add the new page layouts manually, but you could also consider implementing a feature receiver that automatically adds your custom page layouts to the list of available layouts.
Thank you all for your answers.
What actually happened is that the page layout was, for some reason, deployed as a Master page and not as a Page Layout. The admin has manually changed this and now it works.
This is just an educated guess but check to see if the Page Layout is waiting to be checked-in or approved.
In my case the path for the layout was wrong so the layout itself ended up in a different location, when I corrected that i was able to see the results.
I had added files manually and it did not appear.
When I edited properties of that layout page from UI and saved it, it appeared.

Resources