I'm sorry if this is a duplicate, but I couldn't find a solution to this:

I need to remove the "Quotes Page" and "By Author" links at the top of the Quotes page display. I am using the module for client testimonials and don't need to display quotes by author.

Thanks in advance for any help!

Comments

ctmattice1’s picture

Instead of using the quotes page try setting up a quotes block.

Look at the quotes settings page to determine what options you want and to setup you block or blocks. Then enable them in the blocks module.

mgladding’s picture

I have a block on the homepage displaying a randomly generated testimonial (works perfectly!) But my client wants the block to link to all the testimonials. Perhaps I could create a separate view for the page display?

secretwep’s picture

mg,
I was also having the same problem and looked everywhere to switch this behavior off. I had already entered a fair number of testimonials and I didn't want to re-do this functionality and data in CCK and Views.

I was able to circumvent the problem in an unadulterated, non-future proof hacking sort of way by removing the following from the quotes.module file found in the modules/quotes directory:

  $items['quotes/author'] = array(
    'title' => 'By author',
    'access arguments' => array('access quotes'),
    'page callback' => 'quotes_page',
    'page arguments' => array(1, 2),
    'type' => MENU_LOCAL_TASK,
    ); /* */

-john

spidersilk’s picture

For a CSS-based solution, add the following to your theme's stylesheet:

body.page-quotes div.tabs{
	display: none;
}

Still kind of kludgy, I know, but at least it won't be overwritten when the module's upgraded.

A custom view is probably a better solution, but more work.

Really, it would be better if the next version of the module included the ability to disable the tabs in the settings. Pretty please, oh mighty module maintainers? :-)

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Committed to 6.x-1.x-dev. There is now a setting to turn off the quick nav tabs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.