vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2012, 05:38 AM
andreyjkee andreyjkee is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Default News Module, Pagination by center

How i can move pagination to center?
http://img205.imageshack.us/img205/4805/11edg.jpg
The default is right-aligned.
Reply With Quote
  #2  
Old 04-19-2012, 07:39 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,157
Default

You'd want to edit the template and center the html bits.
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #3  
Old 04-20-2012, 01:26 PM
andreyjkee andreyjkee is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Default

Quote:
Originally Posted by Zachery View Post
You'd want to edit the template and center the html bits.
Thank you Captain Obvious!

What is the specific template and what needed to change?
Reply With Quote
  #4  
Old 04-23-2012, 12:41 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You would need to look for this code within your modules/news.php file and adjust the code there.
PHP Code:
$home[$newsmod['modid']]['content'] .= '<div style="padding-bottom: ' $vba_style['portal_vspace'] . 'px">' $newspagenav '</div>'
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #5  
Old 04-23-2012, 12:55 PM
andreyjkee andreyjkee is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Default

Quote:
Originally Posted by Brian View Post
You would need to look for this code within your modules/news.php file and adjust the code there.
PHP Code:
$home[$newsmod['modid']]['content'] .= '<div style="padding-bottom: ' $vba_style['portal_vspace'] . 'px">' $newspagenav '</div>'
Thank you for response, i trying change this code to:
PHP Code:
$home[$newsmod['modid']]['content'] .= '<div align="center" style="padding-bottom: ' $vba_style['portal_vspace'] . 'px">' $newspagenav '</div>'
But no see changes
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pagination question news.php/module... Meebie Troubleshooting & Problems 1 06-30-2008 05:30 PM
Pagination on News Module (Not same bug fixed in 3.0.1)! Reinhart Troubleshooting & Problems 1 06-12-2008 10:47 AM
News Module Pagination Question NFCN Editor "How Do I..." Questions 6 02-12-2008 01:23 PM
News Module Pagination blastup Troubleshooting & Problems 2 11-26-2007 02:13 PM
Pagination for the news module? WiBu Modifications (version 3.x & 2.x) 6 06-13-2007 07:27 PM


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

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.