>
> When I created a file in the webskin, all files in the dmHTML directory
> are off displaypageXXXXX.cfm or displayXXXX.cfm.
>
> I created a file called displaypageTestTemplate.cfm, changed the @display
> name and restarted coldfusion, and it is not appearing as a usuable
> template.
>
Right - You didn't actually state when you said you'd changed your file name
to displaypageblah.cfm and thanks for the help, so I assumed that this had
helped you to get the template working and available. My response was to
your comment about the lack of documentation regarding prefixing display
files and the reason why it does not say "You must prefix your display files
with displaypage".
So to try and resolve this - as Liz asks - if you're on linux make sure that
there isn't a casing issue with the file name.
Check to make sure that you have your display template in the right folder.
It needs to be in the projectname/webskin/dmHTML/ folder.
If these are correct, then please can you post your template as an
attachment, so we can see what you have in your file.
Also, try running this in a file in the www folder of your project:
<cfdirectory action="list"
directory="/farcry/#application.applicationname#/webskin/dmHTML"
name="qResult" recurse="true" sort="asc" />
<cfdump var="#qResult#" />
<cfset webskins = createObject("components","
farcry.farcry_core.packages.types.types
").getWebskins("dmHTML","displaypage")>
<Cfdump var="#webskins#">
Have a look in the two outputs - is your display template listed in
either/both?
Caveat : I'm not running fc3.x any more, so the above code is done from
memory, so may need adjusting.....
Now, like I stated this is not documented on the wiki. I don't have time to
> spend going from file to file, reading code to to find a solution to
> something that should be documented.
>
As has previously been stated - this is open source software - unfortunately
documentation for open source software is notoriously bad, but the FC docs
are getting much better all the time, but it does require the input of the
community as well as the developers. The guys at Daemon are only too happy
for people to add to the wiki if they feel there is a gap that they can
fill.
Otherwise, developers using OSS are usually aware that they will have get
their hands dirty and actually look under the hood to understand what is
going on.
Like I said there is nothing, and I repeat nothing in the files that exist
> in this template that mention anything about data type, nor does this file
> mention anything about ftPrefix.
>
Read the information Custom Types and Form Tools in the wiki - specifically
http://docs.farcrycms.org:8080/confluence/display/FCDEV40/webskin
So again if you are not confused, then you are confusing me. I don't care
> about data types, or ftPrefix. I looked at the other files noted that they
> all use the @@display name and modified that.
>
You need to understand that webskins are tied to data types, so yes you do
need to care and understand about them and the ftPrefix.
While
I am getting upset because there is no documentation on creating a template,
> that can be used for displaying content on the front side that a normal
> everyday user would see. It is ok for you to come along and preach this and
> that, but at the end of the day it means jack shit to me on this issue.
>
See my previous comments about documentation and open source software and
feel free to contribute.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---