Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion Page Title

New Here ,
Nov 13, 2008 Nov 13, 2008
On all of my cfm web pages the title of the page does not show up when you got to the page in IE or Firefox. Instead I just get Untitle Page in the tab. All of my html files show up fine. Is there something I need to change in my coldfusion files so that the page title shows up in the web browser?
TOPICS
Getting started
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 13, 2008 Nov 13, 2008
cards33 wrote:
> That is my problem. Is there something I can put in the title tags of the
> application file that will display each pages title in the web browser.

Yes, the title of the page(s).

Or a variable that contains the page title(s) retrieved from some source.

Or remove the title tags from the Application.cfm framework file and put
it into content file(s) where many feel it is more appropriate.

Your choice.

Just recognize that the application file is called with every requested
...
Translate
LEGEND ,
Nov 13, 2008 Nov 13, 2008
Take an html page that behaves properly and rename to something.cfm. Put the new file somewhere where it is not subject to any application.cfm/application.cfc files.

Then run the page and see if the problem still exists.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 13, 2008 Nov 13, 2008
Common issue, simple solution.

Remember that your application.cfm or application.cfc file gets processed first. I am guessing that your application.cfm/cfc file has a title tag that does not contain the name of your web application or whatever.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 13, 2008 Nov 13, 2008
That is my problem. Is there something I can put in the title tags of the application file that will display each pages title in the web browser or will I have to store the application and cflogin pages in a separate folder?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 13, 2008 Nov 13, 2008
LATEST
cards33 wrote:
> That is my problem. Is there something I can put in the title tags of the
> application file that will display each pages title in the web browser.

Yes, the title of the page(s).

Or a variable that contains the page title(s) retrieved from some source.

Or remove the title tags from the Application.cfm framework file and put
it into content file(s) where many feel it is more appropriate.

Your choice.

Just recognize that the application file is called with every requested
template in its folder or sub-folders and take this into account to how
you choose.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources