joomla wrong base href results in wrong CSS template -


i have installed joomla 3.x , modules.

one of modules display articles categories of articles, when navigate article, css stylesheets not load.

when view source, discovered url css stylesheet in page above becomes:

<base href="http://cambridge.mywebcommunity.org/index.php/10-%e7%88%b1%e7%ab%8b%e6%96%b9%e5%8a%a8%e5%90%91%e6%9b%b4%e6%96%b0/3-welcome-to-your-blog" /> 

... instead of original put in, here:

<base href="http://cambridge.mywebcommunity.org/" /> 

this happens css stylesheet module. css url loads this:

 <link rel="stylesheet" href="http://cambridge.mywebcommunity.org/10-爱立方动向更新/modules/mod_news_pro_gk5/interface/css/style.css" type="text/css" /> 

... instead of original css url put in:

  <link rel="stylesheet" href="http://cambridge.mywebcommunity.org/modules/mod_news_pro_gk5/interface/css/style.css" type="text/css" /> 

so have figured out issue urls not being added joomla correctly. how go fixing this?

from you've posted looks (or extension developers) trying add css absolute links. looking @ source of page show links different core links in absolute not relative. may need code in modules doing , fix or contact developers , ask them fix. ask them js.

in joomla add style sheets code in template index:

$doc->addstylesheet('templates/'.$this->template.'/css/template.css');

the change in behavior due recent security fix concerning uris in header. i'm not going link details of exploit easy enough find out why changed, reasons.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -