Questions tagged [concrete5]

Concrete5 is an open source content management system (CMS) written in PHP and based on the Zend Framework. It allows for in-place editing of content for logged in admin-level users.

concrete5 is an open source content management system (CMS) written in PHP. It includes Zend libraries and includes jQuery for JavaScript needs. It allows for in-context editing of content for logged in admin-level users.

As a database, it's using MySQL through the ADOdb Database Abstraction Layer.

The project is maintained at http://www.concrete5.org/.

Many answers can be found on their forums or through their irc channel on freenode (/server irc.freenode.net in your favorite IRC client, and /join #concrete5 once you're connected)

586 questions
2
votes
2 answers

Concrete5: How to refresh a package?

I am working on a custom package that only has dashboard-related application. In other words, there are no blocks. If I update the table in the db.xml, how do I refresh the package so that the table structure is synced in the database? I can't see a…
user1448031
  • 2,172
  • 11
  • 44
  • 89
2
votes
1 answer

Htaccess redirect loop for Concrete downloads, difficulty level: wordpress also in the mix

I have a WordPress install in my root web folder. It is using the standard WordPress .htaccess file: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME}…
Jamie
  • 133
  • 1
  • 3
  • 12
2
votes
1 answer

How to get file object from file path in Concrete5?

I want to get thumbnail from the file inside the themes directory but getThumbnail() function requires me to pass a file object. This obviously doesn't work: $v = View::getInstance(); $themePath = $v->getThemePath(); $thumbnail =…
user1448031
  • 2,172
  • 11
  • 44
  • 89
2
votes
1 answer

User list based on User ID in Concrete5

I'm fairly new in making own code in concrete5, so I could use some help! :) I have a reference table with event IDs and user IDs. I would like to fetch the names of all users on a givent event. I have the two necessary IDs: UserID:…
Jacob
  • 21
  • 1
2
votes
2 answers

Generate a "Logout" link in Concrete 5.7

I want to create a Logout link in my Concrete 5.7 theme. What function do I call to generate that URL, seeing as it contains special security tokens?
Simon East
  • 55,742
  • 17
  • 139
  • 133
2
votes
2 answers

How do I perform a redirect in Concrete 5.7?

What's the correct way of performing a server-side redirect in custom Concrete5 code (5.7+)?
Simon East
  • 55,742
  • 17
  • 139
  • 133
2
votes
1 answer

Composer autload check for already loaded classes

I'm using Composer dependency manager for php in my project. I'm building my project to off open source CMS called Concrete5. They are also loading stuffs with Composer. Concrete5 and my own package for that uses Doctrine and Doctrine is included in…
user257980
  • 1,059
  • 2
  • 15
  • 31
2
votes
1 answer

Concrete5.7.5.2: Full page caching turned on but page doesn't seem to get retrieved from cache

I've turned on "Full Page Caching" to "On - In all cases" under "Cache & Speed Settings" and tested it by clearing cache and loading my home page in a separate browser. But it seems the load time seems to remain the same no matter how many times I…
Ron Lim
  • 129
  • 1
  • 7
2
votes
0 answers

Concrete5.7 Routing Register Function

I'm new to Concrete5. I've been trying the suggestion outlined in the question below: concrete5 website API I have encountered some things (an inconsistency and a bug) The Route class didn't have the Register function so I switched to Router…
enpiarpi
  • 23
  • 3
2
votes
1 answer

Git Workflow Suggestions Please: Where do I gitinit from when working with Concrete5 Packages?

It's awkward to title this without being a little vague so I'm sorry if it's a little unclear. Let me clear things up here. I'm pretty new to git and I'm using bitbucket so part of this most likely comes from inexperience. I'm noticing when I push…
2
votes
1 answer

check user logged in Concrete5 5.7

How do I load the Concrete5 5.7.4.2 environment in order to check if a user is logged in or registered? I used to do it in Concrete5 5.6 with the following code:
Rafael Mora
  • 1,095
  • 2
  • 13
  • 21
2
votes
1 answer

Concrete 5.7 switch database on the fly

I want to write the form result to another database. In Concrete 5.6 you can switch to another database on the fly. I am unable to find out how this works in Concrete 5.7. The 5.6 way $db = Loader::db( 'newserver', 'newuser', 'newpassword',…
Rik
  • 308
  • 1
  • 2
  • 11
2
votes
1 answer

Concrete5 5.7: using a ServiceProvider cross-package

I'm migrating old code to 5.7, and I'm running into a weird issue when it comes to helpers. I'm working with two packages - let's call them A and B. Package A one implements a ServiceProvider. I would like to use it in a controller in package B, but…
Joost
  • 4,094
  • 3
  • 27
  • 58
2
votes
1 answer

Concrete5 - how to get page_list edit screen to read values in custom fields

1. Setup We've added two layout dropdown fields to the page_list block's edit screen by overriding: db.xml page_list_form.php Adding the fields to the view 2. In db.xml we've added:
CMSCSS
  • 2,076
  • 9
  • 28
  • 49
2
votes
2 answers

Page selector (block development)

In Concrete 5.6 it was possible to create a JavaScript callback. I would like to know how this can be achieved in 5.7. I want to select a page and then do an ajax call to get the area names from that page. I took al look at the core files and the…
Rik
  • 308
  • 1
  • 2
  • 11
1 2
3
39 40