Flexi content and website template

More
12 years 7 months ago #37731 by makeitalia
Thank you for your feedback but i've already read this article (suggested by Rooney), i followed the instructions but it didn't help me to solve the problem

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37733 by ggppdk
Hello,
the given CSS file is loaded by FLEXIcontent,
but make sure the file you created has correct path and name, if you do a "view HTML source" in your browser, ... then do you see the file being loaded ?

So
please check the 3 points i made above.


if yes then the rest is just writting correct and appropriate CSS ... also putting your site online and posting a link would help


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37734 by Rooney
An excellent tool to explore which files are loaded and which css classes override others is the Firefox extension Firebug.
Also, if you had a link to your page I would have a look!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37737 by makeitalia
Hi Rooney,
i already use firebug but there isn't a flexi css in the list of css shown by firebug.
I'd like to show you the site but it's a sort of intranet and the access is protected by user login.
I've tried to create an account for you but it seems that since i've installed flexi i have some problems with the registered users that are not administrator and it gives me a 403 error (i use community builder, i don't know if there are some conflicts) when i try to access with these users.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37738 by makeitalia
now, trying to edit from frontend it's just appeared this fatal error:
/components/com_flexicontent/views/item/view.html.php on line 746
I don't know if it's connected with the other problems

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37745 by ggppdk
Hello,
you mean that you got this error just by creating the file:

joomla_folder/templates/mytemplate/css/flexicontent.css

?

Please make a long and detailed answer on what you have tried out of the 4 above things that i have suggested


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37751 by Rooney

makeitalia wrote: i already use firebug but there isn't a flexi css in the list of css shown by firebug.

Well, to make it easy just add it to the css in your Joomla template index.php:
Code:
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/flexicontent.css" type="text/css"/>
At least you are able to start designing...
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37798 by makeitalia
Hi,
unfortunately it's quite difficult to understan how this template works, so, i don't know where i have to put the code for adding css.
Here is my template index:

<?php
/**
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

// Set flag that this is a parent file.
define('_JEXEC', 1);
define('DS', DIRECTORY_SEPARATOR);

if (file_exists(dirname(__FILE__) . '/defines.php')) {
include_once dirname(__FILE__) . '/defines.php';
}

if (!defined('_JDEFINES')) {
define('JPATH_BASE', dirname(__FILE__));
require_once JPATH_BASE.'/includes/defines.php';
}

require_once JPATH_BASE.'/includes/framework.php';

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Initialise the application.
$app->initialise();

// Mark afterIntialise in the profiler.
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;

// Route the application.
$app->route();

// Mark afterRoute in the profiler.
JDEBUG ? $_PROFILER->mark('afterRoute') : null;

// Dispatch the application.
$app->dispatch();

// Mark afterDispatch in the profiler.
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;

// Render the application.
$app->render();

// Mark afterRender in the profiler.
JDEBUG ? $_PROFILER->mark('afterRender') : null;

// Return the response.
echo $app;



I also want to report that i saw another strange behaviour: i've attached 2 images, one is of the version without flexi, the other is the version of the website with flexi. As you can see, in the second one it gives the login error before i can access to the frontend page with the login box.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37800 by ggppdk
Hello,


(A) you only need to modify a single CSS files, you do not need need to modify any PHP files, in order to override CSS,


(B) please restore any PHP files that you have modified, e.g. re-install FLEXIcontent (without un-ininstall, yes never uninstall because it delete FLEXIcontent tables)


For overriding CSS you have 2 alternatives:

-1- To add CSS that affects ALL frontend views please do exactly as this FAQ article:
How to customize CSS styles of FLEXIcontent
(after you create this file please PUT YOUR site online server, so that we can view it)

-2- If you want to affect only a FLEXIcontent custom template 'mydefault1' then you can modify / OR ADD NEW rules inside its files: item.css and category.css


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #37931 by makeitalia
Hi,
i've made some checks with firebug. I've noticed that some html has disappeared after i've installed flexi, look at the screenshots: for example "<div class="items-row cols-2 row-0 clearfix"/> has become "<div class="items-row cols-2 row-0"/>, losing "clearfix" class. There are other examples of elements lost like this. I didn't any modification on the site, just installed flexi. With firebug, in the list of styles, there isn't flexicontent style (i attached this screenshot too). I really don't understand how it' s working but i'd really like to use your component because all the features are very good, it just has these problems with the templating. I hope these screensots can give you some more informations about my problem.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save