Download & Extend

Re: Changing style while staying on same page

Project:Page Style
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:kennedyjs
Status:closed (fixed)

Issue Summary

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

#1

Title:Changing style while staying on same page» Re: Changing style while staying on same page

I'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/ *****

#2

Status:active» fixed

Fixed in the 6.x-1.0 release.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here