X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   HELP!!!!!!!!!!! (https://forum.x-cart.com/showthread.php?t=3135)

PhilJ 06-12-2003 10:44 AM

might wanna add a link to remove any crap email addresses (updated)

Code:

{include file="location.tpl" last_location="Subscriber List"} {if $smarty.get.usertype
eq ""} {capture name=dialog}
<table onmouseover="this.style.backgroundColor='#f5f5f5';" onmouseout="this.style.backgroundColor='#ffffff';" width="100%" border="0" cellpadding="2" cellspacing="0">
  {section name=subscriber loop=$subscribers}
  <tr>
    <td style="border-bottom: 1px solid #F0F0F0"><a href=mailto:{$subscribers[subscriber].email}>{$subscribers[subscriber].email}</a>
    </td>
    <td style="border-bottom: 1px solid #F0F0F0"><div align="right">Remove</div></td>
  </tr>
  {/section}
</table>
{/capture} {include file="dialog.tpl" title="Subscriber List" content=$smarty.capture.dialog
extra="width=100%"} {/if}



Works on v3.4.3. thanks for the mod :wink:

funkydunk 06-12-2003 10:46 AM

good improvement

John7 06-12-2003 11:29 AM

Thank for your help Funky
 
Thank for your help Funky

But for some reason I'm getting a blank screen.

Probobly somthing simple.

funkydunk 06-12-2003 11:33 AM

did you make the amends in home.tpl?

John7 06-12-2003 11:35 AM

...
 
I added


{elseif $main eq "subscribers"}
{include file="admin/main/subscriber_list.tpl"}

to the central space.


all I have to run is subscriber_list.php and this should work right?

or is there another string involved?

funkydunk 06-12-2003 01:03 PM

admin/subscriber_list.php - once logged into admin

John7 06-12-2003 01:05 PM

Hmm thats what I thought.
 
Hmm thats what I thought.


I wonder why its coming up blank.

By the way did you get my pm?

funkydunk 07-10-2003 10:20 AM

John,

Did we resolve this?

John7 07-10-2003 10:48 AM

Well
 
I'm sure your script works since you tested it and it works for you.

Its got to just be a matter of how the script is installed on my end.

I personally didn't get it to work yet, but havent had time to get back to it in a while. So many other things have come between since. I'll try it again soon with a fresh install.

Thanks

John7

toonarific 07-11-2003 07:42 PM

now, how do we sort it alphabetical for easy email lookup?


All times are GMT -8. The time now is 12:54 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.