<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I've spent a couple days at this point trying to discover how
something is being done, without much progress. I'd walk through it
in debug, but the environment for this site is wamp and I'm equally
unsuccessful getting phpStorm and xDebug to play nicely in Windows,
so far.<br>
<br>
A D6 site using panels. A view producing a block. The panel page
loads the block and overrides its path (well...technically not, but
that's what the setting says) to be domain.com/music<br>
<br>
Have a module that implements pre-process, as well as registering a
callback. The path in the callback is /music-xml. The pre-process
implementation checks for arg(0) containing music-xml. The module
registers its templates directory, which contains a template for
page-music-xml.tpl.php. When invoking /music, the result is the
callback or music-xml fires, arg(0) contains music-xml, and the
template fires. The browser path, meanwhile, still says /music<br>
<br>
The problem is that I need to change the content type used in the
view from music to something else, at which point it all
breaks...arg(0) shows up just as music then, not music-xml.<br>
<br>
I've grepped the code, exported and grepped the db, clicked all the
clickables (I think) in panels, check path aliases, strongarm ... I
can't figure out how it's being done.<br>
<br>
Jeff<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Linux)">
<meta name="CREATED" content="0;0">
<meta name="CHANGED" content="0;0">
<em>I am a non sequitur. Beware, the contents were packaged where
peanuts are processed.</em>
<p style="margin-bottom: 0in;"><img
src="cid:part1.07030102.03030100@ayendesigns.com"
name="ayenlogo" align="LEFT" border="0" height="54"
vspace="30" width="36"><font style="font-size: 8pt;" size="1">Ayen
Designs
</font><font face="Times New Roman, serif"><font
style="font-size: 8pt;" size="1"><br>
388
Bullsboro Drive #105 · Newnan, Georgia 30263</font></font>
<br>
<font face="Times New Roman, serif"><font style="font-size:
8pt;" size="1">404-271-9734<br>
Web:<a href="http://ayendesigns.com/">ayendesigns.com</a><br>
Blog:
<a href="http://theaccidentalcoder.com/">theAccidentalCoder.com</a><br>
Drupal:
<a href="http://drupal.org/user/367108">j. ayen green</a>
(367108)<br>
IRQ: j_ayen_green<br>
IM (Yahoo) baalwww (MSN)
<a class="moz-txt-link-abbreviated" href="mailto:baalwww@yahoo.com">baalwww@yahoo.com</a><br>
Skype: ayendesigns | Facebook: ayendesigns |
Twitter: @ayendesigns</font></font></p>
<p style="margin-bottom: 0in;"> <font face="Times New Roman,
serif"><font style="font-size: 8pt;" size="1"><br>
<br>
Ayen
Designs is the computer services division of <img
src="cid:part2.09070701.01050002@ayendesigns.com"
name="acmelogo" align="ABSMIDDLE" border="0" height="31"
width="80"></font></font></p>
</div>
</body>
</html>