motomac Posted February 12, 2016 Posted February 12, 2016 If you add a clickable links into the announcement, they are not clickable: 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.
opentype Posted February 12, 2016 Posted February 12, 2016 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.
Daniel F Posted February 13, 2016 Posted February 13, 2016 An alternative would be to use the WYSIWYG widget from the pages application
motomac Posted February 19, 2016 Author Posted February 19, 2016 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.
opentype Posted February 19, 2016 Posted February 19, 2016 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.
newbie LAC Posted February 27, 2016 Posted February 27, 2016 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}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.