Jump to content

Clickable links in announcements


motomac

Recommended Posts

Posted

If you add a clickable links into the announcement, they are not clickable:

56bd8e5934362_2016-02-1215.48.28.png.664

56bd8e1222902_2016-02-1215.46.18.png.c6b

Users have to open the announcement to see clickable links. It has no sense to make one more useless click to find a link.

The same with smiles and images.

Posted

If it wouldn’t be done this way, every announcement could break your page layout, since the announcement text in this view is just a preview, which gets cut off when it gets longer. And if you cut off full HTML at a certain point you can potentially break things. 

Posted

Of course I can use TXT & PHP Widget by Pete T, but I would like to use native tools, when it's possible and I don't want to purchase Pages app for such tiny function.

I guess, not many people put long texts into the announcements, so there is no reason to cut them. Announcements were created to attract user's attention on super important things. But currently I can't format announcements at all, use font size, color or even links. And it's sad :(

P.S. As for URLs it's possible to parse them again an make them clickable.

Posted

You are trying to “misuse” the function and complain it doesn’t behave correctly for this “misuse”. The design of the function is very clearly that of a link(!) to an announcement page, just like the latest forum posts blocks and things like that work. There is a headline as a link and a short preview text. Then you are supposed to click it and read the full announcement. That’s how it is designed and meant and for that it works just fine. If you don’t want to link to an announcement page at all and instead just show another link, the announcement feature is just not the right option for you. 

Posted

announcements template

1. Delete ipsContained class

2. 

data-ipsTruncate-type='remove'

change to 

data-ipsTruncate-type='hide'

3. 

{$announcement->truncated( true )|raw}

change to 

{$announcement->content()|raw}

an.thumb.jpg.532843dde0395727db759d2e96c

an2.thumb.png.7267671d1e0006d7d5f6792af5

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...