Hi
I’d like to see somthing like:
if ($sys.landingPage)
in a similar way that if($sys.crossSiteLink) works
Then when generating location schemes you could name your landing pages index.html and rest 1234.html
Cheers
James
Hi
I’d like to see somthing like:
if ($sys.landingPage)
in a similar way that if($sys.crossSiteLink) works
Then when generating location schemes you could name your landing pages index.html and rest 1234.html
Cheers
James
Boy that was quick
Cheers
James
That would simplify things. Some specific location scheme examples (that don’t use that function) are found in Better location scheme parameter and index.suffix location scheme. This all still depends on selecting Landing Page vs. Normal on the Generic content type, right?
[QUOTE=jimbo;2718]Boy that was quick
Cheers
James[/QUOTE]
Well, what happened was that I needed to solve a problem for a customer that involved finding the “parents” of an item (recursively). I realized that I could use the same method to determine if something was in a landing page, so I decided to expose the function for you all.
The solution is not without issues (as I noted in the other thread).
Dave