-
Short Description for Categories... have a description above & below product listings
LINK: https://www.zen-cart.com/downloads.php?do=file&id=355
Hi Guys!
I'm in the final stages of setting up this new mod. Basically this allows you to SPLIT your category descriptions into two parts. One part comes before any products or subcategories, and another part comes after any products or subcategories. This add on also places a "more info..." link directly after the first description, so your customers can "jump" down to the secondary description.
This add on will be useful for people who have LENGTHY category descriptions, and who don't wish to force their customers to scroll down to find the products or subcategories.
You can see this mod in action here:
http://www.applezen.sagefish.com/ind...=index&cPath=2
If there is NO secondary category description, there will be no "more info..." link. You are also able to adjust the "more info..." text via a language file.
Any interest in this add on? And any feature requests in addition to what you see?
-
Re: Short Description for Categories... have a description above & below product list
Hello Jade,
That sounds like a cool addition, I would be interested in it. There is a lot of info I would like to add to my categories, but I don't want to overload the customers! I think this is a great way to get round it, brilliant!
Thankfully,
Heathenmagic
-
Re: Short Description for Categories... have a description above & below product list
This has been added this to the download section!
Short Description for Categories
This is the first mod I've started from scratch (well its a simple one), all on my very own, so be gentle! :P
-
Re: Short Description for Categories... have a description above & below product list
Hello Jade,
Brilliant contribution, works very well!
Thankyou :lookaroun
-
Re: Short Description for Categories... have a description above & below product list
WOW, great work Jade. I was just looking for this and could not do it myself. :clap:
Now how about doing the same split for the product detail page? There would be much use for this as well....just in case you have some spare time and don't know what else to do? :D
-
Re: Short Description for Categories... have a description above & below product list
Interesting. I did something similar myself. I keep getting lcients who, on the individual products page, want a description above the image, and the rest of the description below the price box. (Or some variation thereof.)
A couplr of months ago, I figured out how to add a secondary decription field for just this purpose (using HTML and absolute positioning to move things arouns was a completle PITA)
So, for example, on of my most recent clients wanted:
Title here
City and State where photo was taken here
price/attributes/quantity box | Image of product
more detailed description here
To get the "city/state" stuff to show up directly beneath this tite, we needed to put it in the description box. However, we also needed the main description area, as well - but we couldn't split the two up in the visual layout without adding in HTML, and using the CSS to absolutely position the city/state stuff to sit above the proce box stuff.
So with this new client, I just figured out how to add two (or more) extra description fields to make life easier. I've also been asked to make it a mod, but I don't know how to do that. Do you think it would work well with yours?
-
Re: Short Description for Categories... have a description above & below product list
There's a short description mod for products already in the download section, I believe.
-
Re: Short Description for Categories... have a description above & below product list
Jade, great mod. Thank you.
I noticed that if I want to edit a category, it only works with the text editor. When I try to edit with HTMLarea, it just opens as text anyway with no formatting toolbars.
If I choose FCKeditor, only the upper part is working with all the formatting tools but no split page for below the images. Any idea why this is and how we can use at least one of the editors for both parts?
-
Re: Short Description for Categories... have a description above & below product list
I would love to see this in action to see what it looks like. The link you have the mod showcased on doesn't work anymore, it is a broken link. Does anyone have this working on their site where I can view it?
much appreciated!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
simetra
I would love to see this in action to see what it looks like. The link you have the mod showcased on doesn't work anymore, it is a broken link. Does anyone have this working on their site where I can view it?
much appreciated!
Sorry about that!
http://www.zencart137.jadetrue.com/i...=index&cPath=1
mydanilo... I'll look into that issue soon!
-
Re: Short Description for Categories... have a description above & below product list
Jettrue, thank you. Do you or anybody else experience the same or is it just me?
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
mydanilo
Jettrue, thank you. Do you or anybody else experience the same or is it just me?
I just tested, and its working fine for me, both with HTMLarea and TinyMCE (I added this one, and like it better). What version of zen cart are you using?
-
Re: Short Description for Categories... have a description above & below product list
I use 1.3.7.
Do you see the htmlarea tools for both text areas? If I choose htmlarea as editor, it opens both areas in just text mode, no tool bars for editing.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
mydanilo
I use 1.3.7.
Do you see the htmlarea tools for both text areas? If I choose htmlarea as editor, it opens both areas in just text mode, no tool bars for editing.
Yup.
http://www.jadetrue.com/drop/admin-html-area.gif
-
Re: Short Description for Categories... have a description above & below product list
A great feature would allow the admin to turn off the description for all of the extra pages of products - so the descrip would only show up once - on the first page of products of a given category.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
ploogak
A great feature would allow the admin to turn off the description for all of the extra pages of products - so the descrip would only show up once - on the first page of products of a given category.
That's a good feature suggestion for zen cart in general, but not something really for this mod. :cool:
-
Re: Short Description for Categories... have a description above & below product list
Hi Jade,
I got it to work with htmlarea but not with fckeditor. I had to change may admin ssl settings. I ran all admin pages in ssl mode an this caused the problem.
Fckeditor is actually deleting the second text if I edit in the first text area and then save. Seems to overwrite with blank. :(
-
Re: Short Description for Categories... have a description above & below product list
The code is missing the changes required for fckEditor. Look for this:
if ($_SESSION['html_editor_preference_status']=='FCKEDITOR') {
$oFCKeditor = new FCKeditor('categories_description[' . $languages[$i]['id'] . ']') ;
$oFCKeditor->Value = zen_get_category_description($cInfo->categories_id, $languages[$i]['id']);
$oFCKeditor->Width = '97%' ;
$oFCKeditor->Height = '200' ;
// $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ;
// $oFCKeditor->Create() ;
$output = $oFCKeditor->CreateHtml() ;
$category_inputs_string .= '<br />' . $output;
You will find the above code twice, once for new categories, and once for existing. Right below this code, add:
$oFCKeditor2 = new FCKeditor('categories_description_sub[' . $languages[$i]['id'] . ']') ;
$oFCKeditor2->Value = zen_get_category_description_sub($cInfo->categories_id, $languages[$i]['id']);
$oFCKeditor->Width = '97%' ;
$oFCKeditor->Height = '200' ;
// $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ;
// $oFCKeditor->Create() ;
$output = $oFCKeditor2->CreateHtml() ;
$category_sub_inputs_string .= '<br />' . $output;
So, remember to do this is BOTH places and it will work fine. I have a heavily modified categories.php, else, I would update the contribution. Perhaps the owner can do so for the benefit of all.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
sfatula
The code is missing the changes required for fckEditor. Look for this:
if ($_SESSION['html_editor_preference_status']=='FCKEDITOR') {
$oFCKeditor = new FCKeditor('categories_description[' . $languages[$i]['id'] . ']') ;
$oFCKeditor->Value = zen_get_category_description($cInfo->categories_id, $languages[$i]['id']);
$oFCKeditor->Width = '97%' ;
$oFCKeditor->Height = '200' ;
// $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ;
// $oFCKeditor->Create() ;
$output = $oFCKeditor->CreateHtml() ;
$category_inputs_string .= '<br />' . $output;
You will find the above code twice, once for new categories, and once for existing. Right below this code, add:
$oFCKeditor2 = new FCKeditor('categories_description_sub[' . $languages[$i]['id'] . ']') ;
$oFCKeditor2->Value = zen_get_category_description_sub($cInfo->categories_id, $languages[$i]['id']);
$oFCKeditor->Width = '97%' ;
$oFCKeditor->Height = '200' ;
// $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ;
// $oFCKeditor->Create() ;
$output = $oFCKeditor2->CreateHtml() ;
$category_sub_inputs_string .= '<br />' . $output;
So, remember to do this is BOTH places and it will work fine. I have a heavily modified categories.php, else, I would update the contribution. Perhaps the owner can do so for the benefit of all.
Thanks Steve,
Sorry guys that I haven't taken the time to work this out, Steve, thanks for making it easy for me! I'll update the contribution in the next couple of days.
-
Re: Short Description for Categories... have a description above & below product list
Let's make sure someone else claims it works as well? It appears to be working for me, but, I'd like to see someone else using that editor confirm it.
But I am conservative on these sorts of things.
-
Re: Short Description for Categories... have a description above & below product list
I've uploaded the update. To be honest, it is not tested, as I don't use FCKeditor and have removed it from my admin. But if someone can let me know how it works, that would be great!:cool:
-
Re: Short Description for Categories... have a description above & below product list
OK, I will try it in the next few days. I will post the result.
-
Re: Short Description for Categories... have a description above & below product list
Hi there,
ZC Ver. 1.3.7.1
I love this mod but I'm having a problem I am sure is probably on my part.
The mod works well for me except when I go to save my category. Once I hit save I get the following heart attack pop up on the screen.
Warning: main(includes/reset_seo_cache.php) [function.main]: failed to open stream: No such file or directory in /home/cjcrafts/public_html/admin/categories.php on line 18
Warning: main() [function.include]: Failed opening 'includes/reset_seo_cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cjcrafts/public_html/admin/categories.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/cjcrafts/public_html/admin/categories.php:18) in /home/cjcrafts/public_html/admin/includes/functions/general.php on line 34
It does save the changes I make to the database, but I have not been able to place my finger on why I'm getting this.
Any input would be greatly appreciated :smile:
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
cjcrafts
Hi there,
ZC Ver. 1.3.7.1
I love this mod but I'm having a problem I am sure is probably on my part.
The mod works well for me except when I go to save my category. Once I hit save I get the following heart attack pop up on the screen.
Warning: main(includes/reset_seo_cache.php) [
function.main]: failed to open stream: No such file or directory in
/home/cjcrafts/public_html/admin/categories.php on line
18
Warning: main() [
function.include]: Failed opening 'includes/reset_seo_cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/cjcrafts/public_html/admin/categories.php on line
18
Warning: Cannot modify header information - headers already sent by (output started at /home/cjcrafts/public_html/admin/categories.php:18) in
/home/cjcrafts/public_html/admin/includes/functions/general.php on line
34
It does save the changes I make to the database, but I have not been able to place my finger on why I'm getting this.
Any input would be greatly appreciated :smile:
Ok I noticed that the reset_seo_cache.php file is used for the Ultimate SEO URLs v2.100 mod. I do not have this mod installed (at this time anyway).
Why is it being called?
And how should I disable it?
:blink: Thanks in Advance
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
cjcrafts
Ok I noticed that the reset_seo_cache.php file is used for the Ultimate SEO URLs v2.100 mod. I do not have this mod installed (at this time anyway).
Why is it being called?
And how should I disable it?
:blink: Thanks in Advance
Ok, I just commented out line 18 in categories.php and everything seems to be fine for now. Figured I would let you all know the update.
-
Re: Short Description for Categories... have a description above & below product list
Ok, I finally installed the update. Congrats, it works like a charm with Fckeditor!
Thank you very much! Great job.:clap:
-
Re: Short Description for Categories... have a description above & below product list
Just wanted to let everyone know that I've updated this mod, and removed the reference to the SEO URLS mod!
-
Re: Short Description for Categories... have a description above & below product list
Link in downloads section, as an example of this mod
i.e.
http://www.zencart137.jadetrue.com/testing-c-1.html
does not work for me.. do you have correct url/another
please?
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
misty
Yeah, just go to any category on the site to see it. :-)
http://www.zencart137.jadetrue.com/
Sorry about that!
-
Re: Short Description for Categories... have a description above & below product list
No probs.. thanks for prompt response/new link
-
Re: Short Description for Categories... have a description above & below product list
Can this Mod be made to work on the Add to Cart page,
On add to cart page there is a single product, and Manufacturer,
that needs a product description, just like your Mod.
I use EZmce editor.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
Relentless
Can this Mod be made to work on the Add to Cart page,
On add to cart page there is a single product, and Manufacturer,
that needs a product description, just like your Mod.
I use EZmce editor.
What page do you mean, the add to cart page? the product information page with a single product? The product listing page with lots of products? If so there is a mod that does what you might be looking for.
http://www.zen-cart.com/index.php?ma...roducts_id=271
-
Re: Short Description for Categories... have a description above & below product list
Your mod is wonderful! Thank you! Any chance you can tell me how to make this work for the Home Page also? I am trying to find a way to have a short blurb at the top of the page (currently in define pages) and between the catagories and new items, featured etc. which currently not available. Any thought for this problem too? Thanks for your help!
-
Re: Short Description for Categories... have a description above & below product list
If you would like to see this mod in action check out my site at www.tot2teenonline.com I have removed the "more info...." text and have left the upper section blank, then put my description in the second box.
Sue
-
Re: Short Description for Categories... have a description above & below product list
Has anyone tried this on 1.3.6? I know all about keeping on the current rev of various softwares, but since this is my first ZC / web based project at all, I'm not sure if I set all my mods into my /custom folders as came up the learning curve.
I really want this mod! :)
EDIT: I'm a nut, I started with 1.3.7. Stand by for another hopefully successfull installation of this mod!
-
Re: Short Description for Categories... installed on 1.38a
Jade,
Just finished installing this mod on a 1.38a shop. Because I wanted to maintain the 1.38a upgrades, I used WinMerge to check the mod files. The only major differences were:
In admin/categories.php I did NOT merge lines 167 thru 175 and line 660 because they were changed from v1.37 to v1.38a.
In .../templates/tpl_index_product_list.php I did NOT merge line 50.
Of course, the nice thing about using WinMerge is that it automatically makes the .bak file when you save.
The mod appears to work perfectly. :clap:
Just one question...How would you compare this approach to putting a link to an EZpage at the end of the short description and then putting a return link on the EZpage back to the category page? That wouldn't require any new files or hacks to core.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
Bahnstoermer
Has anyone tried this on 1.3.6? I know all about keeping on the current rev of various softwares, but since this is my first ZC / web based project at all, I'm not sure if I set all my mods into my /custom folders as came up the learning curve.
I really want this mod! :)
EDIT: I'm a nut, I started with 1.3.7. Stand by for another hopefully successfull installation of this mod!
This should be fine on 1.3.6, 1.3.7 and 1.3.8.
-
Re: Short Description for Categories... have a description above & below product list
Just to make this easy for everybody:
Does anything need to be merged for 1.3.8a?
Especially: admin/categories.php
includes/modules/pages/index/main_template_vars.php
Q to mauryg, did you merge anything or did you just list the ones you choose to ignore?
Is this mod ready for 1.3.8a? If merging needs to be done, maybe mauryg can upload the merged 1.3.8a files for the download section.
:smile:
-
1 Attachment(s)
Re: Short Description for Categories... have a description above & below product list
Danillo,
I used WinMerge to cross check v1.38a to 1.37 to see what changes had been made to the 4 non-unique files. Since the mod came out before 1.38a I assumed it was based on a 1.37 version of the files. So I merged each of the files into a 'clean' copy from v1.38a and I ignored the old 1.37 lines which had changed in 1.38a. Clear as mud, right?
Anyway since you asked, here are the updated Short Description files.
Jade, you might want to check that I didn't screw something up! If everything is OK, feel free to post them to the download area. :cool:
-
Re: Short Description for Categories... have a description above & below product list
Thank you for the files.:D
-
Re: Short Description for Categories... have a description above & below product list
I installed the mod on a new site and I have a space below the first description text and the product listing that I can't remove.
http://discountbabyshowerfavors.com/...=index&cPath=1
I deleted the more info text in category_description_sub_defines.php but the large space remains. What can I do?
I tried
#descSubLink {display: none;}
but no success.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
mydanilo
I installed the mod on a new site and I have a space below the first description text and the product listing that I can't remove.
Now the question IS: Is the extra space BELOW the first part of the category description or ABOVE the products listing?
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
mydanilo
I installed the mod on a new site and I have a space below the first description text and the product listing that I can't remove.
http://discountbabyshowerfavors.com/...=index&cPath=1
I deleted the more info text in category_description_sub_defines.php but the large space remains. What can I do?
I tried
#descSubLink {display: none;}
but no success.
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php and remove the two:
<br class="clearBoth" />
found in that file.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
jettrue
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php and remove the two:
<br class="clearBoth" />
found in that file.
Thank you. Works perfectly. :clap:
-
Re: Short Description for Categories... have a description above & below product list
Hi, I'm on version 1.3.8a and I just installed this mod using mauryg's merged files. On the admin screen I see the section for Categories Description and a section for Categories Description Below Categories. But any text I put in the Categories Description Below Categories section is not showing up on my website. Any thoughts?
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
cuddles
Hi, I'm on version 1.3.8a and I just installed this mod using mauryg's merged files. On the admin screen I see the section for Categories Description and a section for Categories Description Below Categories. But any text I put in the Categories Description Below Categories section is not showing up on my website. Any thoughts?
Confirm you have all the files uploaded. I'm guessing you haven't uploaded or merged the changes for includes/templates/YOUR_TEMPLATE/tpl_index_categories.php and/or
includes/templates/YOUR_TEMPLATE/tpl_index_product_list.php
Go through each and every file and make sure they are all online and in their correct spots.
-
Re: Short Description for Categories... have a description above & below product list
I used your original include files for 1.3.7 and it's working fine. Not sure why mauryg's merged files didn't work for me?
mauryg, do you know what functionality I'm losing if I am on 1.3.8a but am using the 1.3.7 files?
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
cuddles
I used your original include files for 1.3.7 and it's working fine. Not sure why mauryg's merged files didn't work for me?
mauryg, do you know what functionality I'm losing if I am on 1.3.8a but am using the 1.3.7 files?
I can confirm that I'm using v1.38a and the mod is working for me without a problem. I will review the set of merged files I posted and see if I missed something.
-
Re: Short Description for Categories... have a description above & below product list
mauryg: Not sure anymore, but I recall that I had problems with your merged file too. I then just used the 1.3.7 files and they worked just fine.
-
Re: Short Description for Categories... have a description above & below product list
Another happy user here - installed with a simple overwrite of all the files included in the zip (on a fairly fresh 1.3.8a install) and it works beautifully. Couldn't ask for more really.
However, I am currently snaking my way through the Zen Cart files to try and make the short description textbox into a multiline text box - from what I can make out, the text box itself is generated by calling a zen_draw function, but I just get totally lost after that as I'm not too familiar with how zen cart draws its admin pages.
I've seen other zen_draw_hidden_field calls that specify multiple values (including styles for the textboxes and widths, maxchars etc) but I can't find the actual code to draw the short description input textbox! If someone could point me in the right direction to where I can find the appropriate code, I'd really appreciate it.
Again, thanks to Jade for this fabulous little mod - it's made my work of transitioning a friend's online store from a flat-file based catalogue to Zen FAR easier.
In fact, a little part of me is actually having fun. (just a small part though, mind you ;))
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
christopherw
Another happy user here - installed with a simple overwrite of all the files included in the zip (on a fairly fresh 1.3.8a install) and it works beautifully. Couldn't ask for more really.
However, I am currently snaking my way through the Zen Cart files to try and make the short description textbox into a multiline text box - from what I can make out, the text box itself is generated by calling a zen_draw function, but I just get totally lost after that as I'm not too familiar with how zen cart draws its admin pages.
I've seen other zen_draw_hidden_field calls that specify multiple values (including styles for the textboxes and widths, maxchars etc) but I can't find the actual code to draw the short description input textbox! If someone could point me in the right direction to where I can find the appropriate code, I'd really appreciate it.
Again, thanks to Jade for this fabulous little mod - it's made my work of transitioning a friend's online store from a flat-file based catalogue to Zen FAR easier.
In fact, a little part of me is actually having fun. (just a small part though, mind you ;))
In my admin, it is a multiline text box (if i understand what you mean by a multiline textbox... it's more than one line tall), but I think you might be able to adjust it in admin/categories.php, where it says
oFCKeditor->height = '200'
in the section marked
// bof modified for Short Description for Categories
Embrace your fun with zen cart (I think it's fun too!)
-
Re: Short Description for Categories... have a description above & below product list
D'oh... I've just realised something else as well.... But indeed, this fixed that problem.
(I just realised I wasn't actually talking about that problem, I was referring to my problem I have with the product short description mod - but I was going to ask this question about the split category mod anyway right afterwards! :D)
Call it serendipity... And staying up far too late (having to work on a live web site = working from midnight-6am every day :()
Cheers for the solution - before I asked for it :laugh:
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
mydanilo
Ok, I finally installed the update. Congrats, it works like a charm with Fckeditor!
Thank you very much! Great job.:clap:
Hi,
I just want to ask you:
Does it still work for a category with just one product?
Thank you!
PS
If yes, do you have to do something special?
-
Re: Short Description for Categories... have a description above & below product list
Hi
I'd like to show featured products above the additional information straight below the category pics... this is usually as simple as moving the block of code for featured products above this additional mods code in tpl_index_categories.php.
I've tried moving the code for features products but either the page doesnt display or featured products doesnt show. I've also tried putting the new code at the bottom but still no joy.Any ideas?
Thanks!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
justMARK
Hi,
I just want to ask you:
Does it still work for a category with just one product?
Thank you!
PS
If yes, do you have to do something special?
Yes, but you have to select the option in your admin to turn off "Skip 1-prod Categories", under "Configuration", "Layout Settings".
-
Re: Short Description for Categories... have a description above & below product list
thanks dude, have been very help
perhaps for a starter,
is it possible to display a Featured Box in the part that comes before the SubCat, featuring some products that is in the main catelog so that i can interest any potential buyer.
Else, it appears too boring and clients may not want to click
-
Re: Short Description for Categories... have a description above & below product list
Does anybody have a categories.php that works with this mod and 1.3.8a and Fckeditor installed?
I still use the files from the 1.2 mod with the categories.php from 1.3.7 in it. All works fine except if fckeditor is choosen, meta tag feature throws errors.
I mentioned this before, I tried to merge but just don't get it to work. Sooo, if anybody has a working 1.3.8a categories.php with the stuff for fckeditor in it and Short Description for Categories working I would be a taker. :smile:
-
Re: Short Description for Categories... have a description above & below product list
I just installed this and am getting this message when I go into admin, categories and then click edit, and also the same message on the zen store:
Quote:
Search:
Status - Disabled
Go To:
1054 Unknown column 'categories_description_sub' in 'field list'
in:
[select categories_description_sub from zen_categories_description where categories_id = '9' and language_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I rather foolishly thought it was upgraded to fit zen cart 1.3.8a which I have. I'm guessing this is why its not working, but if anyone knows any different if you could let me know.
Thanks
www.ibagyourpardon.com
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
flatlander
I just installed this and am getting this message when I go into admin, categories and then click edit, and also the same message on the zen store:
I rather foolishly thought it was upgraded to fit zen cart 1.3.8a which I have. I'm guessing this is why its not working, but if anyone knows any different if you could let me know.
Thanks
www.ibagyourpardon.com
Did you install the sql file that came with this? READ THE README! :)
-
Re: Short Description for Categories... have a description above & below product list
:blush:
Hi, sorry, yes I did, but then after I'd gone about uploading the files and various other things I forgot about it. Should have gone back to it obviously.
Seems to be working fine now though, so thanks a lot
-
Re: Short Description for Categories... have a description above & below product list
I'd love to use this as I have long descriptions for some sections. I downloaded and installed both Short Description for Categories 1.2 and Short Description for Categories 1.2b, and triple checked to be sure the files are in the correct directories. In the edit description, there is a box for the second description. However, when I enter the second description text and save, it doesn't show on the page. This happens on both jade's and mauryg's.
The only thing that might be wrong is that my tpl_index_product_list.php is in templates/templates rather than templates/YOUR_TEMPLATE/templates. Could this be the problem?
-
Re: Short Description for Categories... have a description above & below product list
Definitely. That file will not be found and used unless it is in the right directory.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
jmies
I'd love to use this as I have long descriptions for some sections. I downloaded and installed both Short Description for Categories 1.2 and Short Description for Categories 1.2b, and triple checked to be sure the files are in the correct directories. In the edit description, there is a box for the second description. However, when I enter the second description text and save, it doesn't show on the page. This happens on both jade's and mauryg's.
The only thing that might be wrong is that my tpl_index_product_list.php is in templates/templates rather than templates/YOUR_TEMPLATE/templates. Could this be the problem?
if in my download, it is in a YOUR_TEMPLATE folder, then YES, it needs to be in your template foler. That's why I name it YOUR_TEMPLATE. LOL :cool:
-
Re: Short Description for Categories... have a description above & below product list
Just wanted to let you know that your demo links are broken.
-
Re: Short Description for Categories... have a description above & below product list
Hi,
I am testing this mod on 1.3.8a and it works.
However, maybe it is not what I need and I don't know how to modify it so that it does that.
What I need is not something that will continue description below the products, but something that opens in an entirely different page.
Yes, I know I can create an EZ page and link to it, but I would like to have it in the description as an extra page.
Is this possible with this mod?
-
Re: Short Description for Categories... have a description above & below product list
1.3.8a does have some things that are different. My templates for example are completely different. When I load your tpl_index_categories it cuts off my top color bar. What changes or lines are in the tpl_index_categories so that I may just append that to my existing code. The same goes for tpl_index_product_list and tpl_product_info_display.
-
Re: Short Description for Categories... have a description above & below product list
You can find this out for yourself - run winmerge or something like it and compare the 1.3.7 and 1.3.8a versions to see what and where version changes are, then do the same with the mod version and the 1.3.8a version. This will let you integrate the changes correctly.
Then you might want to share your findings with others who can use the info:)
-
Re: Short Description for Categories... have a description above & below product list
Hi,
Just installed the mod (great mod by the way, thanks :smile:). Anyway, not sure if this is the appropriate mod to ask this question, but I would also like to add links to the text content I write in the categories description.
For example in my 'Girls Clothing' category, I add 'don't forget to check out Girls shoes!' in the second description box. But I would also like to add a link taking them directly to my shoes page.
please see here:
http://www.thrift4kids.com/index.php...Path=3#descSub
Anyone know how I can do this? Thanks!
-
Re: Short Description for Categories... have a description above & below product list
Just put an HTML link in the description. Something like
HTML Code:
Don't forget to check out <a href="index.php?main_page=index&cPath=123">Girls shoes</a>!
where 123 is replaced by the cPath to that category.
-
Re: Short Description for Categories... have a description above & below product list
that is awesome!! I love it...thank you!! :clap:
-
1 Attachment(s)
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
gjh42
You can find this out for yourself - run winmerge or something like it and compare the 1.3.7 and 1.3.8a versions to see what and where version changes are, then do the same with the mod version and the 1.3.8a version. This will let you integrate the changes correctly.
Then you might want to share your findings with others who can use the info:)
I ran exam diff and they are night and day see attached
-
Re: Short Description for Categories... have a description above & below product list
The issue seems to be at
it is not drawing around
<h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>
-
Re: Short Description for Categories... have a description above & below product list
The text appears but the gray box around it does not.
-
Re: Short Description for Categories... have a description above & below product list
I cannot seem to get this to work in 1.3.8? I used the merged version that someone was nice enough to share in the thread....everything is fine in the admin but I cannot see the lower text on the category page...
I see someone else recently had this problem?
I just went through all the files myself and everything looks fine....what else can be happening to keep that lower text from appearing?
-
Re: Short Description for Categories... have a description above & below product list
Love this mod! I have one question though...
I am using Magic SEO Urls. My category pages, ie http://www.doodlebuckets.com/babies-255/ are displaying the more info link as http://www.doodlebuckets.com/index.p...th=255#descSub instead of http://www.doodlebuckets.com/babies-255/#descSub
The code for this link is
if ($current_categories_description_sub != '') {
echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $cPath) . '#descSub" >' . CATEGORIES_SUB_TEXT . '</a>';
Is there another way to display the more info link so that I get a proper URL there or do I need to contact Magic SEO URLs and have them add something to my .htaccess?
Thanks!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
Doodlebuckets
OK, for the benefit of all, I changed the code in includes/templates/db/templates/tpl_index_categories.php to
if ($current_categories_description_sub != '') {
echo '<a href="#descSub" >' . CATEGORIES_SUB_TEXT . '</a>';
And I get my URLs as they should be :)
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
Doodlebuckets
OK, for the benefit of all, I changed the code in includes/templates/db/templates/tpl_index_categories.php to
if ($current_categories_description_sub != '') {
echo '<a href="#descSub" >' . CATEGORIES_SUB_TEXT . '</a>';
And I get my URLs as they should be :)
I've discovered that this fix works for top level categories, but not the subcategories. Where should I look to fix this? Thanks!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
Doodlebuckets
I've discovered that this fix works for top level categories, but not the subcategories. Where should I look to fix this? Thanks!
OK, gotta do the same thing from above in tpl_index_product_list.php This will fix the subcategories!
-
Re: Short Description for Categories... have a description above & below product list
Can anyone confirm whether or not this mod works with 1.3.8a?
Many Thanks
Phil
-
Re: Short Description for Categories... have a description above & below product list
Hi Phil,
I had this mod running on 138a. There was no issues with it on my site.
-
Re: Short Description for Categories... have a description above & below product list
Hello,
Has anyone tested this on 139d?
I just thought it might be worth asking before I take the time to try it.
Thanks!!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
kcb410
Hello,
Has anyone tested this on 139d?
I just thought it might be worth asking before I take the time to try it.
Thanks!!
Update......
I've just merged these files and they're working fine on 139d.
-
Re: Short Description for Categories... have a description above & below product list
Sorry to sound a right plonker, but where do i instal this ?
many thanks
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
derek53
Sorry to sound a right plonker, but where do i instal this ?
many thanks
Detailed instructions are included with the mod.
-
1 Attachment(s)
Re: Short Description for Categories... have a description above & below product list
Hello,
This mod is just what I was looking for, but I have been left with one small problem after install and don't know the root of it. some of my categories are displaying CATEGORIES_SUB_TEXT at the top. See example:
How can I remove this without removing content.
:unsure: Beep
w w w. r a g a n d m a g p i e . c o . u k
-
Re: Short Description for Categories... have a description above & below product list
You are probably missing the language file that came with the package....double check the files you uploaded and make sure you have category_description_sub_defines.php in your custom temaplate language file.
-
Re: Short Description for Categories... have a description above & below product list
Yes, that's it! The file had failed to upload. thank you.
:smile: Beep
-
Re: Short Description for Categories... have a description above & below product list
Any idea if this is working fine with v1.3.9f/g??
Because it is EXACTLY what I need!!
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
ulost999
Any idea if this is working fine with v1.3.9f/g??
Because it is EXACTLY what I need!!
I also like this mod. I installed it today on a test 1.3.9f cart and it seemed to work.
However, I don't trust the old files with this mod, so I spent much of today doing my first merge attempt merging with the new 1.3.9g files using Winmerge, and it seems to work. (Still have to upgrade this test cart to 1.3.9g). Plan on putting it on a live 1.3.9g cart in the morning.
You might put up a test cart for mods such as this.
-
Re: Short Description for Categories... have a description above & below product list
Nope, couldn't get it to work properly when I upgraded my test cart from "f" to "g".
The other night, while test cart was "f", it seemed to work out-of-the-box, and again when I merged some "g" files in my "f" cart.
Took mod off "g" site.
-
Re: Short Description for Categories... have a description above & below product list
On f, it worked fine... on g, it works fine, except for ONE category, the bottom category description shows all HTML tags, but if I move it all above... it works fine... and mind you this happens on only one category... what the heck?
-
Re: Short Description for Categories... have a description above & below product list
I fixed the above problem by going into mysqladmin and manually editing it.
this mod does work perfect with my 1.3.9g
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
ulost999
On f, it worked fine... on g, it works fine, except for ONE category, the bottom category description shows all HTML tags, but if I move it all above... it works fine... and mind you this happens on only one category... what the heck?
Yea, I also got html tags and could do no formatting at all. Just one, run-on paragraph.
Can you explain a little more how you got it to work on G? I'd also really like to use this mod for additional seo purposes.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
SPH
Yea, I also got html tags and could do no formatting at all. Just one, run-on paragraph.
Can you explain a little more how you got it to work on G? I'd also really like to use this mod for additional seo purposes.
Quote:
Originally Posted by
ulost999
I fixed the above problem by going into mysqladmin and manually editing it.
this mod does work perfect with my 1.3.9g
One more thing: did you use the mod out-of-the-box or did you merge with the new G files?
-
Re: Short Description for Categories... have a description above & below product list
Okay, I got the 2d category description area to work on a fresh "G" cart after editing mysql to manually enter the description.
Don't know why the html code is going to db jumbled from cart admin.
Still not sure if cart will break elsewhere, as mod files not merged with new "G" files.
-
Re: Short Description for Categories... have a description above & below product list
UPDATE: Still don't trust older mod files So I merged the mod with "G" files (mostly*) and second cat description works...kind of. Only thing is I have to edit 2d desc field in mysql db directly, as admin upload doesn't do html formatting. Comes out in special characters.
Main Problem Mod File: tpl_index_product_list
This gives most trouble, as it messes-up top of cat page. *So I back-merged from "G" in to it.
Still have to edit in db directly for html formatting.
Looks stable enough to use on my live site for second seo purposes. Back-up db, of course.
-
Re: Short Description for Categories... have a description above & below product list
I think this may be related to a 1.3.9g bug discussed in the HTML tags show after upgrade to 1.3.9g thread.
-
Re: Short Description for Categories... have a description above & below product list
Quote:
Originally Posted by
gjh42
Thanks! Didn't realize there was a bug. I posted on that thread.
-
Re: Short Description for Categories... have a description above & below product list
If you can wait a short while it'll all be moot in v1.3.9h.
-
Re: Short Description for Categories... have a description above & below product list
The mod is somehow responsible for altering what's entered into the db. It changes a <br /> into <br />
I am using plain text editor.
I have tried the html bug fix for 1.3.9g with no luck. Everything else like category descriptions, product descriptions, ez pages and more all work fine with html code this is the only thing doing it.
I understand that I can put the html into the db myself but I would much rather it worked properly.
Please let me know where to look. Where could this be taking place?
Thanks,
John