CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Image file Missing on Frontend template - Joomla
Pages: [1]

Author Topic: Image file Missing on Frontend template - Joomla  (Read 2214 times)

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Image file Missing on Frontend template - Joomla
April 22, 2009, 06:03:01 am
I have created several contribution pages with the configuration tool. I place images in the template and they appear properly in the "Live Demo" on the backend. When I create the frontend page the images disappear but do show the Title or name of the *gif.

My Resource Image upload url is (domain)/civi/httpdocs/civi/images/ it seems to be fine.
My template is (domain)/civi/httpdocs/civi/tempates/

Joomla 1.5.9
CiviCRM 2.2.2

Any help would be greatly appreciated.
Dan


carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Re: Image file Missing on Frontend template - Joomla
April 23, 2009, 09:46:56 am
I have searched the forum for info on this problem. If this is not new could someone please direct me to where the solution is?

The wiki cryptically alludes to a somewhat similar problem with module visibility, but this did not help.
http://wiki.civicrm.org/confluence/display/CRMDOC/Displaying+Online+Contribution+Pages+in+Joomla!+Frontend+Sites

TIA
Dan

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Re: Image file Missing on Frontend template - Joomla
April 28, 2009, 05:08:39 pm
This is how we fixed our issue:

Samw modified:

administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/tinymce.php

Added a line after line 161:

relative_urls : false,

in the section called tinyMCE.init

This will allow you to use URLs that start with /civi/images without the
editor changing it to a ../images.

I then modified the paypal image URL in the contribution page changing:

../images/horizontal_solution_PPeCheck.gif  to

/civi/images/horizontal_solution_PPeCheck.gif

and saved it.  And it now works on the outside page.

Joomla gives the option of modifying this setting without having to
modify the PHP code.  (In Extensions->Plugin
Manager->TinyMCE->URLs->Relative), but CiviCRM doesn't use the Joomla
version of TinyMCE but rather uses it's own copy of it, which doesn't
have the setting editable in the administrator.

Long story short is that this is a modification of the Civi codebase and
will most likely be reverted back to relative urls when we upgrade in
the future.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Image file Missing on Frontend template - Joomla
June 11, 2009, 02:23:53 am
Filed and fixed: http://issues.civicrm.org/jira/browse/CRM-4619

Thanx for the patch.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Image file Missing on Frontend template - Joomla

This forum was archived on 2017-11-26.