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
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
<input type="hidden" name="business" value="[Your Secure Merchant ID]" > | |
<input type="hidden" name="cmd" value="_donations" > | |
<input type="hidden" name="item_name" value="[Donation Description]" > | |
<input type="hidden" name="return" value="http://yourdomain.com/thank-you" > | |
<div> | |
<label for="amount">Donation Amount:</label> | |
<input name="amount" type="text" id="amount" > | |
</div> | |
<input name="submit" type="submit" value="Donate" > |
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
<script> | |
$('form select').change(function(){ | |
$('form').submit(); | |
}); | |
</script> | |
<form action="boo" method="post"> | |
<select name="beatles"> | |
<option value="john">John</option> | |
<option value="paul">Paul</option> |
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
<form name="catmenu" action=""> | |
<label for="cat-select">Choose A Category</label> | |
<select id="cat-select" name="selcat"> | |
<option value="">-- Select --</option> | |
{exp:channel:categories channel="mychannel" disable="category_fields" style="linear"} | |
{if parent_id == '0'} | |
<option value="{path='mychannel'}">{category_name}</option> | |
{/if} | |
{if parent_id != '0'} | |
<option value="{path='mychannel'}" class="subcat">↳ {category_name}</option> |
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
{exp:channel:entries channel="learning-category" dynamic="no"} | |
{reverse_related_entries channel="activities"} | |
<a href="{title_permalink='activities/detail'}">{title}</a> | |
{/reverse_related_entries} | |
{/exp:channel:entries} |
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
{preload_replace:page_title="{embed:page_title}"} | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
{exp:channel:entries limit="1"} | |
{exp:nsm_better_meta:template | |
entry_id="{entry_id}" |
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
{preload_replace:page_title="{embed:page_title}"} | |
<!DOCTYPE html> | |
<html lang="en-us"> | |
<head> | |
<meta charset=utf-8" /> | |
{if page_title} | |
<title>{page_title}</title> | |
{if:else} |
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
<?php | |
header( "Location: {exp:channel:entries channel='external_link'}{external_link:var}{/exp:channel:entries}" ); | |
exit; | |
?> | |
<!-- This gives me the error: "The URI you submitted has disallowed characters." --> | |
<!-- And the URL looks like this: http://mysite.com/template_group/%7Blv_twitter%7D --> |
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
{exp:channel:entries channel='external_link'}{exp:low_variables:single var='{external_link}'}{/exp:channel:entries} | |
{exp:channel:entries channel='external_link'}{exp:low_variables:single var='{external_link:var}'}{/exp:channel:entries} |
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
$('#pager a').click(function(e){ | |
e.preventDefault(); | |
var theUrl = $this.attr('href'); | |
$.ajax({ | |
url: theUrl, | |
success: function(data){ | |
var results = $(data); | |
var finalResults = results.filter('#preResults').html(); |
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
$('#pager a').click(function(e){ | |
e.preventDefault(); | |
var theUrl = $this.attr('href'); | |
$.ajax({ | |
url: theUrl, | |
success: function(data){ | |
var results = $(data); | |
var finalResults = results.filter('#preResults').html(); |
OlderNewer