Search found 4 matches

by Krapulator
Tue Jun 19, 2012 9:02 pm
Forum: CMSMS Core
Topic: [SOLUTION] Password Protected Pages
Replies: 0
Views: 831

[SOLUTION] Password Protected Pages

I came up with a variation on this that doesn't require editing the core files. I created a user-defined tag called password_protect and added the following code: function call_http_authentication() { header('WWW-Authenticate: Basic realm="Enter username and password"'); header('HTTP/1.0 4...
by Krapulator
Mon Jan 26, 2009 12:48 am
Forum: Modules/Add-Ons
Topic: Need assistance in creating a new template for the Photo Album plugin
Replies: 0
Views: 603

Need assistance in creating a new template for the Photo Album plugin

I am trying to create a new template which will, on a single page, loop through all the albums in the selected category and write all images to the page. So far I have: {foreach from=$albums item=album} {$album->name} // need to know how to get all the images from the album in the current loop and t...
by Krapulator
Sun Nov 30, 2008 6:04 am
Forum: Developers Discussion
Topic: Adding new fields to content edit screen
Replies: 2
Views: 1349

Re: Adding new fields to content edit screen

So I take it there is no way to add extra fields to the content edit page short of hacking the core?
by Krapulator
Sat Nov 29, 2008 3:23 am
Forum: Developers Discussion
Topic: Adding new fields to content edit screen
Replies: 2
Views: 1349

Adding new fields to content edit screen

I am building a module and I want the module to add an image upload field to the main Edit Page admin screen (beneath the WSYWIG editor. Are there hooks in the core that let me add a field to this screen from a module?

Go to advanced search