Development

#4987 (image path error in 1.2 admin generator)

You must first sign up to be able to contribute.

Ticket #4987 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

image path error in 1.2 admin generator

Reported by: macdom Assigned to: fabien
Priority: minor Milestone: 1.2.0 RC1
Component: generator Version:
Keywords: Cc:
Qualification: Unreviewed

Description

When the public root path of the web site is like "http://localhost/myproject/main_dev.php", the pagination images and asc/desc images can't be found because the template system generate a link "http://localhost/sfPropelPlugin/images/first.png" and not "http://localhost/myproject/sfPropelPlugin/images/first.png" as it should be. I uglyly fixed this with "[?php echo image_tag(..." in place of the <img> tag in the _pagination.php template of template, but that could be better done, maybe with a new sfContext::get('sf_web_public_root') configuration statement.

Change History

11/18/08 19:18:09 changed by fabien

  • milestone set to 1.2.0 RC1.

11/18/08 19:45:04 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [13137]) [1.2] fixed image URLs in admin generator (closes #4987)

11/18/08 19:45:20 changed by fabien

(In [13138]) [1.2] fixed image URLs in admin generator (closes #4987)

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.