MyBB Community Forums

Full Version: How to limit title length in breadcrumb?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do I create a limit title on a breadcrumb like this?
You can modify _generate_breadcrumb() method in page class and limit the length of $crumb['name']
Or you can use jQuery.

I am not aware of your programming knowledge and whether this much information is sufficient or you need further guidance.
(01-09-2019, 07:28 AM)effone Wrote: [ -> ]You can modify _generate_breadcrumb() method in page class and limit the length of $crumb['name']
Or you can use jQuery.

I am not aware of your programming knowledge and whether this much information is sufficient or you need further guidance.

I need more detailed instructions because I can't use a programming language.
(01-09-2019, 07:28 AM)effone Wrote: [ -> ]You can modify _generate_breadcrumb() method in page class and limit the length of $crumb['name']
Or you can use jQuery.

I am not aware of your programming knowledge and whether this much information is sufficient or you need further guidance.

Or...

He/She can use the Advanced Sidebox plugin and define the length of the thread title to whatever he/she wants and it will end in an ellipsis. 

I think a few other "Latest Threads" sideboxes will do the same thing as well.
(01-09-2019, 12:25 PM)Serpius Wrote: [ -> ]
(01-09-2019, 07:28 AM)effone Wrote: [ -> ]You can modify _generate_breadcrumb() method in page class and limit the length of $crumb['name']
Or you can use jQuery.

I am not aware of your programming knowledge and whether this much information is sufficient or you need further guidance.

Or...

He/She can use the Advanced Sidebox plugin and define the length of the thread title to whatever he/she wants and it will end in an ellipsis. 

I think a few other "Latest Threads" sideboxes will do the same thing as well.

can't it be done without using a plugin?
(01-10-2019, 02:25 AM)Kygo Wrote: [ -> ]
(01-09-2019, 12:25 PM)Serpius Wrote: [ -> ]
(01-09-2019, 07:28 AM)effone Wrote: [ -> ]You can modify _generate_breadcrumb() method in page class and limit the length of $crumb['name']
Or you can use jQuery.

I am not aware of your programming knowledge and whether this much information is sufficient or you need further guidance.

Or...

He/She can use the Advanced Sidebox plugin and define the length of the thread title to whatever he/she wants and it will end in an ellipsis. 

I think a few other "Latest Threads" sideboxes will do the same thing as well.

can't it be done without using a plugin?

Maybe, but you have to know coding/programming in order to modify the code to your liking.