I'm looking
I see your website... i will soon register, i found some great mod in
--------------- Added [DATE]1339614103[/DATE] at [TIME]1339614103[/TIME] ---------------
Question :
my Template Name is :
vbcms_widget_recentarticle_page
i understand that i have to find the code before... but where ?
I search in "Style Manager=> Search in templates => Search in all Styles" for "
previewtext" to add :
$view->previewtext = strip_tags($view->previewtext);
but nothing
--------------- Added [DATE]1339621026[/DATE] at [TIME]1339621026[/TIME] ---------------
ok i found in article.php (version 4.2 of vb) :
$view->previewtext = $this->content->getPreviewText(false, false);
so :
$view->previewtext = $this->content->strip_tags(getPreviewText(false, false));
=> Fatal error: Call to undefined method vBCms_Item_Content_Article::strip_tags()
oops
--------------- Added [DATE]1339657958[/DATE] at [TIME]1339657958[/TIME] ---------------
Ok i found the solution
here is :
It's in : /vbcms/widget/recentarticle.php
change line 365 :
$article['previewtext'] = strip_bbcode($pagetext);
in :
$article['previewtext'] = strip_tags($pagetext);