Forums / Setting Up Categories, Products, Attributes / Creating an add-on "product type book" for ZC 1.5

Creating an add-on "product type book" for ZC 1.5

Views: 111,142

Results 141 to 160 of 427
31 Aug 2014, 6:51 PM
#141
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Creating an add-on "product type book" for ZC 1.5

Hi Kinsley,

I currently favour the solution where the "Bookx Filter" sidebox contains a popup select element for "author type" which then reduces the authors listed in the sidebox popup "show authors" as well as it would filter the page "authors list" which you get when you choose "Show all authors" from the author filter popup.

Unless you tell me this won't work for your setup, I'll go ahead and implement it this way.

I agree that an update to 0.9.3 will not be of much use if the 0.9.4 is just around the corner.

p.

31 Aug 2014, 8:53 PM
#142
redransom avatar

redransom

New Zenner

Join Date:
Aug 2014
Posts:
20
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi Philou,

Yes I can see why you'd do that and to make sense it would allow you to handle more sites because of it. I just think the client wants a separate drop down which is why I was looking down the route of copying the author logic and creating a separate grouping class.

Kinsley

31 Aug 2014, 8:56 PM
#143
redransom avatar

redransom

New Zenner

Join Date:
Aug 2014
Posts:
20
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi Philou,

Yes I can see why you'd do that and to make sense it would allow you to handle more sites because of it. I just think the client wants a separate drop down which is why I was looking down the route of copying the author logic and creating a separate grouping class.

Kinsley

4 Sep 2014, 7:19 AM
#144
amdad avatar

amdad

New Zenner

Join Date:
Aug 2014
Location:
Dhaka
Posts:
9
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi Philou,
Thanks for your previous help, i need another help from you. your great plugin everything is ok on my site, my site running on zen cart version 1.5.1 and template is "cherry_zen". but recently i installed a new template "apple_zen" unfortunately when i click on list of all author then show all author but sidebox are not stay right place, mean sidebox move left to right and it stay below on list of all authors. like as this picture. please help me how can i solved it.Attachment 14492

4 Sep 2014, 7:47 AM
#145
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi amdad,

it's not that easy on your screenshot to see exactly what the problem is, but my first guesses when things are being pushed down on the page would be:

(a) the content (some TABLE or DIV or something) is too wide to fit in the space, so it moves down on the page until there is enough width for it,

or (b) there is a an element (like sideboxes or so) which has an attribute "float: left" and then there is another element which has an attribute "clear: all", which is being pushed below the floating element.

Are you using web developer tools like they are built into Firefox? There you should try to find the element that has moved down and see if it is either to wide or maybe has a "clear: attribute".

Hope that helps,
p.

P.S. For anybody impatient about 0.9.4., I am on it in these minutes, but the testing takes time to make sure it all works.

4 Sep 2014, 7:49 AM
#146
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

By the way, if anybody is translating BookX langugage files into another language, I am happy to include those language files in the distribution…

Regards,
p.

6 Sep 2014, 1:35 PM
#148
amdad avatar

amdad

New Zenner

Join Date:
Aug 2014
Location:
Dhaka
Posts:
9
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

hi philou,
I am very impatient to get very useful plugin bookx 0.9.4. Also i am waiting to see what new feature include this version. I am very happy to hear this version developed is complete. now left testing this plugin. please inform me approximately how many days required to finally published this plugin?

6 Sep 2014, 2:54 PM
#149
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi amdad,

the development for this version is done and I am updating the installation script and testing installation with a sample shop.
If all goes well, the version 0.9.4beta should be available in the next days on Sourceforge. I will also submit it here at ZC.com, but the review process usually takes a bit of time before the plugin is available in the download section.

regards,
p.

7 Sep 2014, 3:18 PM
#150
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Version 0.9.4 is available for download on Sourceforge https://sourceforge.net/projects/zencartbookx/files/

Please let me know if you install it, even if you should not have problems, that is also a valuable piece of information :)

The new version is also submitted here at ZC.com, but the review process will take some time.

Best regards,
p.

7 Sep 2014, 7:02 PM
#151
amdad avatar

amdad

New Zenner

Join Date:
Aug 2014
Location:
Dhaka
Posts:
9
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi Philou,
I am very happy to get your latest bookx plugin, now i installed your plugin on my site. Unfortunately 2 problem occur on my site.
problem-1: when i click on single publisher then publisher page can not be load but when click on list of publisher then show list of publisher.
problem-2: when click on list of publisher then show list of publisher but sidebox are not stay actual place it move bellow of publisher list.
please suggest me how can i solved it?

8 Sep 2014, 8:44 AM
#152
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

OOps, that's pretty bad. I'll fix that right away and let you know here when a new file is ready.

8 Sep 2014, 9:20 AM
#153
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

amdad:

Hi Philou,
I am very happy to get your latest bookx plugin, now i installed your plugin on my site. Unfortunately 2 problem occur on my site.
problem-1: when i click on single publisher then publisher page can not be load but when click on list of publisher then show list of publisher.
problem-2: when click on list of publisher then show list of publisher but sidebox are not stay actual place it move bellow of publisher list.
please suggest me how can i solved it?

Hi amdad,

please find version v0.9.4r3 BETA on sourceforge. Only difference to 0.9.4r2 is the file "[YOUR_ZC_INSTALLATION]/includes/index_filters/bookx_filter.php", so you really only need to replace this one file and it should fix your problem No. 1.

Sorry about that :-/

Concerning your problem 2, I cannot reproduce the situation. Could you try to use another template and see if the boxes also move around with that template? Secondly you could try to temporarily rename "stylesheet_bookx.css" inside your template folder/css/ to something like "DISABLEstylesheet_bookx.css". This should disable all CSS styling like "floats" etc. of BookX, so you could see if that resolves them problem, and then we know it is a CSS problem together with your template.

Otherwise I would need to see the problematic page online somewhere.

Regards,
p.

8 Sep 2014, 11:39 AM
#154
amdad avatar

amdad

New Zenner

Join Date:
Aug 2014
Location:
Dhaka
Posts:
9
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

philou:

Hi amdad,

please find version v0.9.4r3 BETA on sourceforge. Only difference to 0.9.4r2 is the file "[YOUR_ZC_INSTALLATION]/includes/index_filters/bookx_filter.php", so you really only need to replace this one file and it should fix your problem No. 1.

Sorry about that :-/

Concerning your problem 2, I cannot reproduce the situation. Could you try to use another template and see if the boxes also move around with that template? Secondly you could try to temporarily rename "stylesheet_bookx.css" inside your template folder/css/ to something like "DISABLEstylesheet_bookx.css". This should disable all CSS styling like "floats" etc. of BookX, so you could see if that resolves them problem, and then we know it is a CSS problem together with your template.

Otherwise I would need to see the problematic page online somewhere.

Regards,
p.
Hi Philou,
Thanks a lot for your help, problem 1 is solved, you should be right about problem 2. when i used another template then problem 2 is solved, thanks again.

12 Sep 2014, 7:13 PM
#155
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi philou,
Appreciate for your reply, and best of all everything on the site is working perfectly except the filters.
But i am a little confused with your solution, as the only files on the link are the Attachment 14509 Do i just over write and merge the relevant files or is there any other file to be worked upon

thanks a ton in advance

12 Sep 2014, 7:39 PM
#156
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi desmat,

now that 0.9.4r3 is ready, I have removed the other previous downloads. Yes, you should replace all the files. Some files need manual modifications, most of which should already have been made on your shop, since you are upgrading from 0.9.3
Please check the included documentation.
I am a bit worried though since you got an error when upgrading to 0.9.3 and we didn't fix it at that time, so let's hope that doesn't cause bigger problems now.

p.

1 Oct 2014, 10:26 PM
#157
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

hi philou

great work you are doing,, i get
installed the latest version
all the filters work correctly except for the publishers,
if i use the filter i get the following error "WARNING: An Error occurred, please refresh the page and try again."

als i quite do not understand, that the filters have to be applied in genre, series and author, to get a cascaded filter, any other way does not work

help like always will be appreciated

Thanks for all the time you are investing

2 Oct 2014, 4:00 AM
#158
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Dear philou
Another error that i discovered

if there is only one book in a series, or author, or genre ( publisher not working so cannot comment on that ) then the book is displayed but in the breadcrumb the topmost category is displayed and the listing shows number of books in the top most category, check out http://www.passionfruit.co.in
try any of the under and you will find the error
genre >> History & Civics, Geography
series >> VI to VIII
author >> Anupam Magon

2 Oct 2014, 8:47 AM
#159
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi Desmat,

it's a silly bug I introduced in the first upload of 0.9.4beta. Please download the revised 0.9.4r3 from here or sourceforge:

BookX – Product Type Book - Version: 0.9.4r3
0.9.4revision3 fixes a Fatal Error when filtering for publisher via sidebox filter. Only difference to 0.9.4r2 is the file "[YOUR_ZC_INSTALLATION]/includes/index_filters/bookx_filter.php". If you had installed 0.9.4r2 then you can simply exchange this one file and you have the fix.

Best regards,
p.

2 Oct 2014, 5:31 PM
#160
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

but thats what i have, i have installed the latest version at zen cart/sourceforge, Version: 0.9.4r3 Beta
:(