By CitiGal Mag on
I am hoping that someone can help me out. I am new to Drupal. I am trying to get multiple blogs to show on one page. I created a blogs view and when I preview it I see all 3 test blogs...great....but when I click on my primary link it only shows one. When I go to navigation and click on blogs it shows all 3. I tried moving the blogs link around and when I move it from primary to navigation it seems to create multiple primary links....one for each test blog. Does someone know what I am doing wrong and what is the solution.
Thank you much for your help!
Comments
=-=
in your view, what type of display is in use? if a page display, what is the path you've set?
Multiple Blogs on one page
Thank you for responding.....I am using a page display and the path is mysite/blogs......are you thinking that I should use an extra link to get it off the navigation or do I have something else going wrong
=-=
My thoughts are:
you may be colliding with the blog.modue default path
or one of the links you are referring to is a default blog.module link
For what you are doing, it may be of benefit to forego using the blog.module and create your own blog content type.
Multiple Blogs on one page
That sounds easy enough....but if I am not using the blog module can I still have more than one blog.....the reason I ask is that most of the info on this site seems to lead me to the belief that I can only have one blog if I am not using the module.....am I incorrect?
=-=
when you say "more than one blog" you need to define what that means.
More than one user? more then one blog content type? more then one blog category?
You can continue to persue this with the blog.module
to test
change your view path to blogview
check your links and alter the links as needed to point to blogview
If there is an uneditable link, disable it and create your own.
Multiple Blogs on one page
The other thing that I would mention is that I keep getting this error message...user warning: Duplicate entry 'Blogs' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('Blogs', '', '', 'views_access', 'a:2:{i:0;b:1;i:1;b:1;}', 'views_page', 'a:2:{i:0;s:19:\"recent_blog_entries\";i:1;a:2:{i:0;s:6:\"page_1\";i:1;s:6:\"page_1\";}}', 1, 1, '', 'Blogs', '', 't', '', 4, '', '', '', 0, '') in /homepages/10/d284198106/htdocs/includes/menu.inc on line 2423.
I am not sure what this is referring to.....could this be something that is causing the problem....
Thanks for all of your help!
=-=
certainly possible.
Please follow the example previously given to ensure you aren't colliding with an active modules name space. in this case "Blogs"
Multiple Blogs on one page
Okay.....so I am trying to follow your example.....I went to views and changed the path to blogview, I then went to the Primary links area and added a blogview and I have the same situation. I do not see blogview showing up however when I look under navigation.....and still under navigation when I click on blogs (unless I should have created the new link under navigation instead of Primary) the page displays properly with three test blogs...all 3 titles show up.....3 authors.....and the ability to comment on all 3.....when I am at Navigation the path on the top reads....
Home › Administer › Site building › Menus › Primary links
When I go to Primary links I only get one blog viewed and the path is.....
Home › Blogs › admin's blog
It seems that it is skipping the Blogs and going one link further...
Does this help?
Thanks again!
=-=
yes, you should change all instances of links that to point to the new blog listing (blogview) rather then the default blogview. Drupal is smart but not smart enough to know what you want without telling it. Thus, the default blog link in your navigation menu must also be changed to point to the correct path if you want it linked to the view.
m
Thank you for your help....I finally got it to work.....not exactly sure what I did but it works