Forums / Cotonti / Extensions / Pages order in tag output

Macik
#39497 2014-05-02 15:53

 Now it's all fine, it works. But I was actually planning to hide the sorting options, just leaving the "By begin date" as a default method of sorting pages. Are there any ways of doing so?

This way it's faster to do it via edit template `tags.tpl` and replace:
<select name="order">
	<option value="">{PHP.L.tags_Orderby}</option>
	<option value="">--</option>
	{TAGS_ORDER}
</select>

with:

<input type="hidden" name="order" value="begin" />

Then you can stop `tags.first` part of plugin, leaving only `tagsort.pages.query`.

Also, if you have any ideas on another Tags issue, welcome! Here's the topic: http://www.cotonti.com/forums?m=posts&q=7730.

I'll check it later.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F