Dynamic SiteMap
#1 ONLINE
Posted 29 June 2005 - 01:36 AM
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#2
Posted 29 June 2005 - 05:28 AM
Jack_mcs, on Jun 28 2005, 08:36 PM, said:
Jack
Jack, are you saying that if I currently use SiteMap MS2, I can add this contribution and it will work correctly?
#3
Posted 29 June 2005 - 08:47 AM
Thanks for this contribution ! I did not have something as a sitemap in my shop yet and when I found yours this morning I thought it a good time to work on it rightaway.
I just installed it but (yes, there it is) I get a whole bunch of
Warning: strpos(): Empty delimiter. in /home/httpd/vhosts/wheeloftime.nl/httpdocs/osctest/includes/functions/dynamic_sitemap.php on line 35at the top of my page.
After that I do see the sitemap but in the right column it all says things like
Quote
# Account
# Account_edit
# Account_history
# Account_history_info
# Account_newsletters
etc.
Error! Unable to determine the page link!The only thing I can add right now is that the links in my information box are being repeated for a second time in the right column of the sitemap page. The second occurence is only partly as there seems to be the break.
I hope you can give me a clue where to look for !
Thanks,
Howard
#4 ONLINE
Posted 29 June 2005 - 12:18 PM
pnkranger, on Jun 29 2005, 01:28 AM, said:
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#5 ONLINE
Posted 29 June 2005 - 01:56 PM
wheeloftime, on Jun 29 2005, 04:47 AM, said:
Thanks for this contribution ! I did not have something as a sitemap in my shop yet and when I found yours this morning I thought it a good time to work on it rightaway.
I just installed it but (yes, there it is) I get a whole bunch of
Warning: strpos(): Empty delimiter. in /home/httpd/vhosts/wheeloftime.nl/httpdocs/osctest/includes/functions/dynamic_sitemap.php on line 35at the top of my page.
After that I do see the sitemap but in the right column it all says things like
Then at the end I find
Error! Unable to determine the page link!The only thing I can add right now is that the links in my information box are being repeated for a second time in the right column of the sitemap page. The second occurence is only partly as there seems to be the break.
I hope you can give me a clue where to look for !
Thanks,
Howard
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#6
Posted 29 June 2005 - 02:13 PM
Jack_mcs, on Jun 29 2005, 02:56 PM, said:
Jack
Many thanks Jack ! I will get and try it immediately and let you know the outcome.
#7
Posted 29 June 2005 - 02:39 PM
I installed the contribution just now and, clicking in the Site Map entry in the Information Box, I get the following message
Warning: strpos(): Empty delimiter. in /home/paradin/public_html/includes/functions/dynamic_sitemap.php on line 35
repeated a large number of times, presumably once for every product (although I haven't counted), followed by the SiteMap page (with Column_right which has disappeared), followed by "Error! Unable to determine the page link".
If you try the following link, you'll se what I mean
my shop
Nick
#8
Posted 29 June 2005 - 02:56 PM
esperos, on Jun 29 2005, 03:39 PM, said:
I installed the contribution just now and, clicking in the Site Map entry in the Information Box, I get the following message
Warning: strpos(): Empty delimiter. in /home/paradin/public_html/includes/functions/dynamic_sitemap.php on line 35
repeated a large number of times, presumably once for every product (although I haven't counted), followed by the SiteMap page (with Column_right which has disappeared), followed by "Error! Unable to determine the page link".
If you try the following link, you'll se what I mean
my shop
Nick
@Nick:
Read above, I had a similar problem ! There is new version at the contribution section which helps solving this problem.
@Jack:
Although it didn't show me the name of the culprit infoboxes they were down to two and I figured them out by adding those I have extra one by one until resolved !
One thing stays:
Quote
Unable to determine the page link!
It goes until
Quote
* Over Wheel of Time
* Verzenden & Retourneren
* Privacy verklaring
* Algemene Voorwaarden
* Neem contact op
* Site Overzicht
* Waar vindt u ons ?
* WoTs FAQ
After WoTs FAQ I have a <hr> tag (removed that to try if that caused the error but that didn't make any difference) followed by a link to my guestbook, ebay link and a Links link.
The link to my guestbook works and shows alright in between the links above the informatonbox section of the sitemap but it looks like it breaks the sitemap output.
Not sure though if that has anything to do with it ?!
Edited by wheeloftime, 29 June 2005 - 02:57 PM.
#9
Posted 29 June 2005 - 03:12 PM
Invalid code for this module found in the following infobox: Pages
Invalid code for this module found in the following infobox:
Invalid code for this module found in the following infobox: Heading
The funny thing is that I don't have any infoboxes with the names of "Pages" or "Heading". Do these errors point to something elase? And what can be the meaning of the second error message?
I also get an incomplete "Information" sitemap, beginning with "About us" and missing everything else.
Nick
#10
Posted 29 June 2005 - 03:33 PM
esperos, on Jun 29 2005, 04:12 PM, said:
Invalid code for this module found in the following infobox: Pages
Invalid code for this module found in the following infobox:
Invalid code for this module found in the following infobox: Heading
The funny thing is that I don't have any infoboxes with the names of "Pages" or "Heading". Do these errors point to something elase? And what can be the meaning of the second error message?
I also get an incomplete "Information" sitemap, beginning with "About us" and missing everything else.
Nick
It seems we are encountering the same things...
I solved the infobox problem by adding my out of the ordinary infoboxes at the exception list you will find within the file catalog/includes/modules/dynamic_sitemap.php.
The names to add you have to pick from the php names you will find inside the boxes directory.
The incomplete Information sitemap part is still a puzzle for me also although I see most of them except the last three.
#11
Posted 29 June 2005 - 07:48 PM
Did you pull the contribution? I cannot find a sitemap on your site.
Nick
#12
Posted 29 June 2005 - 08:05 PM
esperos, on Jun 29 2005, 08:48 PM, said:
It's on my test shop. I'll PM you the address.
#13 ONLINE
Posted 29 June 2005 - 08:15 PM
wheeloftime, on Jun 29 2005, 10:56 AM, said:
Read above, I had a similar problem ! There is new version at the contribution section which helps solving this problem.
@Jack:
Although it didn't show me the name of the culprit infoboxes they were down to two and I figured them out by adding those I have extra one by one until resolved !
One thing stays:
at the end of the page where it should list all links in my information box.
It goes until
but I have three more links in there of which I assume one gives the error ?
After WoTs FAQ I have a <hr> tag (removed that to try if that caused the error but that didn't make any difference) followed by a link to my guestbook, ebay link and a Links link.
The link to my guestbook works and shows alright in between the links above the informatonbox section of the sitemap but it looks like it breaks the sitemap output.
Not sure though if that has anything to do with it ?!
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#14
Posted 29 June 2005 - 08:35 PM
"Error!
Unable to determine the page link!"
Anyone know how to get rid of that?
#15
Posted 29 June 2005 - 08:43 PM
OnlineHelp, on Jun 29 2005, 10:35 PM, said:
"Error!
Unable to determine the page link!"
Anyone know how to get rid of that?
#16
Posted 29 June 2005 - 09:23 PM
I hope the code I am attaching, from the catalog/includes/boxes/information.php is what you want to see. Please let me know if that is not the casae.
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US .
'</a><br>' .'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_DYNAMIC_SITEMAP) . '">' . BOX_INFORMATION_DYNAMIC_SITEMAP . '</a>');
new infoBox($info_box_contents);
@ Howard,
I think that the right-hand column of entries in your Site map are pages which you may want to remove by adding them to the 2nd exclusion list in the catalog/includes/modules. I have removed mine in that way.
Nick
#17
Posted 29 June 2005 - 09:28 PM
Jack_mcs, on Jun 29 2005, 09:15 PM, said:
Jack
Jack,
The following I have in my information box:
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_DYNAMIC_SITEMAP) . '">' . BOX_INFORMATION_DYNAMIC_SITEMAP . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_FIND_US) . '">' . BOX_INFORMATION_FIND . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br>' . //Points/Rewards module v1.10
'<hr><a href="' . tep_href_link(FILENAME_GUESTBOOK) . '">' . BOX_INFORMATION_GUESTBOOK . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_EBAY) . '">' . BOX_INFORMATION_EBAY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a>');
It seems to break after BOX_INFORMATION_MY_POINTS_HELP although everything displays normally within the infobox itself.
#18
Posted 29 June 2005 - 09:32 PM
esperos, on Jun 29 2005, 10:23 PM, said:
I think that the right-hand column of entries in your Site map are pages which you may want to remove by adding them to the 2nd exclusion list in the catalog/includes/modules. I have removed mine in that way.
Nick
Nick,
Yes, I already took a couple of them out but I wanted to wait with the rest until the information thingie is working. There seems to be a whole lot which can go out.
Howard
#19 ONLINE
Posted 29 June 2005 - 11:48 PM
Howard - Change this code
'<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br>' . //Points/Rewards module v1.10 '<hr><a href="' . tep_href_link(FILENAME_GUESTBOOK) . '">' . BOX_INFORMATION_GUESTBOOK . '</a><br>' .to this
'<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br><hr>' . //Points/Rewards module v1.10 '<a href="' . tep_href_link(FILENAME_GUESTBOOK) . '">' . BOX_INFORMATION_GUESTBOOK . '</a><br>' .
Nicholas - Change this code
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US .
'</a><br>' .'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .to $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
I made those changes after adding your code and it worked.Jack
Edited by Jack_mcs, 29 June 2005 - 11:49 PM.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#20
Posted 30 June 2005 - 05:47 AM
Jack_mcs, on Jun 30 2005, 12:48 AM, said:
Howard - Change this code
'<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br>' . //Points/Rewards module v1.10 '<hr><a href="' . tep_href_link(FILENAME_GUESTBOOK) . '">' . BOX_INFORMATION_GUESTBOOK . '</a><br>' .to this
'<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br><hr>' . //Points/Rewards module v1.10 '<a href="' . tep_href_link(FILENAME_GUESTBOOK) . '">' . BOX_INFORMATION_GUESTBOOK . '</a><br>' .I made those changes after adding your code and it worked.
Jack
Jack,
I moved the <hr> tag to the previous line as you suggested and that indeed did seem to solve the problem. However the information box links are repeating themselves and at the second occurence the same error message comes up.
Quote
o Over Wheel of Time
o Verzenden & Retourneren
o Privacy verklaring
o Algemene Voorwaarden
o Neem contact op
o Site Overzicht
o Waar vindt u ons ?
o WoTs FAQ
o Gastenboek
o Veilingen op eBay
o Links
* Information
o Over Wheel of Time
o Privacy verklaring
o Algemene Voorwaarden
o Verzenden & Retourneren
o Neem contact op
o
Thanks for all your help !









