From: Ben W. <be...@re...> - 2008-10-30 14:57:25
|
Hi, How would I remove the stylesheet /ccskins/shared/css/after_submit.css from all pages? Thanks, Ben |
From: Victor S. <fou...@gm...> - 2008-10-30 22:02:32
|
On Thu, Oct 30, 2008 at 3:57 PM, Ben Weiner <be...@re...> wrote: > How would I remove the stylesheet /ccskins/shared/css/after_submit.css > from all pages? If you can explain what you're trying to do I can make sure I know the best way to help you with this... VS |
From: Dave C. <da...@la...> - 2008-10-30 22:47:18
|
2008/10/30 Victor Stone <fou...@gm...>: > On Thu, Oct 30, 2008 at 3:57 PM, Ben Weiner <be...@re...> wrote: >> How would I remove the stylesheet /ccskins/shared/css/after_submit.css >> from all pages? > > If you can explain what you're trying to do I can make sure I know the > best way to help you with this... I think Ben is being repeatedly vague because he isn't precisely sure of the change he wants to make, but has a general idea and the change he makes will depend on the way something like that change would be made... if that makes any sense at all :-) The new OFLB site is taking shape at http://openfontlibrary.fontly.org/ :-) |
From: Victor S. <fou...@gm...> - 2008-10-31 08:10:17
|
On Thu, Oct 30, 2008 at 11:47 PM, Dave Crossland <da...@la...> wrote: > I think Ben is being repeatedly vague because he isn't precisely sure > of the change he wants to make, but has a general idea and the change > he makes will depend on the way something like that change would be > made... if that makes any sense at all :-) And I'm being repeatedly persnickety about specifics because I've guessed wrong now several times. > > The new OFLB site is taking shape at http://openfontlibrary.fontly.org/ :-) > Looks truly awesome. VS |
From: Ben W. <be...@re...> - 2008-10-31 09:30:42
|
Hi, Victor Stone wrote: > On Thu, Oct 30, 2008 at 11:47 PM, Dave Crossland <da...@la...> wrote: > >> I think Ben is being repeatedly vague because he isn't precisely sure >> of the change he wants to make, but has a general idea and the change >> he makes will depend on the way something like that change would be >> made... if that makes any sense at all :-) >> Broadly right. I'm very very keen to be able to generalise. I have spent a month rootling about in the codebase! > > And I'm being repeatedly persnickety about specifics because I've > guessed wrong now several times. > I hold myself responsible for that. But on the evidence it looks like I'll be giving you some more headaches in the future :-( In this case, I want to do a blanket replacement of the styles in that stylesheet (so the page looks different!) Thanks, Ben |
From: Victor S. <fou...@gm...> - 2008-10-31 09:49:33
|
On Fri, Oct 31, 2008 at 10:30 AM, Ben Weiner <be...@re...> wrote: >> And I'm being repeatedly persnickety about specifics because I've >> guessed wrong now several times. >> > I hold myself responsible for that. But on the evidence it looks like > I'll be giving you some more headaches in the future :-( a) hardly a headache b) that's what I'm here for ;) > In this case, I want to do a blanket replacement of the styles in that > stylesheet (so the page looks different!) Without changing/adding/removing any of the layout elements? VS |
From: Ben W. <be...@re...> - 2008-10-31 10:03:59
|
Hi, Victor Stone wrote: > >> In this case, I want to do a blanket replacement of the styles in that >> stylesheet (so the page looks different!) >> > > Without changing/adding/removing any of the layout elements? > No, no changes to the layout elements. Ben |
From: Victor S. <fou...@gm...> - 2008-10-31 14:42:02
|
On Fri, Oct 31, 2008 at 11:03 AM, Ben Weiner <be...@re...> wrote: >>> In this case, I want to do a blanket replacement of the styles in that >>> stylesheet (so the page looks different!) >>> >> >> Without changing/adding/removing any of the layout elements? >> > No, no changes to the layout elements. put your version <local_files>/skins/<your_skin_name>/css/after_submit.css Put this code: <? require_once('ccskins/shared/after_submit.php'); ?> In to here: <local_files>/skins/<your_skin_name>/after_submit.php This last step will force the template engine to use your skin's directory as the search precedence for the URL macro called from the one in 'shared'. Your case highlights the potential for another macro used by the core shared template macros that changes the precedence of searching (e.g. %user_url%) but right now there are 240 calls to the %url% macro. Since there are 240 calls to %url% this would allow me to roll into the changes slowly - i.e. testing each of them. VS |