Developing (v7+)

Primary nav contains IP instead of domain

Not sure where to put this, but a client of ours has an odd thing where the primary navigation (autonav) is displaying the IP address for the server in the link, rather than the domain. Client reports this happening in IE and Chrome. I logged in to the…

Updating v6 User code to v7

I need to update some code that fetches member's information, including the associated image to version 7. [code] /* Get the Member data */ $ih = Loader::helper('image'); // For image $av = Loader::helper('concrete/avatar'); Loader::model('user_l…

How to change dateformat in pagelists

In the standard page_lists the date of child posts are displayed as "date-number / month(short) / year / timestamp" But I want to only show the date as "day / month" without any year or time of these posts (so not of the page itself); I can't find a w…

Get parent express entry id from attribute controller

I am creating a custom attribute as mentioned in https://documentation.concrete5.org/developers/attributes/creating-custom-attribute-types/extending-a-core-attribute-type. I saw that we can get the current attribute value using the attributeValue object. …

Pretty URL .htacces code giving ERR_TOO_MANY_REDIRECTS

Hi there, Google send me an email saying that my site wasn't being indexed because of a redirect error in page mydomain.com/concrete/images/ My host provider told me it is the .htaccess code. I have tested it taking out the pretty url code: [code]…

500 returned from 8.3.2 -> 8.4.0RC4 upgrade

v8.3.2 Copied the site into a sub-directory, copied the database and pointed database.php to the new database. Went to the new duplicated site to ensure it functions. Downloaded the latest RC from today and replaced the old concrete directory with the…

C5-8.0+ How to make PNotify text input form?

Following this: https://documentation.concrete5.org/tutorials/how-to-create-alert-notifications-and-modals I have an image in the add block form. I want to click on the image to pop up a form with a text input to save on clicking the form 'Save' but…

Filter Posts