MITOUSA.
Web + Interface Architects
----- Original Message -----
Sent: Wednesday, January 14, 2004 1:25
PM
Subject: [farcry-dev] Re: Repeated
content
Quentin,
Thanks for the fast response!
The breadcrumb issue in the 2nd method could be a
bit of a problem... I suppose I could write a bit of cfml to check for a
cgi.HTTP_REFERER variable and show a breadcrumb based on that... but i think
that might be opening a can of worms!
So I'm trying the first
method...
I've copied displayTeaser.cfm and changed it to
output #stObj.Body#. It also contains the line:
<!--- @@displayname: Display Body - Basically
Include Page --->
I've uploaded this file to:
/~/farcry_application/{application
name}/webskin/dmHTML/displayTeasercustomincludepage.cfm
Now, i choose the handpicked rule for the
"bottom" container, choose the Object type "dmHTML", and tick the relevant
page to include. On the page where i should be able to choose a display method
for the pages i chose on the previous page, no pages are displayed. I turned
on CF debugging info and there are two exceptions on the page:
Exceptions
13:52:49.049 - Application Exception - in
/vhosts/farcry_application/farcry_core/packages/rules/ruleHandpicked.cfc :
line 38
WDDX packet parse error at line 1, column -1. Document root element is missing..
13:52:49.049 - Application Exception - in
/vhosts/farcry_application/farcry_core/packages/rules/ruleHandpicked.cfc :
line 38
WDDX packet parse error at line 1, column -1. Document root element is missing..
What am i doing wrong?
Thanks for your help,
Gavin
----- Original Message -----
Sent: Wednesday, January 14, 2004 12:44
PM
Subject: [farcry-dev] Re: Repeated
content
Hi Gavin,
There's a couple of ways of doing this
The way you suggested is a good way. The way you'd include
it in the pages would be to make sure there's a container in the main
content area in your display template. Then you would add the "hand picked"
rule to the container, and select the relevant dmHTML object from the
utility section. You'd also need to create a "displayTeaserXXXXXX.cfm"
display method to display it (however, this display method would output
stObj.body, not stObj.teaser despite being labelled as a
teaser)
Another way to do it is to add it to one of the two pages.
Give that page's nav node a "nav alias", then on any subsequent page you
want to add it to, use the symbolic link function. In other words, for the
page you want to duplicate it on, select the created nav alias from the
original page in the navigation node
The only thing to be aware of in this second method is if
you browse to the page in a duplicated place, the breadcrumbs will appear as
though it is being visited from the original place
I hope i didn't make that sound too confusing
:)
Cheers
--
Quentin Zervaas
Web Developer
MITOUSA.
Web + Interface Architects
----- Original Message -----
Sent: Wednesday, January 14, 2004
12:07 PM
Subject: [farcry-dev] Repeated
content
Hi All,
I am new to farcry, and am currently working
on my second farcry site. The first was a bog-standard intranet site using
the child links rule.
The site I am working on is a little bit more
complicated, and I will have a couple of questions in the next week or so
for this list. The first question I would like to ask is
this:
Most of this site is a basic tree structure
using the child links rule, but then some of the branches on the tree are
supposed to be repeated. i.e.
Home > Site part A > page
name
is supposed to be the same as
Home > Site part B > page
name
What's the best way of doing this?
I was thinking of putting the shared page
info into a page under the "Utility" heading and then including it in the
relevant pages. Would this be the way to go? And how exactly do I include
pages?
Thanks,
Gavin
---
---
You are currently
subscribed to farcry-dev as: [EMAIL PROTECTED]
To
unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney,
Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to farcry-dev as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon
AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---