Forums | Mahara Community

Support /
[16.04] Access to collection description for shared collection


Emilie Lenel's profile picture
Posts: 112

15 May 2017, 23:34

Hello

We're facing difficulties to access to collection descriptions for shared collections.

Indeed, when i browse a user, i can see the list of collections shared with me, but the description is truncated, and if i click on the collection link, i can't view its description.

How to access the collection description ?

Thanks for your support,

Emilie

 

collection.png.1

Kristina Hoeppner's profile picture
Posts: 4730

16 May 2017, 12:50

Hello Emilie,

I don't think there's a way at the moment to show the full description for pages and collections. I created a bug at https://bugs.launchpad.net/mahara/+bug/1690961

On your instance, you could play with the truncation and let it start after more characters in the interim.

Cheers

Kristina

 

Emilie Lenel's profile picture
Posts: 112

16 May 2017, 20:47

Hello Kristina

Thanks for the bug creation on launchpad

We'll increase the nb of caracters in the interim,  do you have any idea about which script is performing this truncation ?

Thanks

Cheers

Emilie

Robert Lyon's profile picture
Posts: 757

16 May 2017, 21:41

Hi Emilie,

Chances are the truncation is being done as part of the template

Try looking in the htdocs/theme/raw/plugintype/blocktype/myviews/templates/myviewspaginator.tpl for the line with

{$view.description|str_shorten_html:100:true|strip_tags|safe}

The 100 means the description is being truncated to 100 chars

A search for 'str_shorten_html' will show the places where data output is truncated to fit certain areas.

Cheers

Robert

 

4 results