Hi,
I have a template global that is changed on an almost daily basis (not everyday however), and it contains nothing more than simply the date in the format of Month Day, Year
I need to insert this into every detailed page that gets built, in other words every links record in the system has this show up on it's detailed page.
However, since I am changing the "date" in the template global on an almost daily basis, this requires rebuilding the entire system every single day, which as the system grows takes more and more horsepower to do.
So Im looking for a simple solution that would allow me to insert the date into the detailed pages.
I've tried the following code:
</object>
And thought I had the perfect solution because it looks great in Firefox, however loading up the pages in Internet Explorer had it looking like an iframe and the date wasn't showing at all unless someone were to scroll down with the little up down arrows, and it gave it a 3d looking effect of a box within the page which is not what I want. I simply want the date that I can store in either a simple txt file on my server to show up on the detailed pages so that I only have to build the changed files when needed instead of having to build all every day that the date changes.
Does anybody have an simple solutions to doing this?
My preference would be to do it all within Links Admin, maybe creating a new template page named pricedate.txt or pricedate.html and somehow (through Javascript maybe?) pull the text of that template page into the detailed pages for each record. However it appears that will be a problem since the template pages are stored within the admin area and it would require a user supplying the admin control panel username and password just to see the date. Obviously not a good solution. So Im open to other suggestions on how to do the above using the Links system, and all through the admin panel if at all possible. At worst case, I'll have to ftp into the server every time the price changes and upload the new text file I suppose.
But mainly I've got to find a solution to make it display properly in Internet Explorer, for as it is now it looks as if I've added an iframe page to the detailed pages with just a date in them and looks wacked.
I have a template global that is changed on an almost daily basis (not everyday however), and it contains nothing more than simply the date in the format of Month Day, Year
I need to insert this into every detailed page that gets built, in other words every links record in the system has this show up on it's detailed page.
However, since I am changing the "date" in the template global on an almost daily basis, this requires rebuilding the entire system every single day, which as the system grows takes more and more horsepower to do.
So Im looking for a simple solution that would allow me to insert the date into the detailed pages.
I've tried the following code:
Code:
<object width="600" height="20" type="text/plain" data="/decks/price.txt" border="0" style="overflow: hidden;"> </object>
And thought I had the perfect solution because it looks great in Firefox, however loading up the pages in Internet Explorer had it looking like an iframe and the date wasn't showing at all unless someone were to scroll down with the little up down arrows, and it gave it a 3d looking effect of a box within the page which is not what I want. I simply want the date that I can store in either a simple txt file on my server to show up on the detailed pages so that I only have to build the changed files when needed instead of having to build all every day that the date changes.
Does anybody have an simple solutions to doing this?
My preference would be to do it all within Links Admin, maybe creating a new template page named pricedate.txt or pricedate.html and somehow (through Javascript maybe?) pull the text of that template page into the detailed pages for each record. However it appears that will be a problem since the template pages are stored within the admin area and it would require a user supplying the admin control panel username and password just to see the date. Obviously not a good solution. So Im open to other suggestions on how to do the above using the Links system, and all through the admin panel if at all possible. At worst case, I'll have to ftp into the server every time the price changes and upload the new text file I suppose.
But mainly I've got to find a solution to make it display properly in Internet Explorer, for as it is now it looks as if I've added an iframe page to the detailed pages with just a date in them and looks wacked.