Closed (fixed)
Project:
Page Style
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 Sep 2008 at 02:35 UTC
Updated:
15 Feb 2009 at 23:10 UTC
I noticed that when you change the style you end up on the main page. So I added this code to prevent that. Seems to work okay.
$tb_url = $_SERVER['REQUEST_URI'];
preg_match("/\?{0,$}/", $tb_url, $regs);
$tb_url = trim($regs[0]);
--Scott
***** http://custweb.com/ *****
Comments
Comment #1
kennedyjs commentedI'm trying to set up something similar with your text size module. I was about to make a similar modification to that code but I was concerned that the two modules might interfere with each other. Do you have any suggestions for me? --Scott
***** http://custweb.com/ *****
Comment #2
CZ commentedFixed in the 6.x-1.0 release.