|
Posted
about 15 years
ago
farcry: Working With Breadcrumbs http://post.ly/wTDf
|
|
Posted
about 15 years
ago
The breadcrumb tag (./core/tags/webskin/breadcrumb.cfm) works based on where in the site overview tree it thinks your content is based. But when you are dealing with content types that don't have a home in the tree, that's a bit trickier; it
... [More]
ultimately defaults to the home page (or in truth application.fapi.getnavid("home")). Of course there is a simple fix. The Breadcrumb tag is a bit more cunning and will look in the tree for a navigation alias that matches the content typename of the view being rendered. For example, if you are using the breadcrumb tag with a dmNews content item it looks for an alias of "dmnews" (literallly application.fapi.getnavid("dmnews")). To add an alias, simply open up the relevant menu (ie. dmnavigation) content item, and type in the typename as an alias to the navigation node in the tree. No coding required :) Here's an example of an alias for a "podcast" content type hooking up the breadcrumb, for both a type view (or listing view) and a full page display of a single content item.
See and download the full gallery on posterous
Permalink
| Leave a comment »
[Less]
|
|
Posted
about 15 years
ago
farcry: Tracking development activity in the FarCry Community http://post.ly/w4zC
|
|
Posted
about 15 years
ago
All FarCry Community projects are managed through a single Jira Studio instance (thanks to our friends at Atlassian). That includes code commits across the framework, related plugins and projects, in additioni to WIKI documentation changes, and
... [More]
public code reviews. You can track the lot in your favourite feed reader by subscribing to the universal activity feed: https://farcry.jira.com/plugins/servlet/streams Of course if you just want to watch a particular code base, wiki or even a single issue try the integrated watch features. You can create your own RSS/ATOM feed, use one of the many defaults, or have changes emailed to your in-box daily. Look out for the standard webfeed icon or check under the "Tools" menu for watch options. Enjoy!
Permalink
| Leave a comment »
[Less]
|
|
Posted
about 15 years
ago
farcry: Indexing what you want with Verity Plugin http://post.ly/w2Lt
|
|
Posted
about 15 years
ago
A great feature of the FarCry Verity Plugin is the ability to override what content gets indexed. This is achieved by writing a custom function within the content type that starts with contentToIndex
For example, a custom function to allow the
... [More]
ability to restrict content to only show published content (to allow forward publishing)
1
2
3
4
5
6
7
8
9
name="contentToIndex" returntype="query" description="Gets news content to index"> qContentToIndex = application.fapi.getContentObjects(typename="dmNews",lProperties="objectid",publishDate_lte=now(),expiryDate_gt=now()) /> qContentToIndex>
You can actually add multiple functions to the same content type which will then allow you to choose the function you want when you create the verity collection. Simply prefix them with contentToIndex*
For example, contentToIndexTest and contentToIndexMyCategory.
Enjoy!
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 15 years
ago
farcry: FarCry 6.0 Contributor Guide Released http://post.ly/tQaN
|
|
Posted
over 15 years
ago
The Daemonites are releasing their beautiful FarCry 6.0 Contributor Training Course under Creative Commons. You're free to distribute the work, but not to use it for commercial purposes. If you would like instructor-led training, or want to run
... [More]
training courses of your own please contact us. Enjoy!
Download now or preview on posterous
FarCry6.0_Training_ManualGrayscale.pdf (4877 KB)
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 15 years
ago
farcry: cacheByVars default values http://post.ly/sCAr
|
|
Posted
over 15 years
ago
cacheByVars is a view decorator who's values are used by the caching layer to identify unique views of the same webskin and object. For example, a single webskin has a paginated result set that means there is a different output depending on page
... [More]
number using something like URL.page. The vars that might impact the caching are accessed and hashed BEFORE the webskin is executed in order to identify if that execution can be avoided. Unfortunately, there can be a problem if the webskin/view cfparam's one of these variables: the cache layer looks for an item with a null for that variable and doesn't find it, then afterwards caches the item where the variable DOES have a value. You'll see a fix for this coming through in 6.0.6, where we've added support for defining a default cacheByVars value in the decorator:
In cases where the variable is not found by the caching layer, it is treated as being equal to the specified value instead. Variables with no defaults are still supported.
Permalink
| Leave a comment »
[Less]
|