Support Forum
you have lost me.. are you saying you had actually modified core code? bad idea as you lose changes on updates... and all those functions in that file are called from your theme... you put the number of chars you want to truncate the title to in the template functions usage... and you can tell it not to shorten at all...
not sure what you mean by $...
Visit Cruise Talk Central and Mr Papa's World
so you didnt make the changes in post 4 - 9??? then confused as to what issue was, and what you did to solve it before that you said is now broke... so perhaps explain the issue?
Visit Cruise Talk Central and Mr Papa's World
yes i made those changes but that was then (16-08-2012)
now after many updates i dont see any number but the value $length
i mean instead of
sp_create_name_extract($forum->forum_name, 20)
i see
sp_create_name_extract($spPost->forum_name, $length)
i guess my changes were overwrited after an update.
but now i have the problem as the image in the first post.
so i guess i have to set that length somewhere or am i wrong?
so same thing would apply for a code change... just change $length to the number you want... but again, core code changes are bad...
just pass the # you want for the length... for the quicklinks new topics (based on what you said in post #13), see: http://codex.simple-press.com/.....inkstopic/
and just pass the length you want in the function... the function is in your spHead.php template file in the theme you are using...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)