Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to externalize layouts and views from distribution?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Luis Majano  
View profile  
 More options May 22 2009, 5:19 pm
From: Luis Majano <lmaj...@gmail.com>
Date: Fri, 22 May 2009 14:19:54 -0700
Local: Fri, May 22 2009 5:19 pm
Subject: Re: How to externalize layouts and views from distribution?
that's awesome. Very ingenious. 3.0 willbalso have a
layoutsexternallocation also. Great stuff brian. Also pleased post all
the object changes that are needed??

On Friday, May 22, 2009, Brian G <brian-goo...@vfive.com> wrote:

> Ok, I think I solved my own problem.  :)

> It appears as though Conventions will take a relative path so I think
> what's required is to turn Coldbox back on itself using both the
> <Conventions> settings plus the <ViewsExternalLayout>.  I've got my
> config like this now and it seems to be working:

> <Conventions>
>         <layoutsLocation>../views/help/layouts</layoutsLocation>
>         <viewsLocation>../views/help/views</viewsLocation>
> </Conventions>

> Then I set my ViewsExternalLocation to actually point back at the
> _default_ Codex views:

> <Setting name="ViewsExternalLocation" value="views" />

> I created a single file in my own /views/help/views/wiki/show.cfm with
> some extra text and when I restarted Codex, everything came up looking
> good including my custom text.  So... I think I'm good.  As a CB
> newbie, if anyone can let me know if this will have unforeseen
> downsides, that would be great, thanks!

> Brian

--
Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldboxframework.com
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.