Hi,
I used to write code like this on 5.7+ to get the current session id:
[code]
$session = new SymfonySession();
$sessionId = $session->getId();
[/code]
But in latest version of Concrete5 it returns error. Has something changed regarding session ha…
This code used to work in PHP 5.6 but when I upgraded to PHP7.1 yesterday, this code isn't working anymore
[code]
$ih = Loader::helper('image');
$thumb = $ih->getThumbnail($thumbnail, 185, 139, true);
echo '
[/code]
I read that the image helper is d…
I have set up some products with the Concrete5 Community Store (https://github.com/concrete5-community-store/community_store) and given them a text attribute.
I'd like this text attribute to be searchable using the regular site search block.
I can see t…
Not having much luck finding anything in the developer docs, so wondering if anyone here can help?
I've programmatically created a user group and been able to assign users to the group, but how do i now assign permissions to that group?
I want to as…
It would be most helpful if when deleting a block the message will also give you the name/type of the block you are deleting.
Are you sure you wish to delete this "content" block?
Are you sure you wish to delete this "search" block?
Are you sure yo…
How do i get the ID's of users in a user group?
I can get an array of "UserInfo Objects" by doing this:
[code]
$group = \Concrete\Core\User\Group\Group::getByName('GROUPNAME');
$usersInGroup = $group->getGroupMembers();
[/code]
but how can I g…
Hi,
I have created a select attribute an selected 'allow multiple options to be selected'. I am building a custom single page in the dashboard and want to output the multiple select field in my form.
I can only find old 5.7 documentation.
Is any o…
I have add a select attribute to order page but it is not show value after the completing of the product. when i view the order page the select attribute value is not showing and also in mail .
My toolbar is not working which I have determined is because of the following JavaScript function:
[code]
jQuery('#toc .toc_item').each(function() {
"use strict";
var id = jQuery(this).find('a').attr('href');
var pos = id.indexOf('#menu');
…
If you're looking to get help with an Add-on or Theme you got out of the marketplace, you can do that from the very same place you got the item in the first place. For example, if you have an eCommerce or Calendar question - go check out the Support tab for each of them.
Pick an Answer
Hey, you're asking a community of busy people to volunteer their time to find you an answer. Help us know if your thread is resolved or not by picking an answer.
There's a little "Mark as Best Answer" link to every post in your thread. When you find the best answer to your question, just click that link and all sorts of wonderful things happen to everyone!
-Thank You! MGMT
Post
Sign In?
You must have a user account and be signed to perform this action.