I ask about something else.

publication_after=document.getElementById('id').value



how to do so?

среда, 7 декабря 2016 г., 0:38:59 UTC+9 пользователь Marc Worrell написал:
>
> What is the m.ticket.morning?
>
> I assume you want something from a certain day till now.
>
> We have some special syntax you might want to use:
>
>
> http://docs.zotonic.com/en/latest/developer-guide/search.html#date-start-after
>
> In this case we also have “today”
>
> So you could do something like:
>
> publication_after=“today”
> publication_before=“tomorrow"
>
> The documentation is incomplete regarding the possible terms.
> You can check z_datetime:to_datetime/2 for more information.
>
> - Marc
>
>
> On 05 Dec 2016, at 11:38, heiheshang <strangerf...@gmail.com <javascript:>> 
> wrote:
>
>  {% with m.ticket.morning|date:"Y-m-d 
> H:i:s":"Asia/Yakutsk",now|date:"Y-m-d":"Asia/Yakutsk"++" 23:59:59" as 
> morning,evening %}
>     {% for doc in m.search.paged[{query cat='schedule' 
> publication_after=morning publication_before=evening}] %}
>
>
> how to set the value of a variable 'morning' field html ?
>
> -- 
>
> --- 
> 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 <javascript:>.
> For more options, visit 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