edmundk Posted December 12, 2011 Report Share Posted December 12, 2011 Everytime i create a new news entry, there is a new line that divides the news from the old one. It is getting really ugly. Is there anyway possible that i could remove the Divider lines from Each new news entry i create? Would it be better for me to manually add it in the Layout.tpl or can i still use the Phpvms News Creator Looks Sth Like That. Event ________________________________________________________________________________________________ Posted by: jjjj Thank yoance and there will be more events coming very soon ! _________________________________________________________________________________________________ Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted December 12, 2011 Moderators Report Share Posted December 12, 2011 Find <hr> then remove it. Quote Link to comment Share on other sites More sharing options...
edmundk Posted December 12, 2011 Author Report Share Posted December 12, 2011 So after i write the news where do i remove the Hr? There is none in the layout.tpl... Is the news stores somewhere where i need to remove it? Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 12, 2011 Report Share Posted December 12, 2011 /core/templates/news_newsitem.tpl Inside you will see: <p><?php echo html_entity_decode($body);?></p> <hr> Remove the <hr> Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted December 12, 2011 Moderators Report Share Posted December 12, 2011 Go to the core>Templates and copy news_newsitem.tpl to your active skin folder then you will see the <hr> to remove Quote Link to comment Share on other sites More sharing options...
edmundk Posted December 12, 2011 Author Report Share Posted December 12, 2011 Where ?In the layout.tpl? Quote Link to comment Share on other sites More sharing options...
edmundk Posted December 12, 2011 Author Report Share Posted December 12, 2011 And can i keep it there? Or do i need to move it back? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted December 12, 2011 Moderators Report Share Posted December 12, 2011 Keep it in your skins folder then any update will not overwright your custom settings of individual files. The system will look first for any files in your active skin directory and if they are not there then are displayed from the core templates directory. 1 Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 12, 2011 Report Share Posted December 12, 2011 (edited) Removed (sorry Mark) Edited December 12, 2011 by Jeff 1 Quote Link to comment Share on other sites More sharing options...
edmundk Posted December 12, 2011 Author Report Share Posted December 12, 2011 Okay Thanks! So it will go to my Skins instead of the Core one? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted December 12, 2011 Moderators Report Share Posted December 12, 2011 ha seems we keep posting together lol Quote Link to comment Share on other sites More sharing options...
edmundk Posted December 12, 2011 Author Report Share Posted December 12, 2011 ?? So it will read the one in my Skins folder? Lol Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 12, 2011 Report Share Posted December 12, 2011 any template you want to copy into your skins folder will be read before the ones in core/templates If it cannot find a specific template in your skins folder, it will then look in core/templates Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.