That is a good question.

I see that right now we can’t have an optional parameter to change the template.

What you could do is test in _pager.tpl which dispatch rule is being used.
The admin uses only a very limited number of dispatch rules.

I think we should add an optional ‘template’ argument to the pager scomp….

- Marc


> On 26 Feb 2017, at 15:13, heiheshang <strangerfuture2...@gmail.com> wrote:
> 
> how can you change scomp pager template for the public part, without 
> affecting the admin template?
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> <mailto:zotonic-developers+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to