Drupal 7 book-module: how to add tables and remove tabs? - drupal

I'm new to Drupal and trying to create a book to be used for my site's FAQ.
I have 2 simple questions please:
How can you get rid of the tabs listing every single page of my book or at least reduce the number of shown tabs to 3-4, so that there is no "stack overflow" as shown in the screenshot below?
I don't see these "tabs" anywhere in Home >> Administration >> Structure.
In one book page I need to create a table. How could I enable tables (HTML-tables?) in book pages please?
I go to Home >> Administration >> Content >> Books and then?
Or should I go to Home >> Administration >> Structure, then Book page - edit and then?
I'm reading a lot of Drupal docs, but for some questions like these ones you just need someone in person to answer them...

Are you sure that you haven't added them yourself?
When creating content, there is a "Provide a menu link" checkbox in the Menu settings. If that is checked, then you will get these links.
If you don't want them, just uncheck that checkbox or remove them at admin/structure/menu/manage/main-menu

I've found how to get rid of the tabs: go to Home >> Administration >> Sctructure >> Menus, then Settings tab and select "No Main Links" (to get rid of the tabs) and "No Secondary Links" (to get rid of links in the top-right corner) there.
I've also submitted a minor bug there.

Related

How to select Icon from umbraco

I am following the Umbraco Tutorial on Our.Umbraco. I've gotten to the part where we just finished creating a master page and now we are using it to create new pages.
https://our.umbraco.org/documentation/Tutorials/Creating-Basic-Site/Creating-Master-Template-Part-2
I am confused by this step
Firstly let's select an Icon - type the word "Content" into the filter and select the document icon. In description type "A simple content page". Click Save.
I honestly have no idea what this is talking about. I've followed each step successfully until this part. What filter is it talking about?
I followed the step before it just fine.
Go to Settings > Document Types (hover) > ... > + Create > Document Type . Let's create one called "Simple Content Page".
Am I supposed to hit 'save' now or is this filter on this Docuemnt Type creation section?
Here is a photo of where I am at.
The first comment is telling you to change the icon for your Document Type. This is the icon that will be used in the content tree for pages of this type. To do this just click on the icon next to the name and description fields.
The filter is just the search box that you can use to filter the icons.

How do I add a module to the text of a basic page in drupal 7?

How do I add a module to the text of a basic page in drupal 7 ?
I need some help. I am having some problems with the drupal donations module
I have done this before on this web site
http://www.arguemax.com/_drupal-7.26/content/donate-using-paypal
But now I can;t remember how I did this.
How do I put this module on a page I am creating? When I go to create the page, there does not seem to be an option to past complex tables or controls on it. I just has a large empty text area to edit the body of the text
I thnhk this is a simple thing.
I was able to find the setting for
Home >> Adminstration >> Configuration >> Web Services == PalPal donation
and that set up the control
So I know it is ready to plop into the page
How do I plop it into the page? I remember there was something like a button bar associated with the text editor for the page that allowed me to add complex items like tables and like this particular module.
As can be read in that module's Documentation, the module creates two blocks.
The steps you need to follow:
Create an empty node of any content type. You can alter the URL and attach it to a menu item as well.
Go to admin/structure/block and find the blocks your module provides.
Hit "configure" on one or both of them.
In each block's settings, in the "pages" section (bottom of your screen) select "Only the listed pages" and enter the url of the empty page you created before.

Drupal 7 "Active forum topics" modify block/view

On the main page of my drupal 7 website I have a a block called "active forum topics. At the moment only the topic title is shown in the preview:
Is there a way to modify this block? I want to add more content to this block like author of the topic, related forum, date/time, maybe number of posts.
Thanks in advance
Well I actually have an answer for this, after looking to do it myself, I found the "view" for the "Active Forum Topics" page (the forum tab page that generates active forum topics). From that view I added a block, which now allows you to create a block from that existing view - with whatever items you want in there.
Assuming you are using advanced forum - this view is at: admin/structure/views/view/advanced_forum_active_topics
Where is says "displays" click the (+add) button and choose block. From there it is pretty straight forward if you know how to use views.

Node gets deleted when author is set to blank in Drupal 7

I am currently working on Drupal site using Joomlart template JD Fashion.I have inserted the articles using content type as story. I don't want to display name of author and publishing date and time for the articles.
For this I have simply edited the node,expanded the Authoring Information section near the bottom of the page, and changed the Author name to blank.
But when I save this configuration for the article promoted to front page which was made sticky at top it show's "Page not found" error and on frontpage "n/a" appears where first article was.
When I tried to undo changes the node does not appear in any category at all.It is also does not appear in published or unpublished status.
I am sure that I have just deleted author information.
What went wrong? Is their any way to resolved page not found error?
Please help me...
Thanks in advance.
Here is what you need to do. Do not delete the author but instead go here:
Structure->Content Types->Articles and click edit
From here at the bottom you will see "Display Settings"
Click this and uncheck "Display author and date information."
Here is an answer for the question. For removing author and date information in Joomla art themes you have to go to admin->site building -> themes -> your theme -> configure -> configure -> here you will find "Display post information on" -> uncheck story or your content type.

Controllling Drupal's active/active-trail with duplicate menu items

I'm developing a site that requires some duplication of links within the menu:
Section A
-- Introduction
-- Testimonials
Section B
-- Introduction
-- Testimonials
Testimonials
-- Section A
-- Section B
So 'Section A > Testimonials' and 'Testimonials > Section A' point to the same node. But regardless of which menu link people use, I want the person to be in Section A.
The problem is that D6 doesn't like duplicate menu items, and it assigns the active and active-trail classes rather unpredictably.
So my thought was to create a placeholder node for each item in the Testimonials menu, and then set the URL to something like "testimonials/redirect/section-a", and then use mod_rewrite to redirect over to "section-a/testimonials".
With this solution, I will have no duplicate paths in the menu. I'm just hoping this doesn't somehow hurt my SEO.
Does anyone know a better solution?
I also have this problem. When multiple menu items link to the same content, Drupal will use the item with the lowest menu id as canonical - no matter which menu link you click, you'll get the active trail for the lowest menu id.
The best way I know to fix it, which I don't like, is to point your non-canonical menu items to a node that will redirect to the node you want (you could use the php input filter with a drupal_goto, or something similar)
Unfortunately, the path_redirect module will not solve this problem as the redirect paths it creates cannot be used as menu items.
I'm not sure why there aren't more people with this use case in d6 - it's pretty common in my experience to want top level menu items to point to the first child, and to want to set active trail to the first child.
nodesymlinks module solves the reverse use case - it allows you to set up multiple menu items, each with its own path, pointing to the same node. so, depending on which link you click in the menu, you get a different active trail. this module would be a good model for a "canonical menu item" module.
We had the same problem in our project and we managed to have the active trail working correctly setting in each duplicated menu item a "#n" at the end. For example:
Section A
-- Introduction -> node/1#1
-- Testimonials
Section B
-- Introduction -> node/1#2
-- Testimonials
Testimonials
-- Introduction -> node/1#n
-- Section B
is not the prettiest solution but definitely the faster one :) The only inconvenient we found is that if a user click first in "Section A -- Introduction" and right after in "Section B -- Introduction" the page will not be reloaded.
Hope this help
Multiple Node Menu might do the trick:
This module modifies the "Menu settings" in standard node editing form
to allow managing multiple menu links to a node. The Drupal standard
behavior is to only care about a single menu link for anode, all other
menu links must be added through menu administration.

Resources