We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to display Blog's picture in NewsFeed? | Forum

Chad
Chad Sep 8 '12
this is the blog post, with picture,
blog's parameter :
Title : "testing blog"
Author : "Sirius"
Content (html) : This is a sample blog post with pictures from other web site.<img src="http://i43.fastpic.ru/...337200af4bae477e.jpg" alt="Dark Shadows (2012) 720p BDRip AC3 x264  -  AdiT" />





so i would like to make the newsfeed look different :

currently its is displayed like this :


the picture is skipped. only text in the post is showed.

and i like to make it into this :


as the img src will appear in the newsfeed for blog updates.

I did this by changing the "data" column of the newsfeed in table newsfeed_action

How can i make it auto ? instead of manually changing the data in database.
Chad
Chad Sep 8 '12
Additional detail:

in database table newsfeed_action , column "Data" , it was

{"time":1347093121,"ownerId":"1","content":"<a href=\"http:\/\/mocc.co\/blogs\/post\/3233\">testing blog<\/a>\r\n            <div class=\"ow_remark\" style=\"paddig-top: 4px\">This is a sample blog post with pictures from other web site.<\/div>","view":{"iconClass":"ow_ic_write"}}


so i add in some codes before the remark div

{"time":1347093121,"ownerId":"1","content":"<a href=\"http:\/\/mocc.co\/blogs\/post\/3233\">testing blog<\/a>\r\n             
<div class=\"ow_newsfeed_large_image clearfix\"><div class=\"ow_newsfeed_item_picture\"><a href=\"blogs\/post\/3233\"><img src=\"http:\/\/i43.fastpic.ru\/big\/2012\/0831\/7e\/6e269f4fbb8e7f26337200af4bae477e.jpg\" \/><\/a><\/div><\/div>  
    <div class=\"ow_remark\" style=\"paddig-top: 4px\">This is a sample blog post with pictures from other web site.<\/div>","view":{"iconClass":"ow_ic_write"}}

the div in bold is the manually added div to display the photo


The Forum post is edited by Chad Sep 8 '12
Chad
Chad Sep 8 '12
which files / class save the following codes into the database?
Purusothaman Ramanujam
You can change the appropriate html files in the views folder.
Chad
Chad Sep 8 '12
do you mean the master_page? in which views folder ?  newsfeed plugin or blog plugin ?
Purusothaman Ramanujam
newsfeed.. controller folder.
Chad
Chad Sep 14 '12
nothing can be modify from the newsfeed controller folder.

the newsfeed's item is store at table news_feed_action , column "data" in the form of array,

inside the "data" column, the array has few keys -> time, ownerid, content, view

i was trying to look for the SQL query that stores data into this "data" column.



Michael I.
Michael I. Oct 4 '12
Hi Chad, I just spoke to our developers and they said that there is no easy solution to approach what you request. That is so because our WYSIWYG has been created to be an universal solution for all software features and there are no divisions for different plugins.


Submit more suggestions and maybe a perfect solution will be found eventually.

HIGH Quality Backlinks
Well a lot of them sample isaac hayes and Maceo Parker. . Try the link below in the sources to see a list of a few that sample isaac hayes tải app Miso88
bilalsonija
bilalsonija Feb 7
I like to recommend every subject material. It is often excellent to clear up you are going to demonstrate around thoughts out of mid but also image quality making use of this priceless subject material is rather easily accepted. gartenpools kaufen
HIGH Quality Backlinks
I would recommend virtually any articles. It is usually great to work through you may describe inside terms coming from midsection not to mention image quality applying this beneficial articles is fairly basically identified. 103100195 routing number
Angel
Angel Feb 11
I find your post so interesting. Thanks for sharing this one! cars fort wayne
The Forum post is edited by Angel Feb 11
bilalsonija
bilalsonija Feb 20
Sea include onto your website page while utilizing see solely solely a little portion submits. Enjoyable strategy for near future, My business is bookmarking presently find models conduct happens absent. buzz craves
HIGH Quality Backlinks
thank you for a really fascinating read, i hope you would do a follow up article considering i can never go through enough on this topic Opini Pix
HIGH Quality Backlinks
Wonderful post, thanks for discussing the data. It isn’t all too often that you simply read articles where the poster knows what they’re running a blog regarding. Grammar and punctuational are spot on too, only trouble We seemed to possess had been mentioning the website, seemed sluggish. Looks like additional visitors experienced exactly the same difficulty? Opini Pix
HIGH Quality Backlinks
Rapidly this website may irrefutably end up being well-known amongst just about all running a blog individuals, because of its persistent content articles or even evaluations. jepangqq
HIGH Quality Backlinks
Rapidly this website may irrefutably end up being well-known amongst just about all running a blog individuals, because of its persistent content articles or even evaluations. jepangqq
HIGH Quality Backlinks
Great post. I was checking continuously this weblog and I am impressed! Very useful information specifically the last section I maintain such info a lot. I used to be seeking this certain info for a very long. Thanks and best of luck. Metabo Flex review
HIGH Quality Backlinks
For that reason it is preferable you will want to similar analyze ahead of generating. You are able to release more effective post like this. 69vn
HIGH Quality Backlinks
This is exactly likewise a terrific print which we honestly dearly loved looking through. It's not actually day by day that we include the risk to figure out an item. Avaliador Premiado
Pages: 1 2 3 »