 |

doreenk
New User
Apr 24, 2008, 4:36 AM
Post #1 of 4
(526 views)
Shortcut
|
|
Blank filename in search result article links
|
Can't Post
|
|
Hi, I'm working on an error noticed in a site just after the server upgraded to PHP5, don't think that's necessarily relevent but wanted to mention it just in case... When something is searched for, the results display perfectly with article name, date added, but have an error in the link to article (like http://www.mysite.ie/artman2/publish//.php). This is an excerpt from the templateplaceholderList (keeping sitename private...) generated in the cgi-bin/artman2/templates/searchEngine/searchResults.php page that's used to display the results: 'published.articlepage.filename': "/.php", 'published.articlepage.url': "http://www.mysite.ie/artman2/publish//.php", Looks like the placeholder's just not being generated correctly - anyone have any suggestions to fix it? Thanks for your help.
|
|
|  |
 |

MikeB
Staff
/ Moderator

Apr 24, 2008, 10:54 AM
Post #2 of 4
(474 views)
Shortcut
|
|
Re: [doreenk] Blank filename in search result article links
[In reply to]
|
Can't Post
|
|
Hi, Thanks for the post! Is this something that is only coming up in the search results, or will you get the same error when you go to any of the category index pages? One thing I'd suggest double checking is the publishing rule in Article Manager that creates the articles themselves (Admin->Publishing). You'll want to check the "filename" field to ensure that there's something descriptive in there (article name/number) so each article will get it's own file. I hope this helps! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

doreenk
New User
Apr 25, 2008, 6:48 AM
Post #3 of 4
(352 views)
Shortcut
|
|
Re: [MikeB] Blank filename in search result article links
[In reply to]
|
Can't Post
|
|
Hi, thanks for the reply. I should have mentioned, the publishing rule includes the article name and all else on the site seems fine - new articles are publishing ok with correct article names, and can be accessed correctly from category index. When searched for the results seem to display ok, list of article titles similar to search keyword, but the article link is banjaxed. Actually, looking at it again, in the link the category is blank as well as the article title... My code in the search template is
<a href="$published.articlePage.url$">$article.title$</a> So should be displaying
<a href="http://www.mysite.ie/artman2/publish/my_category/article_title.php">My article title here</a> But is displaying
<a href="http://www.mysite.ie/artman2/publish//.php">My article title here</a>
(This post was edited by doreenk on Apr 25, 2008, 6:56 AM)
|
|
|  |
 |

MikeB
Staff
/ Moderator

Apr 25, 2008, 11:47 AM
Post #4 of 4
(315 views)
Shortcut
|
|
Re: [doreenk] Blank filename in search result article links
[In reply to]
|
Can't Post
|
|
Hi, Thanks for the additional details about this! From what you've outlined here, it's a bit tough for me to see the problem without having a look at your site. At this point you'll just want to fill out a Support Request with your FTP details here: https://www.interactivetools.com/support/email_support.cgi From there I can have a look at your site and templates a bit more closely and see what might be causing this. I look forward to hearing from you! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|