Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Ruby Page Title in Common Header
Ruby Page Title in Common Header
And if anyone is at all interested here is a solution to providing a different page title on each dynamic page through a common header driven by Ruby:
<% if(@cgi.path_info == '/' || @cgi.path_info == '/index') %>
<title>The...
I have been moving all my business files from Win XP to Ubuntu and this included my accounts in MS Excel.
I have opened the accounts xlsx file in open office but am baffled by the listed date format that it shows.
Instead of the 01/01/11 format I used to log accounted items it now shows a five...
My Solution
My Solution
Thanks for all the posts and help.
Having duelled on this for a few days I have decided the only answer in this case is to run twin header idents. One for the ruby set up and one for the php files. Not a perfect solution but its only an extra file to copy update as and...
I have had that since the incident occurred as Kipper is my actual nick name. So sorry it's not new, but have not heard it in a while. Quite Retro!
Since you know about it I guess that you're a more senior person?
Thanks Nick
I sort of figured as much. But it is nice to have it confirmed, that way I know that my search for a php answer is fruitless.
Maybe time to start learning some rails! Never, managed to get my head around the first tutorials I saw when I first looked though!
Damn it!
Damn it!
FFS!!!
Spoke a bit too soon there. Works a total treat on the php generated pages but the ruby generated pages the title is printed as <?=$_TITLE?> This includes the home page.
To be expected I guess, not sure that ruby can read php?
Seems this is one battle I can not...
SOLVED
SOLVED
Admin - You are my Hero(in)
Topic Solved - It WORKED!! I've been battling with this one for the better part of two weeks (well not continuously).
Many many thanks - Contractor UK Rocks. :music:
Kipper
Thanks for that. It looks like a perfect working solution. My only concern is that any php above the doc type seem to break the ruby header, it is a bit unforgiving like that; but I will give it a go and see.
regards
Hi,
I was wondering if there are any web master members who know a way to solve a issue I'm having with a php / ruby run web site.
I am putting a site together that uses a common php include header. This of course then presents a common page title which I need to solve for SOE reasons. The way...
I am setting about rebuilding a windows PC that was running XP Pro. It was rendered useless by a file infecting virus - Ramnit a.
I pulled the drive and fitted in in my Linux computer. Using this I have recovered all my 'can't loose' files.
I am now looking at rebuilding the PC and have...