Question
Creating an cfif to check if page is index
I'll firstly admit I'm pretty new to Coldfusion and have some
programming knowledge in general so please be specific with any
help.
I'm using CFWebstore and looking to customize my homepage layout. So I'm needing an if statement in the dsp_page.cfm that will display the output code in a new layout if it is the homepage, but default to the standard output if any other page.
So if I'm thinking correctly I'll want a
If page = homepage or index
then run this custom layout code,
else
run original without custom layout
I've got it to read the else, since it passes by my IF statement, so I really don't know how to check to see if it is on the homepage or not.
Thank you for any help!
I'm using CFWebstore and looking to customize my homepage layout. So I'm needing an if statement in the dsp_page.cfm that will display the output code in a new layout if it is the homepage, but default to the standard output if any other page.
So if I'm thinking correctly I'll want a
If page = homepage or index
then run this custom layout code,
else
run original without custom layout
I've got it to read the else, since it passes by my IF statement, so I really don't know how to check to see if it is on the homepage or not.
Thank you for any help!
