Support Forums

How to change a smarty variable

This is a discussion on How to change a smarty variable within the Customizations forums, part of the Developer Forums category; Hi, I am using the news script and i want to change a variable I have this variable {$next} which ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 11-22-2009, 12:55 PM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 19
damiun is on a distinguished road
Default How to change a smarty variable

Hi,

I am using the news script and i want to change a variable
I have this variable
Quote:
{$next}
which is
Quote:
mod=faq&page=HERETHENEXTPAGE
But i want to delete the
Quote:
mod=faq&page=
part and only have the page number, how can i change that variable?

Dominick
damiun is offline   Reply With Quote
Old 11-23-2009, 10:16 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You would have to use mod_rewrite to change the mod=faq because that is required by the script to tell it which modules to load.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Noads Variable JP2 Designs Technical Support 4 11-19-2009 06:56 AM
If Variable contains bowers01 Technical Support 1 09-28-2009 09:47 AM
v4.0.x How to compare variable hel68c Modules / Plugins / Modifications 5 04-14-2009 05:52 PM
Smarty "or" variable? cwp Technical Support 2 03-03-2008 03:44 PM


All times are GMT -4. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0