True, but hacking around the code gives me insight into how things work, so when I'm reading about the subject I have an actual frame of reference to work with.
At the moment I am reading online...
Type: Posts; User: some name not taken
True, but hacking around the code gives me insight into how things work, so when I'm reading about the subject I have an actual frame of reference to work with.
At the moment I am reading online...
So, it looks like even with the correct syntax subcategories, like actual products, cannot be displayed either ...and certainly not in any kind of unordered list.
Well, it would have been useful...
Right, I've added a 'li' value to accomodate the subcategory line, but cannot get the subcategory to display - I just get li showing where the subcategory should be.
(The first number in the...
The code still won't display subcategories...
$_SESSION['category_tree']->build_deepest_level_children()
...simple, yes, but still not working.
Full code
modules -> pages -> index -> header_php.php?
OK, thanks, but as the files from all_subcats_products basically overwrote the existing files for simple_category_tree that should mean that the line
...
Yes, I do need to update my knowledge of PHP, but practical usually works best for me and once I have the outline I will quickly develop my skills where Zen Cart is concerned.
I now have the...
I am just trying to make the tree display as follows:
category1
subcategory1
product1
category2
subcategory2
product2
etc.
Define session, then call on session with $content by the looks of things.
So I have now changed the code as follows
<?php
$_SESSION['category_tree']->build_deepest_level_children(),...
Yes, sorry, - getting there now...
<?php
$_SESSION['category_tree']->build_deepest_level_children() ;
$_SESSION['category_tree']->retrieve_cpath() ;
$content .=...
<?php
$content = '';
$content .= $_SESSION['category_tree']->build_category_string('ul', 'li', '', 0, 4) $build_deepest_level_children() ;
?>
I am trying to build a fully expanded tree in...
OK, thanks, but now I have lost the main page and have no footer, with the error
:smile:
The sticking point is trying to pesuade the code to put a fully expanded tree into an unordered...
There seems to be only two variations of simple_category_tree that will work, even with all_subcats_products installed, and both are as listed in the readme and sample files:
<?php
$content =...
The debug utility is telling me
with the following (amended) code
<?php
$content = '';
$content .= $_SESSION['category_tree']->build_category_string('ul', 'li', '', 0, 2) $categories_id...
Hmmm... all_subcats_products is not doing anything for me. - I'm still stuck with the three basic categories that won't expand to show the products, ie: a fully expanded tree.
I figure that this...
That should have read note...
Ah, ... I'll check that out. - Thanks.
I'm just trying to get a full tree using a few test categories and products so I can do the design work for the tree without discovering something 'orrible...
The tree is in place (using simple_categories_tree only, at the moment).
It seems that you have to design a box and to code it into define_main_page in order to get it to display in the...
Also: Tools -> Developers Tool Kit - very useful for most things, but finding anything Javascript is still a hassle because, once you remove identifying details, like success.gif, they become...
I see. - Thanks.
I am going to try and put all this (the last page or so!) into place now because I have just reinstalled the cart (again).
Hopefully all will be OK, so I don't have to pester...
It is, but it doesn't tell you how to remove your sales mesage! :D
Well the all_subcats_products allow you maximise the tree, so you can show things right down to the product level, yes?
So, does it just need to be installed or does it need to be installed and...
Fantastic!
Onto the all_subcats_products, then.
Does this add its functionaliy automatically to an existing tree structure, eg: a successfully implemented my_categories tree once installed?
...
Thanks, again.
That code explains where I went wrong when I first tried to use this - blank tpl_my_categories.php...
Then the 0,2 references from the root of the category tree and depth (number...
Thank-you, Yellow!
So what about that tpl_my_categories.php (sorry, - amended things whilst you were posting!)? - Does that need to contain anything or is it OK as a blank file?
...and when you...
I am not sure about the readme.txt, but I think that you would use the code lines in there to modify the code in the sample_sidebox.txt
So, looking at the code contained therein
...
I have some advice for anybody who cannot find out how to do something that may or may not be really simple depending on your skill set(s):
Goto Google and enter "zen cart xyz", where xyz is the...
Thank-you, Yellow1912, the confusion of files is beginning to make sense now and I can now more clearly see the scale of potential visualised by other people posting on this thread.
So my next...
Thanks for the advice, jettrue. - I installed a fresh copy of Zen Cart to eliminate any problems with amended files, etc..
Note: I do not use GoDaddy! hosting.
The problem was also one with...
If you did not already know the blank columns are supposed to titled for home, account, and catalogue; although I cannot see any reason why they should not be displaying properly.
The CSS has been...
These were being generated through the Categories Tabs Menu ON/OFF :oops:
...and I still cannot get this (either of these?) modules working...
Sure, and thanks...
http://litez.co.uk
I have just reinstalled the module.
As you will see, several of the categories display properly and the others refuse to display, except for the home...
Nice overview link, TShooters. - Now we just need some for the PHP side of things...
...although, let me guess...
...that's probably not a good idea until the release of 4.x.x when all the code...
I know the feeling, GraceBWithYou. - I have spent over a month just chasing down little details and getting very peed off with the lack of help that I find or receive on many little, frustrating...
I only mentionned GoDaddy hosting because it is known to cause some people problems with their install.
I have just reinstalled my cart purely to test CSS Dropdown on a completely new install with...
I have also downloaded all_sub_cats_products, so I now have all_sub_cat_products and simple_category_tree.
So, I'm guessing that I need the latter in place before the former? ...and that the...
What is the purpose of Simple Category Tree?
I have installed the latest version, created the two blank files necessary to get the module to show in the layout boxes, disabled the usual category...
I've found the reason why the TOC isn't working. - You cannot specify links (external or internal) or the links are treat as just that, ie: you won't get any TOC...
...and the TOC is created on a...
I apologise for being a little tetchy. - The module is good, it simply will not work on my setup.
I do not have GoDaddy hosting, but obviously something is preventing your module from working on...
All sideboxes enabled, database optimised, values reset... - nothing!
I have now tried replacing the tpl_ezpages_bar_header.php, tpl_ezpages_bar_footer.php, stylesheet.css, and configuration.php files with original (unmodified) files and the TOC still won't build...
...
Thanks for the amendment, Doc! - Dodgy info!
I have just been reviewing some earlier posts by TShooters and can see that I was mistaken. - Kuroi, too, posted something similar but I thought that...
IE7 is also refusing (even after clearing the cache) to display the title names properly, displaying instead
https://www.myzenstore.co.uk/index.php?main_page=FILENAME_ORDER_DETAILS">Order...
The links are working... in IE7 and not Firefox.
I've also got duplicate links, with some that work and others that try to link to
...
...although the integrated EZ Page links work fine for any added pages - strange - and a shame that they will not appear under any other category than Information, otherwise it would be possible to...
Once the blank category titles, and menus, have been removed this module works well, and integrates the EZ Pages links well, too.
The seperate About Us module can be used to create your own pages...
This is the code with the 'blank' boxes stripped out for anyone with that problem:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open...
Well, I've discovered that the first blank title box is supposed to be a homepage link, whilst the other two blanks are for linking account login / details and for viewing the shopping cart.
...
This has the potential to be a really nice and extremely useful mod once it has been finished.
At the moment, once installed, you end up with one category that has no header (and no, it is not...
It's OK. - I think that I have found the answer:
TOC are created as rows on headers and footers. - Why? - Who knows? - Bearing in mind that that follows the generic header / footer layout makes...
I have a problem of my own, too, - namely that I cannot get a simple EZ Pages Table of Contents to work.
Yes, I have read earlier posts and followed the directions exactly and yes, TOC is allowed...