Wishpond_Social_Campaigns - Version 1.0.2

Version Notes

Only tested with Magento 1.7

Download this release

Release Info

Developer The Wishpond Team
Extension Wishpond_Social_Campaigns
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/design/adminhtml/base/default/template/socialcampaigns/socialcampaigns.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="content-header">
2
+ <h3 style="margin-bottom: 8px">
3
+ Wishpond Social Campaigns &nbsp;|&nbsp;
4
+ <a href="#" onclick="wp_navigate_iframe('home')">
5
+ Home
6
+ </a>
7
+ </h3>
8
+ </div>
9
+ <div id="wishpond_iframe_container" style="margin-top: -21px;">
10
+ <iframe id="wishpond_iframe" style="border: 0px none transparent;"
11
+ src="<?php echo $this->getIFrameURL() ?>"
12
+ height="2000" width="100%"
13
+ onload="scrollToTop()">
14
+ Sorry, your browser does not support frames.
15
+ </iframe>
16
+ <hr width="100%" />
17
+ </div>
18
+ <?php echo $this->getViewHtml() ?>
19
+ <script type="text/javascript">
20
+ function wp_navigate_iframe(target) {
21
+ var iframe = document.getElementById('wishpond_iframe');
22
+
23
+ switch(target) {
24
+ case 'home':
25
+ // Go home
26
+ iframe.src = '<?php echo $this->getWPHomeURL() ?>';
27
+ break;
28
+ default:
29
+ // Do nothing
30
+ }
31
+
32
+ return false;
33
+ }
34
+ function scrollToTop() {
35
+ scroll(0,0);
36
+ }
37
+ </script>
app/design/adminhtml/default/default/template/socialcampaigns/socialcampaigns.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="content-header">
2
+ <h3 style="margin-bottom: 8px">
3
+ Wishpond Social Campaigns &nbsp;|&nbsp;
4
+ <a href="#" onclick="wp_navigate_iframe('home')">
5
+ Home
6
+ </a>
7
+ </h3>
8
+ </div>
9
+ <div id="wishpond_iframe_container" style="margin-top: -21px;">
10
+ <iframe id="wishpond_iframe" style="border: 0px none transparent;"
11
+ src="<?php echo $this->getIFrameURL() ?>"
12
+ height="2000" width="100%"
13
+ onload="scrollToTop()">
14
+ Sorry, your browser does not support frames.
15
+ </iframe>
16
+ <hr width="100%" />
17
+ </div>
18
+ <?php echo $this->getViewHtml() ?>
19
+ <script type="text/javascript">
20
+ function wp_navigate_iframe(target) {
21
+ var iframe = document.getElementById('wishpond_iframe');
22
+
23
+ switch(target) {
24
+ case 'home':
25
+ // Go home
26
+ iframe.src = '<?php echo $this->getWPHomeURL() ?>';
27
+ break;
28
+ default:
29
+ // Do nothing
30
+ }
31
+
32
+ return false;
33
+ }
34
+ function scrollToTop() {
35
+ scroll(0,0);
36
+ }
37
+ </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wishpond_Social_Campaigns</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
@@ -35,8 +35,8 @@ http://corp.wishpond.com/social-sweepstakes/features/</description>
35
  <notes>Only tested with Magento 1.7</notes>
36
  <authors><author><name>The Wishpond Team</name><user>Wishpond</user><email>nick@wishpond.com</email></author></authors>
37
  <date>2012-08-29</date>
38
- <time>21:40:11</time>
39
- <contents><target name="magelocal"><dir name="Wishpond"><dir name="SocialCampaigns"><dir name="Block"><dir name="Adminhtml"><dir name="SocialCampaigns"><dir name="Edit"><file name="Form.php" hash="62a368b0f5f8f8cd12c3e42edceed6f8"/><dir name="Tab"><file name="Form.php" hash="36a18dfa8436834486570e4f598cc55c"/></dir><file name="Tabs.php" hash="ef22233895abd3b551fc953c299a080e"/></dir><file name="Edit.php" hash="c3285963af346216508f9ae64b3fdf7d"/><file name="Grid.php" hash="da38397c78adab6832fafb8d41c50cd5"/></dir><file name="SocialCampaigns.php" hash="9df31edf92367365428569106ab455bc"/></dir><file name="SocialCampaigns.php" hash="573b7714f0439a04bd6eb609c3c4c09e"/></dir><dir name="Helper"><file name="Data.php" hash="560ddb219079431890450335f90155d5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="SocialCampaigns"><file name="Collection.php" hash="d1cd63894ad249baf80ddaf7d36d054e"/></dir><file name="SocialCampaigns.php" hash="37c3b7c32a9f8cd3556ac726e29da239"/></dir><file name="SocialCampaigns.php" hash="0f67a946caa0061068eeeba34210620d"/><file name="Status.php" hash="28691545b6afb9ad65f0e4e77fefd3ab"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SocialCampaignsController.php" hash="1d04aa47b68006d2d2c5fe1352866b91"/></dir><file name="IndexController.php" hash="feaf2ab4521396763f228cadcefbd057"/></dir><dir name="etc"><file name="config.xml" hash="dd7cabf4b76ba5612431a0efffbda308"/></dir><dir name="sql"><dir name="socialcampaigns_setup"><file name="mysql4-install-0.1.0.php" hash="2f0f3ab1b4df6b1b93ed02a2ada828a0"/></dir></dir></dir><dir name="SocialCampaignsBad"><dir name="Helper"><file name="Data.php" hash="661a6feee02ac07fd481deba04f19db5"/></dir><dir name="controllers"><file name="SimpleController.php" hash="1bc906267a9a076d8268715f85d37c22"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f29b348e5729d44f8131c4aca926e0bc"/><file name="config.xml" hash="d132fb20d5b0551cacabdcbf70d23be2"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="socialcampaigns.xml" hash="0e571de8198e04f1b08aefd2674ad682"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wishpond_SocialCampaigns.xml" hash="922ddd16deb7be4525ca0d987f6b237d"/></dir></target></contents>
40
  <compatible/>
41
  <dependencies><required><php><min>5.3.0</min><max>5.3.14</max></php></required></dependencies>
42
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wishpond_Social_Campaigns</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
35
  <notes>Only tested with Magento 1.7</notes>
36
  <authors><author><name>The Wishpond Team</name><user>Wishpond</user><email>nick@wishpond.com</email></author></authors>
37
  <date>2012-08-29</date>
38
+ <time>21:54:50</time>
39
+ <contents><target name="magelocal"><dir name="Wishpond"><dir name="SocialCampaigns"><dir name="Block"><dir name="Adminhtml"><dir name="SocialCampaigns"><dir name="Edit"><file name="Form.php" hash="62a368b0f5f8f8cd12c3e42edceed6f8"/><dir name="Tab"><file name="Form.php" hash="36a18dfa8436834486570e4f598cc55c"/></dir><file name="Tabs.php" hash="ef22233895abd3b551fc953c299a080e"/></dir><file name="Edit.php" hash="c3285963af346216508f9ae64b3fdf7d"/><file name="Grid.php" hash="da38397c78adab6832fafb8d41c50cd5"/></dir><file name="SocialCampaigns.php" hash="9df31edf92367365428569106ab455bc"/></dir><file name="SocialCampaigns.php" hash="573b7714f0439a04bd6eb609c3c4c09e"/></dir><dir name="Helper"><file name="Data.php" hash="560ddb219079431890450335f90155d5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="SocialCampaigns"><file name="Collection.php" hash="d1cd63894ad249baf80ddaf7d36d054e"/></dir><file name="SocialCampaigns.php" hash="37c3b7c32a9f8cd3556ac726e29da239"/></dir><file name="SocialCampaigns.php" hash="0f67a946caa0061068eeeba34210620d"/><file name="Status.php" hash="28691545b6afb9ad65f0e4e77fefd3ab"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SocialCampaignsController.php" hash="1d04aa47b68006d2d2c5fe1352866b91"/></dir><file name="IndexController.php" hash="feaf2ab4521396763f228cadcefbd057"/></dir><dir name="etc"><file name="config.xml" hash="dd7cabf4b76ba5612431a0efffbda308"/></dir><dir name="sql"><dir name="socialcampaigns_setup"><file name="mysql4-install-0.1.0.php" hash="2f0f3ab1b4df6b1b93ed02a2ada828a0"/></dir></dir></dir><dir name="SocialCampaignsBad"><dir name="Helper"><file name="Data.php" hash="661a6feee02ac07fd481deba04f19db5"/></dir><dir name="controllers"><file name="SimpleController.php" hash="1bc906267a9a076d8268715f85d37c22"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f29b348e5729d44f8131c4aca926e0bc"/><file name="config.xml" hash="d132fb20d5b0551cacabdcbf70d23be2"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="socialcampaigns.xml" hash="0e571de8198e04f1b08aefd2674ad682"/></dir><dir name="template"><dir name="socialcampaigns"><file name="socialcampaigns.phtml" hash="02f8a93531c57f1bcdefdbfefd6f69b4"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="socialcampaigns"><file name="socialcampaigns.phtml" hash="02f8a93531c57f1bcdefdbfefd6f69b4"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wishpond_SocialCampaigns.xml" hash="922ddd16deb7be4525ca0d987f6b237d"/></dir></target></contents>
40
  <compatible/>
41
  <dependencies><required><php><min>5.3.0</min><max>5.3.14</max></php></required></dependencies>
42
  </package>