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 02-05-2012, 08:28 PM
inciarco inciarco is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Question How To Use/Display News PageNav $newspagenav in Navbar Template on Home Page

How To Use/Display News PageNav $newspagenav in Navbar Template on Home Page cmps_index.php

Hello vBadvanced Team.

How Can I Use/Display the PageNav of the News ($newspagenav) on the NavBar Template on the Home Page (cmps_index.php THIS_SCRIPT 'adv_index')?

As the News Module is Displayed (if Selected) on the Home Page, it has its Own PageNav that can be Displayed on the Module ($newspagenav), but I Haven't Been Able to Use that PageNav on the NavBar or in Other Location Different than the News Module.

What Plugins Should I Create and What Edits Should I Make on the News.php and Other vBadvanced Files, to Be Able to Use the $newspagenav Variable (or other Variable that Contains its Info of the News PageNav) on the NavBar Template?

I Appreciate Your Help and Guide.

My Best Regards.

Reply With Quote
  #2  
Old 02-07-2012, 02:05 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Admin CP => vBa CMPS => Default Settings => Main Options => Process PHP File Modules Within A Function

Make sure that setting is disabled, then you *may* be able to just add the $newspagenav variable to your 'navbar' template.
__________________
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
  #3  
Old 02-07-2012, 03:24 PM
inciarco inciarco is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Question

Quote:
Originally Posted by Brian View Post
Admin CP => vBa CMPS => Default Settings => Main Options => Process PHP File Modules Within A Function

Make sure that setting is disabled, then you *may* be able to just add the $newspagenav variable to your 'navbar' template.
Thank You For Your Reply, Brian.

I Disabled the Option but when I used the Variable $newspagenav on the NavBar Template and Browse to the Home Page (where the News are Displayed) they didn't Show.

How Can I Copy the Value of the Variable From the News.php Page to the Home Page cmps_index.php?

How can I Perhaps Globalize the Variable or Another Variable where I Copy its Value, and then Use the Globalized Variable on the Home Page cmps_index.php?

I Appreciate Your Help.

My Best Regards.

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
Display page name anywhere in template sean "How Do I..." Questions 4 02-22-2011 10:50 AM
How do I only display the navbar in the adv_portal template for certain pages? Spinball "How Do I..." Questions 5 10-20-2009 11:16 AM
pagenav in news module mark737 Modifications (version 3.x & 2.x) 2 06-04-2008 08:16 AM
Columns display on HOME page but not on integrated FORUM HOME LenB Troubleshooting & Problems 6 01-13-2008 03:11 PM
How can I get the forums/home in my navbar if I have images in my header template? GamingVidz.com "How Do I..." Questions 14 08-05-2005 04:55 AM


All times are GMT -4. The time now is 03:42 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.