On the front page, when using Danland, I receive a "broken image" link under the title of the node promoted to the front page. In Firefox, everything is fine. When looking at the page source, it appears that between the node title and text, there is an link to an image, but no image. Please see below:
Comments
Comment #1
zemliansky commentedsorry, pasting the code did not work. Here it is again:
a href="">
<
Comment #2
fluxrider commentedHi . Just a thought ( theres no code showing in your post still ) .
Have you looked in the content type you are promoting to the front page . IE and Safari will show the broken image , firefox doesn't display broken images but it will still be there. There should be a page not found in your logs , or just edit the content and see whats missing. I'm using danland 6.x-1.10 and have no such errors appearing in front page promotions. Just a thought.
Comment #3
zemliansky commentedThanks for the reply. I am using the "innovation news" installation package and have promoted the node of the type "article." As far as I can tell, there is nothing unusual about the node. Looking at the source code in Firefox, the line with the "missing image" is not even showing, but it does in both IE and in Safari. When you mention the page in the logs or say to "edit the content," what do you mean? The broken image link is between the title of the node and the text itself.
When I put the mouse over the broken link, the URL is to the home page of the site.
Thank you again for any help in advance.
Comment #4
danpros commentedHi,
Are using the latest version? and what change you already do to Danland?
Dan
Comment #5
zemliansky commentedDan,
I am using the latest version and the only changes I made was to replace the images in the banner, uploading new photos and changing the front page.php file.
Thank you for any suggestions you can give.
Comment #6
danpros commentedHi,
Please paste the code here, read the formatting options below on how to pasting the code. You may post code using.....
Dan,
Comment #7
zemliansky commentedDan,
here is the piece of code that I think is giving trouble:
Seems like the image is missing and the link is back to the home page.
Thank you for your help.
Pavel.
Comment #8
danpros commentedHi Pavel,
So you are using Views module, is the url exist (/?q=articles/welcome)? it's seem the problems is the module configurations not the theme. Please check the Views settings related to your custom content type. Find resources to configuring the Views module.
In Danland no such code like that. Or maybe you had missing something like div when changing the banner, please check it again.
Dan,
Comment #9
zemliansky commentedDan,
thank you. Two questions if I may: if I am missing some code "like div", where would I put it? Sorry, I am not good at writing code. Also, I am using a Drupal distribution called "Innovation news" which does indeed use the views module. Do you know what in the setting of Views I need to check?
Also, I am pretty sure that the problem is not in the specific node because the node appears fine after the broken image link and because the broken image links is there no matter what node I promote to the front page.
Thank you.
Comment #10
danpros commentedHi,
For the div you should make sure if the closing tags
is there (check the line where you change the banner).
The best place to start learn the Views module is in the project page.
Since the problems is the module configurations then I'll close this. But if you need more helps you can post it here.
Dan,
Comment #11
danpros commentedThanks,
Dan
Comment #12
danpros commentedChange the category.