Questions tagged [partials]

Partials are often synonym for templates, which can even also be called partial templates.

Partials are often synonym for templates, which can even also be called partial templates.

763 questions
0
votes
1 answer

Angular.js reuse partial for different data

I am trying to reuse the same partial to display data. I want to display girls winners on the left side of the screen using that template and boys on the right side. Unfortunately data is not displaying in the template, so I am assuming I am not…
kaplievabell
  • 759
  • 1
  • 11
  • 27
0
votes
1 answer

Zend Framework :: extending action variable scope for partials

I want to know if there exist any other way through which we can access the controller name, action name and other variables inside a partial. In other words, I want to extend the scope of my action variable to be accessed inside the partial…
user274383
  • 121
  • 1
  • 7
0
votes
1 answer

Partials for Collection of Rails Objects

I have a collection of 3 types of objects, Posts, Products, and Content. I want to put all of these objects into a feed and order them by when they were created. I've done all that. The issue I'm having is I want to have a different partial for each…
Alex Smith
  • 385
  • 4
  • 21
0
votes
1 answer

angular js template with routing and translate refusing to work

I am new to angular and it seems very interesting I am creating a template for a promotional page and struggling to understand what is causing an issue on it - half of the script stopped working... My fiddle is in here see > fiddle example or…
Danila Belov
  • 83
  • 10
0
votes
0 answers

Zend_View_Helper_Partial - performance measure

I am trying to extend the zend partial helper to make it a little faster for my own needs. The code of how I do that is not important at this point. I have created a unit test which acts weird and I can not understand the reason for it this is the…
iosifv
  • 1,153
  • 1
  • 10
  • 26
0
votes
1 answer

Getting started with Grunt and sass (partials)

I am just getting started with Grunt and am a bit confused about how to configure my gruntfile.js to recognize changes to sass partial files. I've followed the article on 24ways.org by Chris Coyier and feel pretty comfortable with the basics. When…
derekshirk
  • 187
  • 1
  • 7
0
votes
1 answer

How to pass data from different sources using mustache.php and mustache partials?

I'm using mustache.php. Suppose I have an HTML structure like the following (just an example to let you understand my problem) in my mustache template:
0
votes
1 answer

Angular load partial based on data sent by server

I have an that is filled with a partial html file when a button is clicked i.e Sign In myApp.js var myApp = angular.module("myApp", ['ngRoute']); //Define Routing for app myApp.config(['$routeProvider', …
Elementary
  • 399
  • 2
  • 5
  • 17
0
votes
2 answers

Where to place CSS in AngularJS partials?

I know a good practice is to keep css code in a external .css file, instead on adding tags in the html code. But what about css code that is only valid for a single angular partial html? Thanks for your advice.
Jorgito Gutierrez
  • 479
  • 2
  • 5
  • 12
0
votes
0 answers

Ruby partial not rendering when trying to call a collection

I think i'm missing something really simple... I'm trying to call a partial (located in vdrop\_vdrops.html.erb) from another controller (in the calculators\index.html.erb view). I have variables that need to be passed back to the calculators index…
KevinW
  • 511
  • 1
  • 5
  • 14
0
votes
1 answer

Load html partials dynamically in a div

I have a web page with two columns. In the left column I show buttons. When pressed on a button then a HTML partial should be loaded in the right column. That HTML partial can be seen as a "widget". The problem is that I'm not sure how to load the…
Vivendi
  • 20,047
  • 25
  • 121
  • 196
0
votes
0 answers

Angularjs: