Re: Changing style while staying on same page

kennedyjs - September 18, 2008 - 02:35
Project:Page Style
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:kennedyjs
Status:closed
Description

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

#1

kennedyjs - September 18, 2008 - 03:14
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

Christian Zwahlen - February 1, 2009 - 23:09
Status:active» fixed

Fixed in the 6.x-1.0 release.

#3

System Message - February 15, 2009 - 23:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.