D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Adding new options

Front Page D5 Creation Forum General Support Adding new options

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3209
    Vladimir McBadger
    Participant

    Firstly, great theme.

    I’m using the free version currently to evaluate and I want to add an additional option. I’ve modified option.php and front-page.php and succesfully added a new piece of text that will display on the home page.

    Ideally I want to be able to display html text, however when I input the html into the option box the html tags get stripped out and all I’m left with is the text. Is there any way to add a new option that allos for html to be saved and displayed on the home-page?

    I assume that you would need to modify the option type but I’m not sure what value it would set.

    $options[] = array(
    ‘name’ => ‘Front Page Opt-In Box’,
    ‘desc’ => ‘Input your html for your front-page opt-in box here’,
    ‘id’ => ‘optin_html’,
    ‘std’ => ‘This is where the opt-in box should go’,
    ‘type’ => ‘text’);

    #3937
    D5 Creation
    Keymaster

    What is the Theme and What is your site url?

    #3957
    Vladimir McBadger
    Participant

    The theme is D5-Design and the URL is http://www.therealleanstartup.com

    Currently I’ve removed the additional option and added the opt-in box directly into the php for front-page.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.