Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Remove Issue numbers from mod_latest_issues display? - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Remove Issue numbers from mod_latest_issues display?


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

11 years 5 months ago - 11 years 5 months ago #1 by jvs
Is it possible to remove the Issue numbers from mod_latest_issues? We don't use them so there is no need to display them on the front end.

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

11 years 5 months ago #2 by geoffc
Yes you can remove the issue numbers from being displayed in the mod_latest_issues but you will have to modify the code in the default.php template.

In the file tmpl/default.php

Change line 18 (to increase the possible length available by an appropriate value) so that it reads something like as follows:

$length = $params->get('length',35);

Comment out or remove lines 32 and 33, which are for the header line.

Then to remove the number itself. Change line 44 so that it reads as follows (all one line):

&lt?php if (strlen($item->issue_summary > $length )) { echo substr($item->issue_summary, 0, $length) . $_more; } else { echo $item->issue_summary; } ?>

Also change line 47 so that it reads as follows (all one line):

&lt?php if (strlen($item->issue_summary > $length )) { echo substr($item->issue_summary, 0, $length) . $_more; } else { echo $item->issue_summary; } ?>

Note that I have not specifically tried this, but from looking at the code it should be all that is required. Any problems please let me know.

Edited by geoffc - 09.11.2012 10:31

Regards
Geoff

Please Log in or Create an account to join the conversation.

11 years 5 months ago #3 by geoffc
We have implemented your request into an updated release of the latest Issues Module v 1.0.1 which is available in the download area.

The module also now permits the (optional) display of the project name immediately prior to the 'Close date'.

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.142 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries