Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Widget/General Search Template Modification - Recent Posts Details »
Widget/General Search Template Modification - Recent Posts
Mod Version: 1.00, by sqzdog (Member) sqzdog is offline
Developer Last Online: Sep 2011 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (1 vote - 5.00 average) Installs: 9
Released: 18 Feb 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

When displaying recent posts from the forum in your CMS, the title of the post is below the text of the post. To me, that just didn't look right.

So, I created a new template and named it vbcms_searchresult_post_toptitle and this puts the title above the content of the forum post. This is the only difference between the stock template and my template.

First, create the new template:

Go to: Style Manager

Select: Add New Template

Title: vbcms_searchresult_post_toptitle

Template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Click "SAVE" and you are done.

Now, just create your widget using the "general search" widget and configure it using the template name: vbcms_searchresult_post_toptitle

SCREENSHOTS:

The first screen shot is the stock template

The second screen shot is the new template.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	old.jpg
Views:	562
Size:	40.7 KB
ID:	112569   Click image for larger version

Name:	new.jpg
Views:	634
Size:	40.7 KB
ID:	112570  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 20 Feb 2010, 00:11
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
I liked your modification, and I think my widget looks better now
Reply With Quote
  #3  
Old 20 Feb 2010, 00:33
sqzdog sqzdog is offline
 
Join Date: Apr 2005
Thank you. It was my first ever mod and just involved moving the code closer to the top of the template. I'm still pleased that it didn't crash my site!
Reply With Quote
  #4  
Old 26 Feb 2010, 21:47
Steverd Steverd is offline
 
Join Date: Sep 2009
Installed and looks 100x BETTER!!!

Thanks,
Steve
Reply With Quote
  #5  
Old 10 Jul 2010, 03:22
dankreiner dankreiner is offline
 
Join Date: Jun 2009
not working for me in 4.04, any updates?
Reply With Quote
Reply


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:01.

Layout Options | Width: Wide Color: