I start to use FBConnect module to my Drupal site.
FBConnect readme says
Create a new facebook application: http://www.facebook.com/developers/createapp.php
Enter the Site URL on Web Site settings tab (e.g. copy value from admin/settings/fbconnect field “Connect url”).
Configure the module through admin interface (admin/settings/fbconnect) using the information provided by Facebook
(Application ID, Application Secret).
Even i try to type this as URL in browser:
http://ph7.localhost:8082/admin/settings/fbconnect
Noting happens.
Sadly, i found this in Module section :
Requires: Fbconnect (disabled), Libraries (missing).
I am pretty sure i have copy file to sites\all\modules\fbconnect and also
create a directory "libraries" which yield :sites\all\libraries\facebook-php-sdk
Question: 1.where is admin/settings/fbconnect ?
2.how to install fbconnect module for drupal 7
You might need to re-check/verify each and every point here
In order for the user's browser to correctly recognize XFBML tags, you need to specify that the page is in XHTML.
Edit the "page.tpl.php" file of your current theme. edit the tag and add the facebook xmlns for rendering XFBML.
In case you need FB Connect module only for registration and login, I suggest to try FBOauth module.
It does not require any library and has a stable version in D7.
The message that it requires "Libraries" pertains to the Libraries API module (short name: libraries), which provides some code that many other modules depend on. It doesn't do anything on its own, but the hooks/functions in that module are used by so many other modules that it's something like the 20th most installed Drupal module, so you'll likely end up finding it's required for other modules you want to activate.
I suspect that you saw this message that a module "Requires: Fbconnect (disabled), Libraries (missing)" in one of the sub-modules of Fbconnect, which provides additional Facebook-related features (e.g. the Facebook Friends Invite sub-module of Fbconnect). The main Fbconnect module is in the "Authentication" section of your admin/modules/list page. You need to install and activate the Libraries API module, then turn on the Fbconnect main module, then you can turn on the other Facebook connect sub-modules, if you like.
Hope that helps. :-)
Related
I have a small React Native app for which I have a series of Firebase dynamic links. When the app is installed, the links work perfectly in directing users to the relevant screen defined in the dynamic link
However, if the user does not have the app installed when the dynamic link is followed, the route defined in the dynamic link does not persist.
Is it possible to persist the deep link during the installation process?
I've tried a basic deep link URL like https://fakedomain.org/upload as well as using the ?link=https://fakedomain.org/upload param and neither seem to work.
To answer your question, it is possible to persist the link after installs but it won't be %100 successful because of some limitations on the iOS side. You can check the flowcharts in here
There could be a couple of reasons for it not to work after the app installation. Since no code is provided I'll assume you are listening to the dynamic link with onLink for the app's active state and checking the initial link with getInitialLink when your app is in the quit state.
Persisting the link after app installation involves the clipboard in iOS so make sure the problem is not related to new iOS 16 copy/paste permissions.
Your navigation library might be trying to navigate to the route from the link before your navigation stack is initialized.
If the problem occurs only in one platform it might indicate a problem in your native setup like maybe related to LinkingManager etc.
If you are using a custom domain, you should double check your Associated Domains and AndroidManifest settings.
I want to allow access to certain content to certain users for a limited time,
using a 'Dynamic Role' in Plone 3 ( http://collective-docs.readthedocs.org/en/latest/security/dynamic_roles.html ).
To this end I've created an add-on with a copy paste of example code - except that for now getDummyRolesOnContext() always returns my role.
But Plone never calls, or instanciates my DummyLocalRoleAdapter, and obviously my users never get the role assigned.
Here's what I know so far:
My dynamic role is defined in a rolemap.xml and get's created upon add-on installation.
My add-on is being imported - an exception on it's first line prevents Zope from starting
None of DummyLocalRoleAdapter are being called - I've spiked all of them with warnings and exceptions.
The adapter does get registered.
How do I continue debugging this - what's the magic part I'm missing?
Thanks!
My guess is that you need to somehow activate borg.localprole PAS plug-in in acl_users:
https://github.com/plone/borg.localrole/blob/master/borg/localrole/utils.py
There might have been borg.localrole add-on installer entry in the past, but now there doesn't seem to be one. My guess is that you need to call the actions from borg.localrole add-on setup code manually in your own add-on.
acl_users when borg.localroles is correctly installed:
I am trying to create a custom module (as a content/node type) but it's malfunctioning.
Upon creating the desired .module and .info files, I go into Adminstrator/modules and enable the module. Upon enabling this module, all I see is the adminstrator view expand itself
Compare this with the regular administrator page that renders itself while carrying out administrative tasks:
It is expected to appear in the new Content types button but it does not, and when I look back into the Modules menu, the node is not enabled, even though I enabled it and saved configuration.
There are no error reports either and I am using the official Drupal documentation to create a module as a node_example...the code for the same can be obtained at this link:
http://drupalcontrib.org/api/drupal/contributions--examples--node_example--node_example.module/7
Anybody with any inputs on what's going wrong here? Most importantly this seems to be an error present in the official documentations for creating a module as a node type!
I need to develop an online service layer that will provide multi-role interactivity to end users on the behalf user agent/device/application (desktop or web widget) or output type (XML) they use.
So...
How is drupal as choice?
Is it possible to develop output
templates for each output type
required?
How to switch theme or output mode on
the behalf of user agent?
The services module may do some of what you want in terms of providing a service.
In terms of switching the theme based on the user agent, try Browscap in conjunction with Switch Theme.
How can I get a module to redirect if a user doesn't have the correct permissions to view it instead of getting the usual "Access denied. You are not authorized to access this page." message?
If it is a module you are writing yourself use the goto function of Drupal
http://api.drupal.org/api/function/drupal_goto
If you are not writing it yourself then it's a bit tougher, you can set the error redirects with Drupal and some modules however for a specific module I think you might have to go in and patch it in some way.
pretty much anything you wanna do to modify drupal stock behaviour can be handled via hook_nodeapi
Custom Error provides the ability to easily customize 403 and 404 error messages. With that, you could use drupal_goto() to automatically redirect users, or drupal_get_destination() to build a login link that will return the user to the page they attempted to view.
For more general, login-specific functionality, you might check out LoginToboggan.
The source code for both modules will also include useful examples of how to approach this problem space if you do not want the overhead or external dependency of a module.