Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2013, 03:23 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 12,520
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default PHP Support

I'd like to edit the open shop button to just a regular HTML button, but everything I seem to try doesn't work. I've found this section of code:

PHP Code:
public function getShopStatus($shop){    
        if(
$shop->status == "open") return new Link("shop/browse/{$shop->shopname}", new Image("templates/icons/next.gif"));
        else return 
"Closed";        
    } 
But I can't seem to change it so that it makes a regular HTML button instead of using that image.


-----------
I would also like to know how to remove the Shoptype and SalesTax columns from the shop table, and how to edit the Name of the information at the top of the table, ie: Where it says 'Category' and 'Enter'.

-------------

Third thing is that I'd like to place the adoptshops and the itemshops on different pages. I was wondering if this was possible, because having to select which type of shop you want to visit from a drop down bar doesn't look quite as professional as having two seperate pages.


Thanks for all the help and I'm sorry if this is too much to help with for one post.

Thanks for all the support you've given us.
Reply With Quote
  #2  
Old 06-10-2013, 07:53 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,406
Hall of Famer is on a distinguished road
Default

Its a bit tedious to get it done with HTML buttons, as you have to create multiple forms that lead you to different url locations. Its definitely doable, but be prepared to write a long chunk of code if you decide to take this path.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 06-10-2013, 10:13 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 12,520
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Thanks for letting me know, I'll stick to this and just change the image then. Any ideas on the other couple of things? Also, welcome back to the posting world! We missed you. <3
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support for BBCode jason1234h Questions and Supports 2 07-22-2013 12:46 AM
Anyone support charities? Tequila Other Chat 0 02-25-2010 08:41 PM
Quick support please! trollis76 Questions and Supports 1 04-16-2009 02:39 PM


All times are GMT -5. The time now is 06:34 PM.

Currently Active Users: 648 (0 members and 648 guests)
Threads: 4,081, Posts: 32,031, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636