create facebook addons
Permalinkthanks in advance
If you activate the Facebook login option, it will appear on your site normal login screen which is for everybody not just for admin.
When setting it up you can select to which user group your users will be added, so it can be the guest group or any non-admin group.
Am I missing something?
how we can do with lower version
However, I can say that, for sure, you need to:
1- know about Concrete5 at least to some extent
2- Know how to code in PHP
3- Be willing to have a look and gather information from the code
If you don't have at least these 3 down, you can't do it on your own.
how to call ajax in concrete5 and I have to pass data also
can you give me syntax
<?php $action = $this->action( 'check' ); ?>
console.log("<?php echo $action;?>");
output is
"https://testing.pd.cisinlive.com/concrete5-8/index.php/check/190"
why here 190 extra add here and how i can solve it
So for your check() function you would do this in your block's controller
public function action_check($bID) { if (empty($bID) || $bID != $this->bID) { return false; } // rest of your code here }
it's working
can you send me syntax of insert code
thanks in advanse
If that's your question, in your controller you can do
$this->set('myVar', 'myValue');
And then in your view you'll have the variable $myVar with the value 'myValue'
like insert query
I want insert data in from controller
$db->fetchColumn('SELECT uEmail FROM Users WHERE uEmail = ?', [$email]);
then if email id not found it's give error like query is empty
so how i can solve it sir
and
any way where i can learn concret5 easily
thanks sir for helping me
i have installed concrete5.6.3.2 it's give me fatel error
PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/html/concrete5.6.3.2/concrete/libraries/object.php on line 3
any one suggest me how i can solve this error
With your version of Concrete5 you should probably stick to PHP 5.6.x
You may be able to use PHP 7.1.x with Concrete5 5.6.3.5
I am not sure I understand why you are trying to use an old version of an unsupported branch of Concrete5.
If you need to use old C5 at least use the latest version of that branch.
And if you ave a choice, use the new v8 branch which is supported
On your website go to dashboard/system/registration/authentication