View Single Post
  #6  
Old 11-26-2013, 05:15 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,662
IntoRain is on a distinguished road
Default

1) It is possible, I divided mine into 3 sub-stores (so link is like (...)/shop/shop1 and (...)/shop/shop2 etc) but I don't really remember how much I changed, but I believe it's in the shop.php index function. You just have to take out the dropdown box and in this part:

$shoplist = new Shoplist($mysidia->input->post("shoptype"));
$shoplist->display();

Basically it takes the shoptype chosen and creates a Shoplist with it. What you have to do is manually create it (put "itemshop" or "adoptshop" as parameter). I have 3 public functions for each shop and all I do in each one is create the document (page), the shoplist with the parameter I want and then display.

2) Again, also possible. It's in the class_shoplist in the display function. Take out whichever fields you don't want from the header and the buildRow

edit: this in 1.3.3, not sure how much changed in the newest version
__________________


asp.net stole my soul.

Last edited by IntoRain; 11-26-2013 at 06:09 AM.
Reply With Quote