Not Solved [How To?] How to limit title length in breadcrumb?
#1
Not Solved
how do I create a limit title on a breadcrumb like this?


Attached Files Thumbnail(s)
   
Reply
#2
Not Solved
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.
Reply
#3
Not Solved
(2019-01-09, 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.
Reply
#4
Not Solved
(2019-01-09, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#5
Not Solved
(2019-01-09, 12:25 PM)Serpius Wrote:
(2019-01-09, 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?
Reply
#6
Not Solved
(2019-01-10, 02:25 AM)Kygo Wrote:
(2019-01-09, 12:25 PM)Serpius Wrote:
(2019-01-09, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)