Developing (v7+)

Creating Most Read/ Commented List

BACKGROUND: I'm currently trying to pull a list of pages (say top 10) which by site statistics are most read/ commented by visitors. QUESTION: 1. Is there a database table in C5 which compiles page visits? 2. Is there a function which can parse the …

Passing a variable

Declaration: I am a dabbler, not a skilled coder! I'm transferring an existing site into C5 and going great guns. I'm using single_page types to recreate the more complex pages that make db calls. It was going well until I hit a page which relies on…

Advanced group permission

Hi, I have modified the advanced group permissions in concrete5, so that it's possible to add sub groups (at least one layer), and the sub groups are inheriting the parent group's permissions. Since most of the code was under the /concrete folder, I wa…

Just made a job to generate Google News Sitemap

Ok~. If you are looking for concrete5 to be news site, and want to syndicate to Google News, there are some specification you need to meet. You need to have unique URL with at least three digit of numeric unique number embedded in URL UNLESS you cre…

jQuery settings from a js file issue

Forgive me... I am a designer recently turned into a very mediocre developer. :-) I have a site that is calling several jQuery plugins and they all load fine. I understand that c5 installs jQuery automatically so I am NOT calling for the library again. Ho…

correct url address for using social RSS for Facebook

I am trying to use social RSS to show my blog posts on a facebook page but am not sure if this is the correct URL to load as it does not have RSS in it - http://www.flyfishinginnewzealand.com/index.php/blog/ - should I have something else setup with the …

Check If Block Type Installed - Best Practice?

I'm wondering what the best practice is for checking if a particular block (block type, actually) is installed. Let's say I have developed a block of type Widget. My Widget block is self-contained and fully functional, not requiring anything else to be…

tinyMCE with popup dialog

Hey all, I have a dashboard page where I have some hidden content in a div. I have an onlick button that I want to bring up the dialog with a WYSIWYG editor containing the content from the hidden div. But the WYSIWYG is not initializing correctly. …

add attribute (type select) from package

Hi i'm looking to found how to add a select page attribute from package for the boolean one i made like this in controller.php file: [code]Loader::model('collection_attributes'); $ExempleAttrKey=CollectionAttributeKey::getByHandle('exemple'); if…

Rename view.php in a custom template...

I am having problems with some custom templates I have installed on a block. The view.php files seem to overlap each other. I am just wondering if it's possible to rename the view.php file in each different template? Thanks.

Filter Posts