Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

HELP!!!!!!!!!!!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-12-2003, 10:44 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

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
Reply With Quote
  #12  
Old 06-12-2003, 10:46 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

good improvement
__________________
ex x-cart guru
Reply With Quote
  #13  
Old 06-12-2003, 11:29 AM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default Thank for your help Funky

Thank for your help Funky

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

Probobly somthing simple.
Reply With Quote
  #14  
Old 06-12-2003, 11:33 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

did you make the amends in home.tpl?
__________________
ex x-cart guru
Reply With Quote
  #15  
Old 06-12-2003, 11:35 AM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default ...

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?
Reply With Quote
  #16  
Old 06-12-2003, 01:03 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

admin/subscriber_list.php - once logged into admin
__________________
ex x-cart guru
Reply With Quote
  #17  
Old 06-12-2003, 01:05 PM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default 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?
Reply With Quote
  #18  
Old 07-10-2003, 10:20 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

John,

Did we resolve this?
__________________
ex x-cart guru
Reply With Quote
  #19  
Old 07-10-2003, 10:48 AM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default 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
Reply With Quote
  #20  
Old 07-11-2003, 07:42 PM
 
toonarific toonarific is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 92
 

Default

now, how do we sort it alphabetical for easy email lookup?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:25 AM.

   

 
X-Cart forums © 2001-2020