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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Extension Permission Javascript
Pages: [1]

Author Topic: Extension Permission Javascript  (Read 418 times)

Giorgoch

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: 5.4
Extension Permission Javascript
November 23, 2014, 04:05:47 am
Hi there

I have three issues that i need your guidance.

1. Profiles  I have read the profile section.Is there a way that specific users have specific access to pages and content?
The  need is that i can remove from all the reports previews  for all of the users that i have except from 3 users  the credit card visibility and some other personal info but mostly credit card.
Any idea how can i do it?



2.
The need is to store the last used values of the combobox in my case 4 combobox and a textarea so if there is a way to avoid creating new files can i do it with javascript some how?and if yes some guidance please ?
This http://wiki.civicrm.org/confluence/display/CRMDOC/Javascript+Reference is not so clear.



3.I have create some extensions is it possible to have them on custom php path (i have try but with problems)
example
/myphp/folder/path/with/extension/extensionfolder/
and the where is  extensionfolder  can i put extensionfolder 1 , extensionfolder 2 , extensionfolder 3?
If it it's possible then i have done something wrong.





thanks
« Last Edit: November 23, 2014, 06:50:55 am by Giorgoch »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Extension Permission Javascript
November 23, 2014, 12:27:25 pm
Quote from: Giorgoch on November 23, 2014, 11:56:43 am

Civicrm will  vanish from one day to other if there is no support.Is this a joke?

Sir, your posts are 7 hours apart on a Sunday. There is an active community here (and CiviCRM is not going to vanish thank you) but those who answer questions here do so on a voluntary basis. If you would like answers, you will have to be more patient.

In regarding to setting your extensions folder, I'm not certain what you are asking. The docs for how to set that are here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions

With regard to "specific users have specific access to pages and content" yes you can do that via synching groups and roles and using Drupal to limit access.

Regarding your other question, I would suggest you post a new post and clarify the question. It's usually better to ask only one question per post--you will get better responses that way.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

DaveFF

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 5
  • Developer at Future First
    • Future First
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Extension Permission Javascript
November 24, 2014, 01:28:10 am
Quote from: Giorgoch on November 23, 2014, 04:05:47 am
3.I have create some extensions is it possible to have them on custom php path (i have try but with problems)
example
/myphp/folder/path/with/extension/extensionfolder/
and the where is  extensionfolder  can i put extensionfolder 1 , extensionfolder 2 , extensionfolder 3?
If it it's possible then i have done something wrong.
In System Settings / Directories you need to set a directory inside which all your extensions will be. This should probably be under your sites/default, eg ours is <drupal path>/sites/default/extensions. Then inside that will be another directory for each extension, named for that extension's unique key, eg org.civicrm.sms.clickatell or uk.me.davidknoll.civicrm.orgdedupe.

If you're creating a new extension of your own, you should be in your extensions directory when you run civix generate:module, and civix will create the new extension's individual directory and some files inside it. If you're installing an extension, it will be similarly located in its own directory within the extensions directory.
Do Not Contact Until extension: https://civicrm.org/extensions/do-not-contact-until
Organisation Name De-duplicator extension: https://civicrm.org/extensions/organisation-name-de-duplicator

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Extension Permission Javascript

This forum was archived on 2017-11-26.