Okay I've been messing with this for a long time now. I can see where it's generating the link. I can't seem to find any stored procedure, or where exactly the SQL is stored.
However, I had a thought let me know what you think.. What if i put in a conditional statement where it generates the link saying if such and such property equals 1 then rel="nofollow" would be added. If it equals zero then rel="dofollow" would be added. Now can i just put the sql i need at the top and manually add 1 and 0's to the database where the link is stored. If show what table should i alter? Any help on this is appericated. On Dec 10, 2:20 am, modius <[email protected]> wrote: > On Dec 10, 6:26 pm, Selfprodigy <[email protected]> wrote: > > > Is there any easy way to put a rel="nofollow" on subcategories only? > > Navigation information is retrieved as follows: > FarCry stores hierarchy models like navigation in the database > following the Joe Celko nested tree model. The ./packages/farcry/ > tree.cfc component pulls branch information using the getDescendants() > function. The result is a query object that includes all the > information you need to build a nested set elements like UL/LI > elements in HTML. ./tags/webskin/genericnav.cfm builds a nested set > of UL/LI's without having to understand any of this. Anchor tags are > built from the nested tree model data using ./webskin/buildlink.cfm. > This is the result you see in the sample project (aka Mollio). > > We build nested UL/LI's only because this is considered current best > practice for navigation in the web standards, CSS design fraternity. > If you wanted to build menus from Javascript or in tables, or > whatever, that is certainly possible. > > Ok. So you have several options. How easy they are depends on how > much experience you have with either FarCry, ColdFusion, HTML and/or > Javascript. > > // Uber Skills > You can take the query from a tree.getDescendants() call and build > whatever you like as navigation from this raw data. You can see an > example of this call at the top of ./webskin/genericnav.cfm > > // CF/HTML > You can copy ./webskin/genericnav.cfm and hack around with this to > insert the rel's at the point it generates 2nd level LI's. > > // Javascript skills > You can process the DOM in the browser using JQuery (or equivalent) > and add RELs to the nested LI/A elements. > > There are a huge number of options in genericnav.cfm but unfortunately > I don't think adding RELs to 2nd tier elements is one of them at this > time :( > > Hopefully that helps, > > geoffhttp://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
