DeeEmm

Pragmatism in code

Home

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Dolphin - Hide custom pages from non-members

Dolphin is not very good with permissions, as a result it is impossible to assign permissions to individual pages. So if you have created some custom pages for your site that you only want to display to logged in members, you will need the following hack...

Edit

viewPage.php

Find

Continue reading
  3974 Hits
  0 Comments
3974 Hits
0 Comments

DOLPHIN - Create Custom Blocks

Just a very quick tutorial this time.i was looking for a way to create a block that didn't have the normal border and header so that I could add in my own custom HTML. After looking through the code, this is very easy to do - in fact it doesn;t even really need a modification (well not in the traditional sense of the word).Basically what you need to do is this...

Go to the Page Builder in the admin interfaceCreate a block by dragging the 'Simple HTML' sample into position.Add your HTML / text etc, give it a meaningful caption and save itNow you will need to get access to your database by using something like phpMyAdmin.Go to the 'Page Compose' table and find the entry for your newly added block - TIP look for the same captionNow edit this record so that the value of 'Design Box' is 0Now you can checkout your new border-less block by viewing your site in a browser.

DM

  4902 Hits
  0 Comments
4902 Hits
0 Comments