Major problem with <title> in cake php

Hi! I’m new here. This is my first post.

I have this problem on my site.

On many links the word “Industrimaskiner” apperars. But that is not supposed to do that.

I really can locate the peace of code that makes it happend.

See here:

http://www.google.dk/#hl=da&output=search&sclient=psy-ab&q=site:sportbasen.dk+industrimaskiner&oq=site:sportbasen.dk+industrimaskiner&aq=f&aqi=&aql=&gs_l=hp.3...699.7168.0.7279.35.34.0.0.0.1.1149.6489.0j23j9j7-1.33.0...0.0.JQVTu9BkKNE&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=564bae799cdeb276&biw=1280&bih=631

Can somebody help?

Regards
Benjamin

Not really used Cake much, but I believe you need to look at app/views/layouts/ - there will be a “default”. This will probably have something like:

<title><?php echo $title_for_layout; ?> - Industrimaskiner</title>

It might not be the “default” layout, but look at the others and you might find it.

Thanks

I’ve tryed to make a search in the whole libary on “industrimaskiner” to see if anything like you wrote, would appear. But without luck.

Is it possible to place a code on server or something, to make it happend?

Or WILL there be, somekind of code in the files, somewhere, that does it?

Sponsor our Newsletter | Privacy Policy | Terms of Service