This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

m.paniez9292
m.paniez9292

Hi, I would like to make a page with some news (for that, with basic configuration, no problem) and I would like to make a scrolling summary of the news in a div (css makes scrolling). So, how can I get the news page content from any page to put a summary in my div (to make my summary, I just use substring function) ?

Thanks

m.paniez9292
m.paniez9292

Hi, Nobody has idea ? Thanks

m.paniez9292
m.paniez9292

Hi, To do my stuff, in create a page (news.htm) and I put in my div a "simple" {% content "news.htm" %}, so OK. But, now, I would like just the beginning, like using {{ str_limit(<content>|raw , 100) }}. So, is it a way to have my content file in a variable and put it in str_limit function ?

Thanks

Last updated

LadyLain
LadyLain

Hi, do you have any info about this issue ?

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.