Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #31  
Old 25 Jun 2012, 08:22
johnnymc7 johnnymc7 is offline
 
Join Date: Nov 2010
Hi Lynne, thanks for the reply.

I only have one style its the default style with some changes. Ive edited block_cmsarticles in vbulletin and then I edited /includes/block/cmsarticles.php in my text editor. I can see all edits when I look there so Im really confused
Reply With Quote
  #32  
Old 25 Jun 2012, 16:12
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around that part of the code. What is the template name that surrounds that widget?

Then
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #33  
Old 25 Jun 2012, 19:05
johnnymc7 johnnymc7 is offline
 
Join Date: Nov 2010
This is what I got when I did that Lynne

<!-- BEGIN TEMPLATE: vbcms_widget_recentarticle_page -->
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img alt="" src="images/cms/widget-forum.png" /> Recent Articles</h3>
</div>
<div class="cms_widget_content widget_content">

<div class="cms_widget_post_bit widget_post_bit">
<div class="cms_widget_post_userinfo widget_post_userinfo">
<div class="cms_widget_post_useravatar widget_post_useravatar">

<img alt="" src="images/misc/unknown.gif" />

</div>
</div>
<div class="cms_widget_post_comment widget_post_comment">

<h4 class="cms_widget_post_header widget_post_header"><a href="http://www.irishdrumandbass.com/content.php?125-Pessimist">Hertz-U Presents Pessimist 29/06/12</a></h4>

<div class="cms_widget_post_content widget_post_content"><br />
<br />
Hertz-U Soundsystem are back after a brilliant night at Fierce in April and after upsetting the neighbours... <a href="http://www.irishdrumandbass.com/content.php?125-Pessimist">read more</a></div>

<a href="http://www.irishdrumandbass.com/content.php?125-Pessimist" class="lastpostdate understate" title="Go to last post"></a>



<div class="searchstats">
<h4 class="searchlastpostlabel">Categories: </h4>

<a href="http://www.irishdrumandbass.com/list.php?category/43-News">News</a>&nbsp;

</div>



</div>

</div>

</div>
</div>
</div>
<!-- END TEMPLATE: vbcms_widget_recentarticle_page --></li>

<!-- END TEMPLATE: vbcms_widget_column --></ul>
Thanks for all the help!
Reply With Quote
  #34  
Old 25 Jun 2012, 23:59
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Then this is the template you needed to modify - vbcms_widget_recentarticle_page . Your's is a cms widget. This thread started out talking about forum blocks. So, you will need to make the appropriate changes to the widget code and widget templates, not the block code and block templates.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #35  
Old 26 Jun 2012, 18:12
johnnymc7 johnnymc7 is offline
 
Join Date: Nov 2010
Hi Lynne sorry I took this up wrong. I found code that Dead Eddie put up and it was exactly what I was looking for. Thanks for all your help :-)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 04:34.

Layout Options | Width: Wide Color: