Developing (v7+)

Dialog form populated with info from page

This is my dialog code: jQuery.fn.dialog.open({ title: 'Edit School', href: editItemURL, width: 550, modal: false, height: 380 }); The 'editItemURL' loads a form. Is there a way to populate this form with info…

Designer Content internal links

Hello, I'm using Designer Content which is super usefull. However there's something I can't figure. I'm trying to add images (reduced to thumbails), with a link on them to the full size img. Just by using the Image input. I managed via Javascript…

Custom Next/Previous navigation buttons

Hello, I'm currently in the process of "concretizing" my html site that requires very simple next/previous page navigation through two buttons on each side of the page. I've searched on here and on google about this but haven't found what I'm looking f…

On file delete event

Is there a way for my package to know when a file is removed from the file manager? I want my package to respond if it is using this file. Is there a hook or something?

File Manager Javascript API

Are there any tutorials for the file manager's javascript api? I got it working for me using this code in my element: onclick="ccm_alLaunchSelectorFileManager('ccm-b-image')" with the ccm_chooseAsset() callback. I'd like to see a tutorial, howeve…

Placing default value in the form fields

I'm using the form builder with the addition of the Ajax Form add-on from jordanlev (kudos for that by the way jordan). I have a really simple contact form in the footer of the site and I need to change the value attribute in one field and add a defaul…

CSS and Custom Template

Hey, everyone. After adding Remo's thumbnail custom template to page_list, I tried applying a custom style to each entry. Namely, it would be nice if the image was floating left. So, in /blocks/page_list/templates, I created view.css and placed thi…

Custom block, multiple files

Hi everyone, I'm like to build a block that sounds simple, but looks difficult to me... the layout will be quite simple: one or more images on the left, a title and a (rich)text on the right. I found several tutorials around but couldn't find a full …

Filter Posts