Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

17565 Posts in 2256 Topics- by 763 Members - Latest Member: chukiv
  Show Posts
Pages: [1] 2
1  Open Source Content Management Systems / Joomla 1.5 / Re: Dupli naslovi on: 21.07.2008; 02:20:05 AM
U pravu si za Page Title. Hvala puno!
2  Open Source Content Management Systems / Joomla 1.5 / Dupli naslovi on: 20.07.2008; 22:51:03 PM
Instalirao sam Joomla 1.5 i imam dva problema. Prvi problem je to sto mi prikazuje duple naslove tekstova a drugi problem je veliki prostor izmedju Intro teksta i dugmeta Read more. Zna li neko resenje za ovo?
3  Open Source Content Management Systems / Joomla ostalo / Re: Kada ukljucim SEF ne prikazuje se Flash Rotator on: 07.06.2008; 19:56:42 PM
Koristim Joomla 1.5.3 SEF, ne koristim druge dodatne komponente. Na ovom linku dodaje ekstenziju ali ne ucitava Flash Rotator. -http://www.domen.com/component/content/article/34-tehnicke-vijesti/44-test.html

Kada iskljucim sef sve radi normalno. Ista stvar mi se desavala na drugom sajtu na kome je bila Joomla 1.0.15 i sh404SEF. To sam rijesio tako sto sam na stranicama na kojim mi ne prikazuje Flash Rotator koristio Ajah Header Rotator ali sada ni to ne mogu posto jos nema verzije za Joomlu 1.5.

Nasao sam ovaj tekst u kome je opisan problem i moguce resenje ali kada dodam ove dvije linije u .htaccess fajl pojavi se greska "500 Internal Server Error".

Quote
Joomla Errors and the www. Domain Mismatch

Many Joomla users, particularly newbies (newcomers or beginners), fall victim to a variety of issues which have the same root cause. The so called www domain mismatch causes a wide variety of issues such as login failures (both core and Community Builder logins, and administrator logins), WYSIWYG editors failing to load or failing to save content, javascript execution halted with error messages. At JoomlaShack our own Flash based JPG Rotator is triggered by javascript and this module is amongst those affected.
What Causes This?

http://www.yourdomain.com/ and http://yourdomain.com/ ARE NOT THE SAME address. Just because most web servers are set to show the same content to both addresses does not mean that this has to be the case.

Technically anything before the first dot such as www. or news. or anything. are sub-domains and should be treated as separate entities. Internet Explorer in particular enforces this distinction. This is the reason that the issue is more prevalent in Internet Explorer.
What restrictions does this imply?

Certain javascript functions are not allowed - this is to prevent what is known as Cross Site Scripting - whereby code from one domain is executed on pages of another domain usually to expose some data that otherwise should be kept secret, for example to expose session ids or cookie values from one site to the operator of another site.
Joomla and the www. mismatch?

The issue manifests itself with javascript and cookie issues, so interactive scripts and login issues are the main symptoms. Examples include wysiwyg editors not loading or functioning correctly, or anything javascript dependent not loading. Here at JoomlaShack the most common issue our users complain of is a failure of our very own Flash JPG Rotator to function as expected.
How to tell if you have the problem?

If your wysiwyg editor, or flash rotator, or admin login doesn't work correctly try the other form of address - if it suddenly works with the other form then you have been bitten by the www mismatch.
How to correct the situation

The key to this issue with Joomla is to set the $mosConfig_live_site variable in configuration.php to one form of address and stick to it. Obviously you have to enforce this - which at a minimum means never publishing the alternative form of the address.

You can take this a step further if your server is the Apache web server. You can use settings in your .htaccess file to force requests for the alternative form of address to automatically redirect on to your chosen form of address.

To force a redirect to the none www. address try this:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^example\.com
RewriteRule (.*) http://example.com/$1 [R=301, L]

To force a redirect to the www. version of the address try to ensure that the following lines are present in your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301, L]

Now explaining the purpose of a .htaccess file is well beyond the scope of this article - but as my target audience is newcomers I suppose a few words are in order.

A .htaccess file is a special server configuration file used by Apache web servers to allow users to override specific server settings on a folder by folder basis. Settings in a .htaccess file may be inherited by sub-folders (sub-directories) so one file in the 'root' of a site can apply to a whole site.

    * The file is just a plain text file and can be edited by any basic text editor - such as notepad - but NOT a word processor.
    * The correct name for this file is '.htaccess' (without he quotes). Note the leading dot followed by htaccess - nothing before that leading dot.
    * If you try to create a file with this name in windows you will struggle - the Windows Graphical User Interface doesn't like it - although dos doesn't have problems. Windows Explorer doesn't allow such file names.

How to create a .htaccess file - in Windows
Create a .htaccess file - Method 1

Create a new text file in Notepad and try to save it as .htaccess . If it works fine. If you struggle, or Notepad adds .txt to the end of the filename against your wishes then try this: when you do the 'Save As', try wrapping the filename in double quotes ".htaccess"
Create a .htaccess file - Method 2

save the file with any filename you want - open a 'dos prompt' or 'command prompt' in the folder where you saved the file. Then type the following line and hit enter:
ren example.txt .htaccess
Create a .htaccess file - Method 3

save the file with any old name, upload to the server using FTP software and then rename the file on the server.

Joomla ships with a sample .htaccess file which is used for Search Engine Friendly Url purposes. Joomla uses method 3 above - the file is named htaccess.txt and needs to be renamed before Search Engine Friendly Urls are activated. We can piggyback our commands into this existing file if it is in use (ie if it has been renamed '.htaccess'. If your site is already utilising a .htaccess file then all you need to do is simply place the last two lines of your chosen redirect instructions towards the top of the file but AFTER the line:
RewriteEngine On

There are many, many other things the .htaccess file can be used for whether with websites in general or with Joomla in particular - but the above information should at least make you more informed about:

    * the causes of the www. mismatch,
    * how to diagnose that you have been affected
    * how to resolve the issue through a simple edit of configuration.php
    * how to permanently fix the issue through a htaccess redirect

4  Open Source Content Management Systems / Joomla ostalo / Kada ukljucim SEF ne prikazuje se Flash Rotator on: 07.06.2008; 17:44:50 PM
Koristim joomla 1.5.3. Kada mi je sef iskljucen Flash Rotator mi radi normalno, kada ukljucim sef, Flash Rotator se prikazuje samo na nekim stranicama.

Na primjer:

Na ovim sve radi normalno

    -http://www.domen.com (front page)
    -http://www.domen.com/about-us
    -http://www.domen.com/contact-us
    -http://www.domen.com/faq


Na ovim ne radi, kada kliknem na mjestu gdje treba da bude Flash Rotator pise Movie not loaded.

    -http://www.domen.com/about-us/ (svi na kraju imaju slash)
    -http://www.domen.com/profile/works1/


Zna li neko u cemu je problem i da li postoji resenje?

5  Open Source Content Management Systems / Administracija / Re: ovako imam problem oko sajta.... on: 22.05.2008; 03:17:20 AM
Ja uđoh 'ladno na http://websvet.net/joomla/administrator/

Nije ti to dobro... Imaš li ti neki backup, pa da lepo obrišeš sve i kreneš nanovo?


Slazem se, brisi to sto prije.

Ne znam za ostale ali ja jos ne bih dizao 1.5. Nije problem u verziji Joomle, vjerovatno si ti nesto zabrljao
6  Open Source Content Management Systems / Joomla ostalo / Re: SMF banneri u Joomli? on: 18.05.2008; 04:50:22 AM
Mislis swf  Wink Imas ArtBannersPlus mada se moze izmjeniti i Joomla Banner komponenta da prikazje swf.

Verzija 1.4
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1067/Itemid,35/

Verzija 1.5

http://www.dinoporcaro.it/index.php?option=com_docman&task=cat_view&gid=13&Itemid=30
7  Open Source Content Management Systems / Komponente / Re: Problem sa instalacijom SEF komponenti on: 17.05.2008; 08:00:35 AM
Pa ljepo ti kaze unexpected '/' in /home/xxx/public_html/administrator/components/com_sef/default.sef.php on line 59.
Odes kroz file manager ili skines putem ftp-a fajl default.sef.php koji se nalazi u /home/xxx/public_html/administrator/components/com_sef/ folderu, potrazis liniju 59, nadjes znak / koji smeta i uklonis ga.
Ne mogu pronaci taj znak  Sad

Ovo sam nasao na forumu sh404SEF ali mi nije jasno o cemu se radi, oni kazu da postoji bug koji dovodi do ove greske.

Quote
Parse error: syntax error, unexpected '/'..default.sef.php on line 59

Hi,

This is indeed a bug. The problem is the content of the tab is erased under some circumstances. maybe linked to permissions on the file system ?
Anyway, if you paste back the initial content, it will work. The "Headers already sent..." is just a consequence
Any details will be useful to solve this. Of course, it does not happens on my test machines and servers...

Rgds

8  Open Source Content Management Systems / Komponente / Problem sa instalacijom sh404SEF komponente on: 17.05.2008; 06:35:25 AM
Kada pokusam da instaliram sh404SEF pokaze mi ovo: Parse error: syntax error, unexpected '/' in /home/xxx/public_html/administrator/components/com_sef/default.sef.php on line 59

Imao sam instaliran Artio JoomSEF i radio je OK. Obrisao sam ga zbog onih reklama i instalirao  sh404SEF. Kada se instalacija zavrsila klikno sam na Continue i pojavila mi se ova greska i pojavljuje se stalno kada pokusam da instaliram sh404SEF.  Sad
9  Open Source Content Management Systems / Komponente / AJAX Shoutbox dodavanje prefiksa on: 04.05.2008; 20:47:06 PM
Kako da izmjenim AJAX Shoutbox da ispred imena neregistrovanih korisnika dodaje prefiks Gost? Znaci kada korisnik koji nije registrovan napise ime koje zeli, npr. sasa i posalje poruku,u Shoutbox treba da pise ovo: [Gost]:sasa
Nadam se da sam bio dovoljno jasan  Crying
10  Open Source Content Management Systems / Komponente / Zoom Gallery 251rc3 on: 10.11.2007; 19:54:15 PM
Gdje mogu da skinem Zoom Gallery 251rc3
11  Open Source Content Management Systems / Templates / Templejti / Predlosci / Re: [RIJESENO] Izmjena pozicije modula on: 17.06.2007; 00:07:20 AM
Otvorio sam index.php u Dreamweaveru i napravio izmjenu u ovom dijelu
Code:
<body id="body">
<div id="ol-mainbd">
<div id="topup">
<div id="logo"></div><div id="flash"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="160" width="600">
<param name="movie" value="<?php echo $mosConfig_live_site?>/templates/ol_desire/images/desire.swf" />
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="160" pluginspage="http://www.macromedia.com/go/getflashplayer" src="<?php echo $mosConfig_live_site?>/templates/ol_desire/images/desire.swf" type="application/x-shockwave-flash" width="600" quality="best" play="true"></embed>
</object></div>
</div>

Novi kod izgleda ovako:
Code:
<body id="body">
<div id="ol-mainbd">
<div id="topup">
<div id="logo"></div><div id="flash">
<?php mosLoadModules 'user9', -); ?>
</div>
</div>

Kao sto vidis nije neko umjece ali radi, inace na to mjesto sam umjesto flesh-a postavio AJAX Header Rotator. Cekao sam na odgovor ali niko se nije javio pa sam cackao i rijesio svoj problem. Sad ne znam da li ce nekome koristiti ali nek se nadje.  Smiley Smiley Smiley
12  Open Source Content Management Systems / Templates / Templejti / Predlosci / Re: Izmjena pozicije za modul on: 16.06.2007; 19:17:10 PM
Sredio sam, jednostavnije je nego sto sam mislio  Big Grin Big Grin Big Grin
13  Open Source Content Management Systems / Komponente / Re: Padajuca lista on: 16.06.2007; 16:35:53 PM
Dobro si shvatio, vidio sam to na jednoj stranici ali cini mi se da je to bilo uradjeno u java script-u, kada izaberes nesto nije bilo ucitavanja stranice, tekst se pojavljivao trenutno. Nasao sam nesto slicno tome, nije kao to sto zelim ali odgovara mi. Pogledaj na ovoj stranici http://www.cinemad.gr/
14  Open Source Content Management Systems / Templates / Templejti / Predlosci / [RIJESENO] Izmjena pozicije modula on: 16.06.2007; 08:09:23 AM
Zelim da u ol_desire templejtu dodam novu poziciju ili da postojecu poziciju premjestim na vrh umjesto flash-a. Kako to da uradim?  ???
15  Open Source Content Management Systems / Komponente / Padajuca lista on: 16.06.2007; 06:29:56 AM
Zelim da napravim padajucu listu u kojoj bi bili odredjeni pojmovi. Izborom nekog od pojmova treba da se ispod padajuce liste prikaze tekst koji se odnosi na izabrani pojam. Da li je to moguce, odnosno postoji li neka komponenta za to? Nadam se da razumijete sta hocu  ??? ??? ???
Pages: [1] 2