Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton Oosthuizen 206 posts 486 karma points
    Jun 09, 2014 @ 13:13
    Anton Oosthuizen
    0

    Adding an image to the content create view in umbraco 7

    Hi All

    I need to add an image to the content creation menu for example enter image description here

    What is the best way to extend umbraco without breaking it ?

    Secondly I've amended,as a test, /umbrabaco/views/content/create.html but with no affect

    Please can you point me in the right direction

    <div class="umb-dialog-body with-footer" ng-controller="Umbraco.Editors.Content.CreateController">
    
        <div class="umb-pane">
        <h5><localize key="create_createUnder">Create a page under</localize> {{currentNode.name}}</h5>
    
        <p class="abstract" ng-hide="allowedTypes">
            <localize key="create_noDocumentTypes" />
        </p>
    
        <ul class="umb-actions umb-actions-child">
    
            <li ng-repeat="docType in allowedTypes | orderBy:'name':false">
                <a href="#content/content/edit/{{currentNode.id}}?doctype={{docType.alias}}&create=true" ng-click="nav.hideNavigation()">
    
                    <i class="large {{docType.icon}}"></i>
    
                    <span class="menu-label">
                        {{docType.name}}
                        <small>
                            {{docType.description}}
                        </small>
    
                    </span>
                    <span><img  style = "height:30px;width:70px"src="/images/rows/{{docType.name}}.png"></img></span>
                </a>
            </li>
    <!--
            <li class="add">
                <a href="#settings/documenttype/create/{{currentNode.id}}?doctype={{docType.alias}}&create=true" ng-click="nav.hideNavigation()">
                    <i class="large icon-add"></i>
                    <span class="menu-label">
                        Create a new document type
                        <small>
                            Design and configure a new document type
                        </small>
                    </span>
                </a>
            </li>   -->
        </ul>
        </div>      
    </div>
    
    <div class="umb-dialog-footer btn-toolbar umb-btn-toolbar">
            <button class="btn" ng-click="nav.hideDialog(true)">
                <localize key="buttons_somethingElse">Do something else</localize>
            </button>
    </div>
    
  • Anton Oosthuizen 206 posts 486 karma points
    Jun 24, 2014 @ 14:23
    Anton Oosthuizen
    0

    Anyone ?

  • Anton Oosthuizen 206 posts 486 karma points
    Jun 25, 2014 @ 14:59
    Anton Oosthuizen
    0

    Ok for some reason the images didn't display until I restarted the app pool. Please don't worry about the broken images links.

    enter image description here

    My main question is how can I go about extending the umbraco backend without breaking it. Is there an event that I can handle in angularjs for ng-repeat that I can inject the code somehow ?

    Thanks

  • Anton Oosthuizen 206 posts 486 karma points
    Jul 02, 2014 @ 10:44
    Anton Oosthuizen
    0

    Calling on all the angular gurus !!!!!

  • Anton Oosthuizen 206 posts 486 karma points
    Jul 22, 2014 @ 12:45
    Anton Oosthuizen
    0

    Any Guru?

Please Sign in or register to post replies

Write your reply to:

Draft