Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
This is a normal behavior but it could be optimised in the future. From which 
plugin are you talking about?

Original comment by [email protected] on 12 Jun 2010 at 6:35

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from flexicontent.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
hello
the problem is here
http://flexicontent.org/forum/index.php?f=30&t=1566&rb_v=viewtopic&start=10
thanks

Original comment by [email protected] on 12 Jun 2010 at 3:05

from flexicontent.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
After checking, the problem isn't directly related to FLEXIcontent itself but 
some content plugins needs to be adapted in order to perform that.
A simple idea would be to add a global variable in order to check that the 
scripts and css are only loaded once in a category view.
<?php
global $googleloaded;
if (!$googleloaded) {
// here you load your scripts and set $googleloaded to 1 (as the variable is 
global this part of the plugin will be loaded only once
$document->addStyleSheet($this->baseurl.'/components/com_flexicontent/assets/css
/flexicontent.css');
// ..... aso
$googleloaded = 1;
}
?>

Original comment by [email protected] on 3 Mar 2011 at 6:17

  • Changed state: WontFix
  • Added labels: Version-1.5.x

from flexicontent.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
ok thanks

Original comment by [email protected] on 3 Mar 2011 at 9:01

from flexicontent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.