• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Problem with blog loading time

Started by mihai,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mihaiTopic starter

I want to know how to remove the article content from the blog.php becouse when i load the /blog page all the article contents  are loading in 1 page(/blog) and i want to remove this
<?php foreach ($posts as $ar) {
echo '
<li>
<div class="block block-inline">
<div class="box-generic">
<div class="media margin-none">
<a class="text-primary" href="'.article_url($ar->pid, $ar->title).'" title="'._html($ar->title).'"><h5 class="strong">'._html($ar->title).'</h5></a>
<div class="row-fluid blog-holder">';
if(isset($ar->pic) && !nullval($ar->pic)) {
echo ' <div class="blog-image">
<div class="text-center ">
<a href="'.article_url($ar->pid, $ar->title).'" title="'._html($ar->title).'"><img src="'.thumb_fix($ar->pic).'"></a>
</div>
</div>';
}
echo ' <div class="blog-text">
'._html(_cut(strip_tags($ar->content),560)).'...
</div>
<a class="pull-right btn btn-default" href="'.article_url($ar->pid, $ar->title).'" title="'._html($ar->title).'">'._lang("More").'</a>
</div>
</div></div>
</div></li>';
}
}
?>

What should i remove to no longer have that article-content on my /blog page
  •  

Marius P.

Isn't it clear?

<div class="blog-text">                     
                     '._html(_cut(strip_tags($ar->content),560)).'...
                     
                  <>
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

That's exactly what i removed so i thought that will work but i had a white page as result.
  •  

mihaiTopic starter

OOOOOH!!! I see the problem
it must be echo 'content'
at me was echo content'
Tx!!!
  •  

Marius P.

Some php syntax basics reading would help you ;)
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

 

Similar topics (7)

Troubleshoot problems

Started by Marius P.


Replies: 13
Views: 11826

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 36929

Search problem on mobile for v5

Started by mihai


Replies: 1
Views: 1549

2 Problem for EDGE

Started by sowieso


Replies: 1
Views: 1717

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 20331

The problem of text chatting PHPVibe 5.0.

Started by Nayn


Replies: 4
Views: 4979

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 47602