Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9156221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:43:50+00:00 2026-06-17T12:43:50+00:00

I have decided to try out the jQuery plugin ‘jCrumb’. What i am a

  • 0

I have decided to try out the jQuery plugin ‘jCrumb’. What i am a little stuck with is how to add my own image as a separator and how to control the name of the breadcrumb it generates.

So I downloaded jCrumb from  http://www.somethinghitme.com/projects/jCrumb/index.html?t=JCrumb%20Page%203

and you can pass options through a function

(function($){
 $.fn.jCrumb = function(options) {
 var settings = {
    maxCrumbs : 4,
    maxMemory : 15,
    defaultClass : 'jCrumb',
    jqUI : false,
    seperator : ">"
  },

the breadcrumbs work ok, as in it follows my navigation, but rather than show the breadcrumbs as this for example

Home / News / Contact

they show like this

Nameofmysite | Home > nameofmysite | News > nameofmysite | Contact Us

Where is the plugin getting the info from and how would i change it to just

Home / News / Contact Us

edit

The title is taken from this method

 def title
 base_title = "Newbridges"
 if @title.nil?
  base_title
 else
  "#{base_title} | #{@title}"
 end
 end

How would i get the plugin to ignore the base title?

Edit

The title is set using this section in the plugin

  setCrumb(document.title + '^' +  window.location.href);

  var crumbs = getCrumbs(),
    crumbVal = "",
    crumbList =  $(document.createElement('ul')).addClass(settings.defaultClass).appendTo($(this)),
    crumbListItem = "";

  if(settings.jqUI){
    crumbList.addClass('fg-buttonset fg-buttonset-single ui-helper-clearfix');
  }

  if(crumbs){
    crumbs = crumbs.split('*');
    startIndex = 0;

I am developing the site in rails, not sure if that makes a difference to any option i have

Any help appreciated

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:43:50+00:00Added an answer on June 17, 2026 at 12:43 pm

    The use of document.title is hardcoded into the jCrumb plugin, which means it will take whatever is set by Rails.

    So you have two options:

    Either change your title method in Rails so it does not prepend the site name to the document title:

    def title
      base_title = "Newbridges"
      if @title.nil?
       base_title
      else
       @title
      end
    end
    

    …or extend or modify the jCrumb plugin so that instead of document.title it uses document.title.split(" | ")[1].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a CakePhp programmer. I have decided to try out the Yii framework.
I am just starting out with Python and decided to try this little project
I have just decided to try out the Android SDK, so I installed it
I have decided to try and learn a little in java tonight and i
I decided to try to my hand at this, and have had a somewhat
I have a working WAMP environment (Apache Friends). I decided to try Subversion and
I have decided to add some validation to my combobox, what I'm trying to
I have started a new web application and have decided to use jquery as
So I decided to try out PostgreSQL instead of MySQL but I am having
I have been trying to change a image in a webpage using jquery and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.