Forums / Setting Up Categories, Products, Attributes / Product Type Book (by moku)

Product Type Book (by moku)

Started by moku on 12 May 2006, 6:37 AM · Views: 203,732

Results 241 to 260 of 647
1 Jul 2007, 12:31 PM
#241
jazeem avatar

jazeem

New Zenner

Join Date:
Jul 2007
Posts:
3
Plugin Contributions:
0

Product Type Book (by moku)

hareslade
I congratulate you on the release of the new version of your 'product book type'. I am the 1st time user of your Zen cart add on. The issue I am facing is that I am not able to add 'author's' through 'Extras>Book authors'. It is adding the rows but not showing what I have entered as author's name or nick name. The details are not shown on the add book section also. The authors list is blank there. I am able to successfully add book type, book format etc. It would be great if you could crack my problem. I have been sitting with this for about 2days.
Thanks and Regards
Jazeem

1 Jul 2007, 1:13 PM
#242
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Jazeem.. I'll upload a new test cart / V3 install, and check it out again. In the meantime, you have acess to phpmyadmin, see if the database book_authors table actually has any entries in it.

1 Jul 2007, 2:32 PM
#243
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Raunharman, re. your post a few days back! I said...

hareslade:

Or you could use the id, insert this into the css file, it should only of course change the product name size
..

#productName {
font-size: 3em;
color: #9a9a9a;
}

> 
> .
my apologies...regarding the book title,  in the stylesheet_book_prod.css there is already the entry

#productName{
font-size:1.2em;
}


That's a css entry I put in to control book title size, thats the one needs altering
1 Jul 2007, 2:58 PM
#244
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Jazeem...

I installed the book V3 files on a new 1.3.7 test cart, I do get the authors entries inputted ok, and listed in books admin authors dropdown, so I currently don't know why you do not...

Feel free to 'private message' me for suggestions, to continue sorting it out.. it sounds like the authors table will be empty..

I mentioned 'phpmyadmin' above, without explaining.. usually in cpanel for your host, there is access directly to the database setup system.. also they usually use phpmyadmin to give you access into the database tables directly.

Alternatively (which is what I used to do sometimes) is get hold of the phpmyadmin fileset (its free) and install it on the actual website, then you can see the database without having to go through cpanel.

The phpmyadmin needs pointing to your database, similar to zencart install procedures.

1 Jul 2007, 5:40 PM
#245
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hello,
I install a new zen 1.37 shop and the book product type 2.0 on it. Then I transform it for using with DVDs. All works well. I add two DVDs and use the authors field for performers. Then I read in this forum about Version 3 and install it over and run the 2 to 3 SQL-Patch. Now the performers are only shown when I use the english admin, if I switch to german, there ar no performers stored. If I try to edit a performer (author) and save it, there is no name in german and also in the english language it is away. The same happens, when I insert a new performer(author), only the picture is stored in the database but no name and no nickname in no language.

1 Jul 2007, 5:43 PM
#246
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have a look with phpMyAdmin to the database. book_authors_name and book_authors_nickname are empty in both languages.

1 Jul 2007, 11:53 PM
#247
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

michaelhl
Your post confuses me a bit ... but that's my problem!

It's correct that if you install V3 over V2, then create german afterwards, you'll see an empty (for instance) author names dropdown, in the german book admin page section, for all book products. But the dropdowns are still full in English section....

The newly created / required 'language 2' (german) dropdown entries will indeed all be empty, you need to fill the empty german ones up in admin | 'extras'.

I am not sure if you are saying these german dropdown list entries now can't be filled up, or if you do, the English ones disappear?


Maybe its confusing that you have to go and manually put the new language's entries into all the 'extras' lists such as authors - I could change the system so it mimics what zencart does, just copy all the dropdowns lists across from English?

(there is an auto update function on each 'admin | extras' dropdown entries list,
so I can make that auto-update copy the English values across - at present it creates blank entries in the 'new' language, e.g author name, info. and nickname fields)

Further than that... do p.m me with more info (for instance mysql version, more info)... this is a V3 beta, its hard to predict how people will use it, or expect it to behave, most specially in upgrade mode, then using multiple languages.

.

2 Jul 2007, 10:40 AM
#248
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

The beta1 V3 has some bugs in it I need to fix...what michaelhl says is correct...

So although beta1 V3 works in single language, just the admin side needs correcting, in the way the 'extras' 'dropdown' pages work in multiple language.

I'll do those mods shortly, I will get back with a Beta 2 version3!

3 Jul 2007, 12:17 AM
#249
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Product Type Book (by moku)

hareslade:

The beta1 V3 has some bugs in it I need to fix.

To add to your list...

I just did a fresh install of 1.3.7 and then added the new beta to it. I discovered that my first couple of attempts to enter books resulted in an entry with no title and no description. (yes, I looked in phpmyadmin)

When I tried again with data in more of the fields it worked. I'll do a little more experimenting to see which field(s) make it happen and which don't, but I won't be able to get to that for a bit.

Member since 4/05.

3 Jul 2007, 3:57 AM
#250
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Product Type Book (by moku)

How do you handle multiple authors?

For instance, I've got books by "joe blow, jane doe, and joe schmoe"

Also, how do you handle one author who has written some books solo and some in combination with other people? Do I have to create a new author entry each time Joe Blow writes a book with someone else?

BTW, the above problem I was having appears to be associated with adding authors from the product input form. I can't add authors properly either. (though it works fine through phpmyadmin)

Member since 4/05.

3 Jul 2007, 11:27 AM
#251
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

bits and pieces..

The authors are individual - in other words, once you put an author in the authors main list, it's there to be selected for any book. So if you need 3 authors for a book, provided they are listed you can just select them. The cart book displays sort out that there are those 3 authors, and displays them.

Well yes, my beta V3 repairs list is getting longer maybe..

When you advise what bugs may be there, please say which languages you have installed, or if running single language. What I am now aware is, that it looks like multiple language is popular, so I will indeed make efforts to ensure V3 runs ok.

[ One thing I found is that on an 'overlay' of an updated fileset onto an older one, Smartftp uploader sometimes quietly omits to overwrite some files.

This omission of course could wreck a V2->V3 upgrade .. I now only allow Smartftp to over-write step by step, 'per file' rather than letting it run through .. to make sure it actually does the overwrite on all files. ]

The probs with V2->V3 upgrade mode I've ironed out, (my omission of 'auto insert missing languages' in the authors list admin page).

I have the updated V3 fileset here, but am just delaying a little to see what else arises. If you desperately need it for a V2->V3 upgrade p.m me (click my name on left)

bilc108 yes do advise the situation.. I've not had empty titles occur,

One thing I remember may occur, is that if you go 'backwards' from the book preview page, the 'collect info' entries may be 'blanked, because it 'forgets' what was entered, so don't go 'back' from preview - its better to complete the preview page's 'save', which then puts the product data into the database.

..and then go back to the collect info first page again on that product, to correct whatever and re-save.

3 Jul 2007, 10:51 PM
#252
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have the BETA 2 version of the V3 multilanguage book product ready, there may still be the odd prob. of course. The v3 is for use in single, or multiple languages.

This time I'll give the site page url to get the zip download from, as people seeing this later can then get the latest version regardless

Click on the AVAILABLE HERE link, on this page
http://www.hareslade.com/zc/index.php?main_page=document_general_info&cPath=51&products_id=482

I've tamed some of the V3 multilanguage monster's strange habits, and it should work better on a V2 to V3 book type upgrade as well.

I emphasised the 'collate' (copy) mode, which for a brand new book product (OR an existing one) enables you to just enter title, description and select other entries, on the first language block.. saving it will automatically clone the entries into the other languages. Use 'collate' with care!

If you are overwriting Beta1 V3, do make sure all the Beta 1 files do get overwritten, do it step by step if necessary. Beta 2 'book admin' page has a Yellow area round price/weight, where Beta 1 has a reddy colour. You do not need any sql patches to go V3 Beta 1 to V3 Beta 2.


For those interested in what I bin up to, all the coding changes are to the book admin files in \admin, because the cart display side is relatively simpler.

There were some probs hopefully ironed out with the book 'collect info' page in 'new' mode, and I've corrected a fault on book 'type' field, which was not saving in multiple languages properly.

I also now copy the (english) field entries across on 'auto insert missing languages' process, which makes it easier when a new language is added, to update the 'extras' tables which provide language-based dropdown values for the collect_info page entries.

There didn't seem much point in my testing beta2 excessively, as I haven't changed it a lot... beta testers will find the bugs if any :)

5 Jul 2007, 4:33 AM
#253
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Product Type Book (by moku)

hareslade:

bits and pieces..

The authors are individual - in other words, once you put an author in the authors main list, it's there to be selected for any book. So if you need 3 authors for a book, provided they are listed you can just select them. The cart book displays sort out that there are those 3 authors, and displays them.

Ah, right there in front of me, but I missed it. Thanks.

[ One thing I found is that on an 'overlay' of an updated fileset onto an older one, Smartftp uploader sometimes quietly omits to overwrite some files.
Sounds like Smartftp may not be all that smart!

bilc108 yes do advise the situation.. I've not had empty titles occur,

Speaking of not so smart... I had missed uploading a couple of files myself, which was the source of the trouble. Uploaded, and all is well now. Sorry for the false alarm.

Member since 4/05.

9 Jul 2007, 3:44 PM
#254
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Update for v3 beta2 users:

my beta tester showed up a bug, Beta2 just needs a fix, a single file uploading.. apply it anyway, the fix is not in the main beta2 fileset.

Some servers were allowing new authors names to be added in 'extras', others were not. My fault, a silly error..

The fix is listed in the V3 beta2 part, on my site page where it say 'PLEASE APPLY ALSO'
http://www.hareslade.com/zc/index.php?main_page=document_general_info&cPath=51&products_id=482

The main V3 beta2 multi-language fileset is there too

10 Jul 2007, 12:31 AM
#255
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

I've been looking at the 'ultimate seo' contribution, which was by Dreamscape but also is updated by Dr Byte to 135 status.

First I must say, it looks to me like not all of the url gets converted to 'friendly', regarding the V3 multilanguage beta2, I cannot get rid of '?language=' . I see this as a limitation..

BUT here is the ultimate seo contribution fileset, modified to 137 status, and with special mods to convert the 'books' product pages url's to 'friendly' url - or I should say.... less unfriendly.

There is also a readme in the zip file , explaining how to convert your 'standard' ultimate SEO install, to the book-friendly version. And you might want to consider upgrading any 135 files uploaded from the Dr. Byte 135 SEO version, to zc 137 form as well.

And my mods should work with all versions of the book contribution - that means the moku original, my V2, and V3 beta versions. Give it a try..

http://www.hareslade.com/zc125/downloads/test_zips/ultimate_seo_urls_137_for_books.zip

12 Jul 2007, 4:30 PM
#256
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hello Paul,
thank you for your work with the seo-URLs. It works but if I enable the SEO-URLS in the Admin Panel, the products didn't use the product_book_info.php, they are shown in a other Way, I think the use the product_info.php. If I disable the SEO contribution, the products are shown how it should be.

And another question, is it possible, that the book 3 Beta 2 overwrites the productdiscription. My standart language is german, it should copy the drop-down values to the english language. But I think it also copy the german description, because I loose the english one.

12 Jul 2007, 8:38 PM
#257
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hi michaelhl
I'm not quite sure what you mean with the SEO url's... I only modified the url for product_book_info.php url paths... which is the book template. Perhaps you can explain further..

I use xmlsitemap myself, it gives the search engines an xml file list of url's to go straight to. I looked at SEO because there was a request way back on this thread, for book SEO

Regarding the product description in books, check that the particular product is not set to copy across, then you can do it manually later.

When I tested it in 'copy across' mode, on saving it should copy the title, description and dropdown values from the top language block (the one with the radio box setting) , to all the other languages blocks.

Often you are right if you say something's wrong... try explaining it again!

But the idea was, to set the page's language labels to the language block you need at top of the page. In your case, German..Then on save, it should copy across from German book entries (the top block) , to all the other languages, if it's set in that mode.

If it doesn't do what you expect, check the setting of the 'copy' radio box.. I had it doing things I did not want, myself...but I had 'copy' on, when I thought it was off!

12 Jul 2007, 8:59 PM
#258
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hello Paul,
I mean the SEO contribution, which is downloadable in your post from 10.07.
It works without mistake, but when it os enabled the book products didn't use the template product_book_info_display.php, they use the product_info_display.php. So the specific additional Datas from your book contribution are not displayed.

13 Jul 2007, 11:01 AM
#259
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hi
I just uploaded a replacement zip for the Ultimate SEO book mod version, (see above a bit) there was probably a second htaccess file in the zip pack, left there in error. Otherwise the files are unchanged.

Further info on Ultimate SEO (books) install:

The htaccess_sample file needs to go in cart root, in the position it is in the SEO fileset, but you need to alter where it says /shop/ in the file, to your zencart folder name.

If your zencart files are in mydomain/my_cart/files then replace 'shop' with 'my_cart' in htaccess.

In a windows pc you upload the htaccess_sample that you modified, then rename it on the server to .htaccess