Forums

Products - English => NeoLatestNews => Topic started by: Artyomii Artyomii on March 21, 2010, 07:39:53 PM



Title: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on March 21, 2010, 07:39:53 PM
Hello!
Install module neolatestnews v.1.4.1, in Google Chrome v.4.1.2... vertical scroll works well, in Mozilla Firefox v.3.6 not working vertical scroll and horizontal scroll(shows all the articles in the column)???
Sorry for my English, I'm from Russia, help me!


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on March 21, 2010, 11:21:39 PM
I do not know why Mozilla does not read the way with a backslash =>(.DS.=\)  that was the problem...
Code:
localhost/mysite/modules[color=red]\[/color]mod_neolatestnews[color=red]\[/color]css[color=red]\[/color]neolatestnews.css ('<link rel="stylesheet" type="text/css" href="'.JURI::Base().'modules'.DS.'mod_neolatestnews'.DS.'css'.DS.'neolatestnews.css" />')

and this is a bug developer I think:
Code:
localhost/mysite[color=red][b]/\[/b][/color]modules\mod_neolatestnews\js\verticalscroll.js?toto=10('<script type="text/javascript" src="'.JURI::Base().DS.'modules'.DS.'mod_neolatestnews'.DS.'js'.DS.'verticalscroll.js?toto=10"></script>')



Title: Re: Mozilla Firefox 3.6
Post by: Raphael on March 22, 2010, 09:06:09 PM
Hi Artyomii,

Everything worked fine with the previous versions of Firefox, so we will do some tests with Firefox 3.6 now, and publish a new release of the module.

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on March 23, 2010, 03:53:52 AM
Hi Artyomii,

Everything worked fine with the previous versions of Firefox, so we will do some tests with Firefox 3.6 now, and publish a new release of the module.

Regards,

no include css and js warning /\ (.JURI::Base().DS.'modules)


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on March 23, 2010, 04:08:47 AM
Raphael
If I fasten css and js like this:
.DS. .
will whether a mistake?


Title: Re : Mozilla Firefox 3.6
Post by: Raphael on March 23, 2010, 10:22:49 PM
Hi Artyomii,

We are doing some tests, a solution should be found before the end of the week.

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Raphael on March 25, 2010, 10:42:13 PM
Hi Artyomii,

I did some more tests, but I have not had any problem.

Are you maybe working in local ?

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 18, 2010, 02:57:59 PM
Hi Raphael,
Yes, it works on localhost. Here's how I did:
file mod_neolatestnews.php (include css)
 line
Code:
href="'.JURI::Base().'modules'.DS.'mod_neolatestnews'.DS.'css'.DS.'neolatestnews.css"
replaced by
Code:
href="'.JURI::Base().'modules/mod_neolatestnews/css/neolatestnews.css"
and
file tmpl\vscroll.html.php (i use a template vertical scroll)
 line
Code:
src="'.JURI::Base().DS.'modules'.DS.'mod_neolatestnews'.DS.'js'.DS.'verticalscroll.js?toto=10"
replaced by
Code:
src="'.JURI::Base().'modules/mod_neolatestnews/js/verticalscroll.js?toto=10"
Thank you for your attention.


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 18, 2010, 03:31:14 PM
Sorry, Rafael, I want to know about the images?!
In an article to insert images, and displays 2 images? explain in the code:
Code:
<div class="newsimage"><img border="0" align="default" alt="pastarchives.jpg" style="margin: 0.2em;" src="/mysite/images/stories/pastarchives.jpg"></div><div class="newstext"><p><img width="128" height="96" border="0" style="vertical-align: middle;" src="/mysite/images/stories/pastarchives.jpg">Text Text Text</p></div>
Why?


Title: Re : Mozilla Firefox 3.6
Post by: Raphael on April 18, 2010, 04:12:45 PM
Hi,

Thanks for your answer about the JS and CSS files.

Then, the module hides automatically the images included in the text, and you can choose in the advanced parameters of the module to generate a thumbnail on the left of the text for example, in order to get the same layout for all the articles.

But to hide the original image, the script looks for a tag starting with '<img' and ending with '/>', in accordance with the W3C rules. In your example, I think so that the problem is just that the IMG tag is not closed correctly.

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 18, 2010, 06:20:04 PM
Hello, Raphael!
I did not understand or you did not understand me?!
Why are 2 images?


Title: Re : Mozilla Firefox 3.6
Post by: Raphael on April 18, 2010, 07:36:50 PM
Hello,

Yes, I understood your problem. I think you have set the option "Show the images" on "Yes" in the advanced parameters of the module, to generate a thumbnail of the first image included in each article, so a first image is displayed.

Then, the images included in the articles are hidden automatically, but the image HTML tag is not written correctly : the slash needed to close the tag is missing, so a second image is displayed.

So, you have 2 solutions : correct the HTML tag (with adding a slash at the end), or set the option "Show the images" on "No".

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 19, 2010, 10:26:28 AM
Hi Raphael,!
Slash is. Option 2 does not suit me, I have as you say, that the module hid the picture in the article and get a picture to resize. The above code without the slash so firebug shows, but the source code page there is a slash:
Code:
<div class="newsimage"><img src="/mysite/images/stories/pastarchives.jpg" border="0" align="default" style="margin:0.2em" alt="pastarchives.jpg" /></div><div class="newstext"><p><img src="/mysite/images/stories/pastarchives.jpg" border="0" alt="Test" width="128" height="96" style="vertical-align: middle; border: 1px solid black;" />Text Text Text Text</p></div>
What's this?
P.S. By the way I did not find a function to hide the picture in the article


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 19, 2010, 12:55:11 PM
Welcome Raphael,!
I realized in the settings if installed by default, the output unchanged, while the rest hide the pictures in the text.
Another question: how to make a tag alt and title the picture newstitle? There, the variable $ image_title displays the file name(Example: pastarchives.jpg). It must be the name of the text Titel Feature, tell my?


Title: Re : Mozilla Firefox 3.6
Post by: Raphael on April 23, 2010, 12:00:30 AM
Hi,

I think I have found a solution to your problem. Did you select the option "Full text" or "Truncated text" for the parameter "Introduction text" please ?

The HTML tags are not stripped the same way in the 2 cases.

Regards,


Title: Re: Mozilla Firefox 3.6
Post by: Artyomii Artyomii on April 25, 2010, 01:18:36 PM
Hi Raphael,!
You do not understand, again explains:
script img alt=$image_title title=$image_title
displays alt=name.jpg title=name.jpg

be here as:
example alt=$title title=$title
displays alt=Test title=Test