mercredi 15 février 2017

Is it possible to append a package resource to a core template

For example, I have modules like so: polls, albums (pictures), now on my timeline I have hardcoded icons and javascript in my timeline:

I plan on creating modules for my scripts, so those modules won't installed by default, I can manually install the module via adding the views in the main layouts, but when I release my script, people won't know how to do it,

I've looked throughlaravel documentation to achieve this, but haven't found anything

For example, this is my status partials in a timeline modules:

<div class="box profile-info n-border-top">
    <form action="" method="post">
        
        <textarea class="form-control input-lg p-text-area" name="status" rows="2" placeholder="Whats in your mind today?"></textarea>
        <div class="box-footer box-form">
            <input type="submit" value="submit" class="btn btn-azure pull-right">
            <ul class="nav nav-pills">
                <li><a href="#"><i class="fa fa-map-marker"></i></a></li>
                <li><a href="#"><i class="fa fa-camera"></i></a></li>
                <li><a href="#"><i class=" fa fa-film"></i></a></li>
                <li><a href="#"><i class="fa fa-microphone"></i></a></li>
            </ul>
        </div>
    </form>
</div>

So, is there a way with this package to add partials from another module to another module automatically?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lJDdMp
via IFTTT

Aucun commentaire:

Enregistrer un commentaire