Jump to content
Jack_mcs

Dynamic SiteMap

Recommended Posts

Sounds like a mistake in the code at this point. If you are able to create a test shop, you can do that and install the contributions to see iif they work there and then compare the files. Other than that, I can't think of anything else.

 

Jack

Share this post


Link to post
Share on other sites

Sorry Jack my english is bad ;-)

 

Perhaps you can help me. the following problem. The boxes are not in German and the information box get a name of another box although this different Box_heading designations have.

A further box has only one point however no name.

 

My Sitemap

Share this post


Link to post
Share on other sites

I can't see your shop in German. It is trying to display it in English but none of the categories show up and there are a lot of missing definitions. As for infoboxes, try temporairly removing one or two to isolate the cause of the problem. I can't see what that is but it is usually something in the box that causes the problem.

 

Jack

Share this post


Link to post
Share on other sites

Okay, this has been bugging me for weeks now... as I read this support thread and look at everyone's examples, I've been trying to get my site map to look like theirs... this is my map:

 

mysitemap.jpg

 

This is others:

 

wantedsitemap.jpg

 

I love love love the way the tree looks with the breakdown, but for the life of me I can't figure out why I can't get mine to do that... any input? My site is here.

Share this post


Link to post
Share on other sites

Someone uploaded a different category_tree file. You could try that, or if you already have it, try the original.

 

Jack

Share this post


Link to post
Share on other sites

Jack thanks. The errors are the boxes now all are away thus shown. It was because of it some boxes 2 times to box Heading had. Now still the problem is all this on German is indicated up to the boxes. These are to be represented also on German.

Share this post


Link to post
Share on other sites

The text is taken from the files so if it is displaying in English, the text in the files must be in English.

 

Jack

Share this post


Link to post
Share on other sites

Harm. Have far a code piece found where it then on German was simply a code above to exchange. Would that be sinvoll? It sees is stupidly from if half English half German

 

 

 

$name = explode("_", $parts[0]);	//ignore the BOX_HEADING part  
			for ($x = 3; $x < count($name); ++$x) //name may be more than one word  
			{  
			  if (tep_not_null($name[$x]))  
				$name[2] .= ' ' . $name[$x];  
			}  
			$name[2] = strtolower($name[2]);  
			$name[2] = ucfirst($name[2]);  
			$boxHeading[$ctr]['heading'][$ctr] = $name[2];

 

$boxHeading[$ctr]['heading'][$ctr] = getBoxText($pathLanguage, $parts[0]);

Share this post


Link to post
Share on other sites

Hi Jack,

 

Not sure if this has been posted either here or in the Header Tags Controller thread but I have just found out that the new infobox that is in the header tags controller contrib causes some conflicts with the dynamic sitemap. Or should I say at least it does for me urgh.

 

Just to let you know in case you did not.

 

Mark


Lifes a bitch, then you marry one, then you die!

Share this post


Link to post
Share on other sites

What kind of conflicts? It won't display in the site map since the title is created dynamically, butit won't make it fail either, at least it shouldn't.

 

Jack

Share this post


Link to post
Share on other sites

Hi Jack,

 

It gives the 'Unable to determine link' error.

 

Mark


Lifes a bitch, then you marry one, then you die!

Share this post


Link to post
Share on other sites

I'm not getting that faiure here. All I can suggest is to exclude it from the sitemap. It doesn't server any purpose anyway since it doesn't exist unless a product page is showing.

 

JAck

Share this post


Link to post
Share on other sites

Hey Jack.

 

There's been some changes on my site (changed from catalog to the root directory) and all of a sudden I was getting the dreaded

 

Warning: opendir('.'): failed to open dir: Permission denied in /path/to/my/server/includes/modules/dynamic_sitemap.php

 

Did some research and saw where you had said it was the server php.ini settings.

Called my webhost, and the tech changed the opendir('.') to opendir('/path/to/my/server/') in the includes/modules/dynamic_sitemap.php code.

 

Lo and behold, the public dynamic_sitemap.php page now works. But tech support is telling me that the the opendir function IS working since it works when the path is hard coded in.

 

My admin side of dynamic_sitemap.php is having the same Warning message.

 

I don't know enough to argue specifics with the tech support. And I need to change some of the settings in the admin section. What should I do now to get my admin section of the dynamic sitemap working?

Share this post


Link to post
Share on other sites
Hey Jack.

 

There's been some changes on my site (changed from catalog to the root directory) and all of a sudden I was getting the dreaded

 

Warning: opendir('.'): failed to open dir: Permission denied in /path/to/my/server/includes/modules/dynamic_sitemap.php

 

Did some research and saw where you had said it was the server php.ini settings.

Called my webhost, and the tech changed the opendir('.') to opendir('/path/to/my/server/') in the includes/modules/dynamic_sitemap.php code.

 

Lo and behold, the public dynamic_sitemap.php page now works. But tech support is telling me that the the opendir function IS working since it works when the path is hard coded in.

 

My admin side of dynamic_sitemap.php is having the same Warning message.

 

I don't know enough to argue specifics with the tech support. And I need to change some of the settings in the admin section. What should I do now to get my admin section of the dynamic sitemap working?

Normally I would say the erver settings were at fault but if it was working before the move, it should still be, I think. It might be that the permissions are missed up somewhere, although I would think you would have more than this problem. Maybe the path to the file is not quite right. If the configure file was not changed properly, I suppose that could cause such a problem.

 

Jack

Share this post


Link to post
Share on other sites
Normally I would say the erver settings were at fault but if it was working before the move, it should still be, I think. It might be that the permissions are missed up somewhere, although I would think you would have more than this problem. Maybe the path to the file is not quite right. If the configure file was not changed properly, I suppose that could cause such a problem.

 

Jack

Share this post


Link to post
Share on other sites

And in the admin/sitemap.php it has if ($handle = opendir(DIR_FS_CATALOG)){

Which gives me the same errors of unable to open directory /path/to/my/site/ Permission denied.

 

If I put in

/path/to/my/site/includes/modules/

 

Then the errors stop, but doesn't seem to update the public dynamic_sitemap.php

Share this post


Link to post
Share on other sites
My mistake. Yes, it updates the db. Had two of the same file in the db. Removed the extra instance and it updates fine.

 

In IE6. Firefox browser doesn't have the submit button to make changes.

 

Just recording all this in case someone else runs into the same issues I have.

Share this post


Link to post
Share on other sites

Hey again Jack :)

 

Is it possible to display both the products and categories?

At the moment I can either display the categories or the products with two different category_tree.php files.

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

×