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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Create Profile menu item in front end is serving content from /administrator
Pages: [1]

Author Topic: Create Profile menu item in front end is serving content from /administrator  (Read 580 times)

TheEdge

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.3.4
  • MySQL version: 5.6.17
  • PHP version: 5.4.32
Create Profile menu item in front end is serving content from /administrator
August 03, 2011, 02:08:15 am
G'Day,

- J! 1.6.5, CiviCRM 4.0.4
- I have a profile that I access from a menu in the front end (see attached screenshot)
- However I note that the jQuery javascript is being served from /administrator as follows:

Code: [Select]
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.menu.pack.js"
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/css/menu.css"
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.contextMenu.js"
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.chainedSelects.js"
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.tableHeader.js"
"GET /administrator/components/com_civicrm/civicrm/packages/jquery/plugins/checkboxselect.js"

This presents a problem for me as the /administrator folders are .htpasswd protected. So my qyestion is:

- How can I get CiviCRM to serve the necessary jQuery code from another folder?


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: Create Profile menu item in front end is serving content from /administrator
August 04, 2011, 12:39:31 am
Quote
How can I get CiviCRM to serve the necessary jQuery code from another folder?

Currently it is not possible, unless you copy entire css / js in frontend folder. Which I would not recommend.

I think it is possible to configure .htaccess to allow js and css files.

HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Create Profile menu item in front end is serving content from /administrator

This forum was archived on 2017-11-26.