Created
January 4, 2011 19:48
-
-
Save airways/765285 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ext:lg_replace:haystack needles="{exp:channel_images:images entry_id="{entry_id}" backspace="1"}image_{image_id}|{/exp:channel_images:images}{videos}video_{entry_id}|{/videos}"} | |
{exp:article_pagination:show_page | |
token="page_break" | |
page="{get:article_page}"} | |
{article_body} | |
{/exp:article_pagination:show_page} | |
{/ext:lg_replace:haystack} | |
{exp:channel_images:images entry_id="{entry_id}"} | |
{ext:lg_replace:replacement needle="image_{image_id}"} | |
<img src="{image_url}" /> | |
{/ext:lg_replace:replacement} | |
{/exp:channel_images:images} | |
{videos} | |
{ext:lg_replace:replacement needle="video_{entry_id}"} | |
<div> | |
<a href="videos/{entry_id}" | |
</div> | |
{/ext:lg_replace:replacement} | |
{/videos} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment