Developing (v7+)

Stack with SEO and duplicate content

I am trying to build my site around minimising and maintaining content. So stacks are a logical place to start. Eg. I have an article on how to login and I have made this as a stack. I have then reused this block of content on multiple pages so when I nee…

Page Thumbnails not showing

Hi I am using concrete5 version 8.4.5 and have added google search functionality over https://exrx.net/Lists/SearchSite The problem I am facing is while I search for any thing it used to show page thumbnais next to the search result for the website …

(deleted post)

(this was a post but I can't see how to delete it :/ )

Select type multiple options

Hi evrybody, What can I read the values of attribute type Select multiple options. [code] $colors = getAttribute("color"); echo "My favorite colors is : ".$colors; [/code] My favorite colors is : Pale grey White Dark green Pink light blue …

Check if a request belongs to dashboard section

Hi, What is the best way to check whether or not a request come from dashboard sections? In 5.6, I used to write something like this: [code] $dashboardRequest = false; $needdles = array('dashboard', 'tools'); foreach ($needdles as $needle) { if …

Vue JS

I'm looking to integrate Vue.js with C5. Can't find much about it. Does anyone run something similar?

Multi-lingual site - Possible to change language on block level?

I know that using the Switch Language block, it's possible to change the language. This however requires an administrator to create a new page for the specified language, and place all blocks and such for each language again, since changing the language i…

Get all values entered into a text attribute

Hi, I have a 'text' attribute, 'birth_year', and users can enter any number in the field. I intend having a list of all the values - years - that inserted so far. Is there a way to retrieve them by C5 API? I believe there is similar functionality for th…

Custom Image Attribute doesn't work

Hi All I have use as below for generate image thumbnail : $imgHelper = Loader::helper('image'); $logo = $imgHelper->getThumbnail($page->getAttribute('logo'), 100, 50); it return empty response, but actually it has a value and it is work in concre…

Delete attribute

Hi evrybody, I create attribute type image but when I dont use it, I delete it. But the problem when I want to update a page (Page List) I always have this message : [code] An exception occurred while executing 'UPDATE CollectionSearchIndexAttribu…

Filter Posts