Forums / Cotonti / Core Labs / Archive / Parse Smilies in...

gamer24.7
#1 2009-06-17 05:37
I think it would be great if we could have a option to parse smilies in titles.
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
GHengeveld
#2 2009-06-17 06:19
Can be done by core hacking. You need to update the title tags in each of the system/core files which use a title tag. Example system/core/page/page.inc.php:
Line 150 change
"PAGE_TITLE" => $pag['page_fulltitle'],
to:
"PAGE_TITLE" => sed_parse($pag['page_fulltitle'], FALSE, TRUE, FALSE),

You should check out the sed_parse function in functions.php for more info.
Trustmaster
#3 2009-06-27 05:17
I don't think it's a good idea for the default package though.
May the Source be with you!
esclkm
#4 2009-06-27 22:59
I agree with trustmaster. You can easy realise it with plugin
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты