Topics
|
|
phpWebLog
|
|
Last 5 Comments
|
|
phpWebLog Addons
|
|
|
|
Hardcoded image URL?
views: 245 |
By Vincent Lowe (---.tnt12.bos2.da.uu.net) on Tuesday June 26 2001 @ 05:39AM EDT [ General ] ...just finished making changes to the layout for "Technologically Incorrect" http://ti.aquecorp.com and I still have a couple of small issues that I can't resolve.
When the comments for a story are rendered, there is a small icon that appears before the comment (I'm using a modifed version of OSDN as the layout style). I cannot find anything in the templates that causes the icon to appear, and although I couldn't locate the code that inserts the image reference in the F_drawStory() function.
If I look at the rendered page, I see that there is a reference to an image file that is from the "clean" template directory. I can't see a place to control where that image is supposed to come from.
Am I missing something? Do I need to provide more information? (example page URL for instance?) -- okay, here's a related link:
---v
Related Link
|
jason writes on Wednesday June 27 2001 @ 04:39PM EDT: [ reply | parent ]
I don't really see the problem. It goes like this.
You used "clean" as your comment template in your layout.
In the clean/comment.tmpl, you'll see a reference to $imagedir which is yourdomain.com/backend/template/clean/images/.
So that's how it gets hardcoded. It's really the $imagedir variable in the clean comment template file.
|
|
Vincent Lowe writes on Monday July 02 2001 @ 07:42PM EDT: [ reply | parent ]
...thanks. I just looked and I had missed it, but the comment template was indeed for "clean"
Anyway, what we discovered was that images (or anything under backend/... was being made inaccessible to the public for security reasons. Releasing that restriction solved the problem. But I couldn't figure out where the reference to the "clean" template was coming from.
Turns out that it was so in my configuration as you predicted. No hard coding involved.
Thanks again. Site is humming...
---v
|
|
calculator karls mortgage writes on Thursday November 04 2004 @ 03:19AM EST: [ reply | parent ]
Please check some information about compare mortgage rates | compare mortgage rates | http://www.compare-mortgage-rates-advisor.info/ | construction loan | construction loan | http://www.construction-loan-4u.info/ | credit card consolidation | credit card consolidation | http://www.credit-card-consolidation-advisor.info/ | new century mortgage | new century mortgage | http://www.new-century-mortgage-ebanking.info/ | cheap dvds | cheap dvds | http://www.cheap-dvds-top-shop.info/ | check credit report | check credit report | http://www.check-credit-report-4u.info/ | mortgage rates | mortgage rates | http://www.mortgage-rates-4u.info/ | buy wine online | buy wine online | http://www.buy-wine-online-cellar.info/ | new balance shoes | new balance shoes | http://www.new-running-shoes-e-shop.info/ | personal loans for bad credit | personal loans for bad credit | http://www.personal-loans-for-bad-credit-ebanking.info/ | chase visa | chase visa | http://www.gold-platinum-4u.info/ | ...
|
|
|
PHP.net
|
|
PHPBuilder
|
|
Bordom
|
|
|