Jump to content
Sign in to follow this  
equilla

[Contribution] Infobox Skin Manager

Recommended Posts

Hi all.

 

I am using This great contrib in setting up my site and it is working just fine as it is only a single shop.

 

I am having a problem with trying to get it running on a site I am setting up with multiple shops installed. I believe it is a paths problem, but don't know where to go to fix the problem.

 

Basically, the admin and images files sit directly in the root directory of the site. The public files and the includes folders sit in a sub directory for the respective stores.

 

Both stores are running fine without this contrib so the paths for the basic stores are correct.

 

When I apply a skin (using skin set 1), which is set in admin as 1 also, I get the following error messages

 

Warning: opendir(store1/includes/boxes_content/) [function.opendir]: failed to open dir: Invalid argument in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 124

Warning: readdir(): supplied argument is not a valid Directory resource in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 125


Warning: Invalid argument supplied for foreach() in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 148

 

Line 124 is setting a weird path which I think is the cause

 

$dirhandle = opendir (DIR_FS_CATALOG . 'store1/includes/boxes_content/');
		 while ($file = readdir($dirhandle)) {
	 	   if (($file != '.') && ($file != '..')) $boxes_avail[] = $file;
		 }

 

Can someone steer me in the right direction.

 

Thanks


I Smell Something Burning

Share this post


Link to post
Share on other sites

This is one of the best contributions ever!! I wonder why it's not being improved by the developer or some other php guru.

 

There are a few things that could be improved and make it even better, for instance:

 

- GIF support (right now it only supports JPEG)

- Better resolution for the sliced JPEG (resulting images don't look too good if there's gradient or other cool effects)

- One-click radio button to choose all (it's a pain to have to click one by one of 27 files everytime a layout is changed)

- List files by name and not by file name (less confusing for users)

- Right now the layout for the New products for the month of.... can only be chosen by the first column. It could be placed on the files list to be skinned like all the others

- Support for changing text and background color from admin instead of styles.css. (End users mostly won't know how to do this)

 

Is there someone willing to take over and improve this wonderful contribution a little? I wish I could, but sadly I'm no coder. :(


Patty

Share this post


Link to post
Share on other sites
Hi all.

 

I am using This great contrib in setting up my site and it is working just fine as it is only a single shop.

 

I am having a problem with trying to get it running on a site I am setting up with multiple shops installed. I believe it is a paths problem, but don't know where to go to fix the problem.

 

Basically, the admin and images files sit directly in the root directory of the site. The public files and the includes folders sit in a sub directory for the respective stores.

 

Both stores are running fine without this contrib so the paths for the basic stores are correct.

 

When I apply a skin (using skin set 1), which is set in admin as 1 also, I get the following error messages

 

Warning: opendir(store1/includes/boxes_content/) [function.opendir]: failed to open dir: Invalid argument in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 124

Warning: readdir(): supplied argument is not a valid Directory resource in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 125
Warning: Invalid argument supplied for foreach() in c:\wamp\www\multistore\admin\infobox_skin_mapping.php on line 148

 

Line 124 is setting a weird path which I think is the cause

 

$dirhandle = opendir (DIR_FS_CATALOG . 'store1/includes/boxes_content/');
		 while ($file = readdir($dirhandle)) {
	 	   if (($file != '.') && ($file != '..')) $boxes_avail[] = $file;
		 }

 

Can someone steer me in the right direction.

 

Thanks

You may have to create the directory for the store if it's not there for the store itself. that may be why it's not doing it. Check the code for making new stores and see what it does. It might be in that area.

 

HTH

:D

Share this post


Link to post
Share on other sites

Request : Did someone manage to increase the number of skins , i m working on addind 10 skin here is what i done so far and i got still a trouble , when i create the sliced , after number 10 i got the middle of the preview box taht is black

 

- i changed the value using i$ value for 10 to 20

- i added 10 box to the css

- i changed the boxes.php to put rigadin upgrade form the contibutions downloads

 

any other things to changes ?


MS2

Share this post


Link to post
Share on other sites

still for increasing the number of slice sets :

 

i really got no clue on how to increase the number of slice set to more than 20, in fact i got 20 skins , folders ,and columns showing them, but at the creation of the silces set , the middle is filled with black instead of the box colour


MS2

Share this post


Link to post
Share on other sites

when doing infobox_skins.sql

 

got error :

 

INSERT INTO configuration_group

VALUES ( 6543, 'Infobox Skins', 'Infobox Skinning Options', 28, 1 )

 

#1062 - Duplicate entry '6543' for key 1

 

 

anyone know why?

Share this post


Link to post
Share on other sites

Hello,

 

Is this contribution still offering support? Just incase i will write my problem in hope it may get answered.

 

Firstly i apologise if this issue has been addressed and i have not picked up on it.

 

Basicly, i have installed this contribution with no problems, i manually edited the files and did not replace anything. I uploaded the extra files and had no problems adding the sql to my database.

 

Admin works well, i uploaded my own skin and that was just fine... The only problem i see in Admin is i am getting the titles of the Categories as "BOX_HEADING_TEMPLATES BOX_TEMPLATES_INFOBOX BOX_TEMPLATES_INFOBOX_MAPPING" which is usually insight into a problem that has occured.

 

Anyways, when i click confirm after doing all the steps and getting no errors i look at my site and nothing, same as before, no changes at all...

 

I know it has to do with something i have done wrong but i have installed twice now following the readme and i just can't work it out where i have gone wrong. This is my last step before removing the contribution and going back to how it was before (and currently is apparantly lol)

 

I have the following contributions incase of compatibility:

Secure Admin login-logout

Paypal Verified Infobox

Livehelp Infobox

Google Checkout IPN

Country/State Selector

I have also added my own images to header titles and currently have an image for infoboxcontents which i did try removing to see if that helped which was unsucessfull.

That's about it.

 

If it helps to look at my website to see if you can see anything i have done wrong please go to https://www.falquan.co.uk

 

I appreciate any suggestions or help if possible.

 

Thanks.

Edited by Jcey

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×