![]() |
Widget/General Search Template Modification - Recent Posts
1 Attachment(s)
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: Code:
<div class="cms_widget_post_bit"> 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. |
I liked your modification, and I think my widget looks better now :D
|
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!
|
Installed and looks 100x BETTER!!!
Thanks, Steve |
not working for me in 4.04, any updates?
|
All times are GMT. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|