[See Faq article] Css FlexiModule | Default layout

More
13 years 5 months ago #27686 by GamerLive
yes I have 3 personal templates with different names

Portail communautaire sur l'univers des consoles Sony entièrement réalisé avec Flexicontent.

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

More
13 years 5 months ago #27689 by ggppdk
1. There is no problem with the loading of files
all files get loaded !

2. The application of CSS rules is correct

The problem you have various CSS rules that you have not made template specific:

e.g this rule
Code:
.mod_flexicontent_wrapper .mod_flexicontent_featured_wrapper.odd, .mod_flexicontent_wrapper .mod_flexicontent_standard_wrapper.odd { background-color: transparent; ... }
Code:
.mod_flexicontent_wrapper .mod_flexicontent_featured_wrapper.odd, .mod_flexicontent_wrapper .mod_flexicontent_standard_wrapper.odd { background-color: #EFEFEF; ... }
you see that it is 100% same in "their name" ? so the last file to load will take precedence

Do this: (i am giving CSS lessons now, and custom development help this is beyond the purpose of this forum)

in all the PHP files change:
Code:
<div class="mod_flexicontent_wrapper ..."
to e.g.
Code:
<div class="mod_flexicontent_wrapper fiches ..."

and in then the above rule will become:
Code:
.mod_flexicontent_wrapper.fishes .mod_flexicontent_featured_wrapper.odd, .mod_flexicontent_wrapper .mod_flexicontent_standard_wrapper.odd { background-color: transparent; ... }

notice the the:

.mod_flexicontent_wrapper.fishes has no space since they are CSS classes of the same HTML tag

same do for
Code:
class="mod_flexicontent<?php
change to
Code:
class="mod_flexicontent fiches<?php

and then in the rules:
Code:
.mod_flexicontent ...
change to
Code:
.mod_flexicontent.fishes ...

NOTE there might be more places needed to do this !!!

anyway, for future i will update the news.php and news.css to make it easier for developers

Regards


-- 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
13 years 5 months ago #27691 by GamerLive
Thank you very much for these explanations, it is vraix I did not suffisement knowledge in php and I often groping advance.
I will change this by incorporating everything from scratch and according to your explanation, I will not fail to come tell you once I have completed.
FLEXIcontent and long life.

Portail communautaire sur l'univers des consoles Sony entièrement réalisé avec Flexicontent.

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

More
13 years 5 months ago #27693 by ggppdk
i will commit an update that will make it easier to change

if you are not in hurry better wait a little


-- 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
13 years 5 months ago #27694 by ggppdk
after the update you will not need to change one change in the CSS file

global replace .news. with e.g .fiches.

and a single change in the php file


-- 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
13 years 5 months ago #27712 by GamerLive
It is true that we are quite anxious to finish our new versions of the site, but I think I can wait a bit I have many other things to do on my site so I will put aside for this module FLEXIcontent time there and look forward to your update.
cordially

Portail communautaire sur l'univers des consoles Sony entièrement réalisé avec Flexicontent.

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

More
13 years 5 months ago #27713 by ggppdk
i have committed the changes into svn, you can try getting the updated news.php and new.css from here:
code.google.com/p/flexicontent/s ... ail?r=1437

(get only news.php and news.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
13 years 5 months ago #27716 by GamerLive
It's perfect, I took the files from the svn and modified according to your explanations above and it works first time on my local server
I really thank you

PS: I will not want to deceive but one of my modules I will wish to display only the last 5 images of items but in a horizontal. In the administration of the module there are only two columns, it is surely possible with css but I have not a clue how. Can you explain to me, I understand that you do not have time because it does not really support but a more personalization.

Regards

Portail communautaire sur l'univers des consoles Sony entièrement réalisé avec Flexicontent.

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

More
13 years 5 months ago #27717 by ggppdk
Just comment out the div containter with "modclear" class:

(once in featured loop):
Code:
<div class="modclear"></div>
to
Code:
<!--div class="modclear"></div-->

(and once in standard items look):
Code:
<?php echo !($rowcount%2) ? '<div class="modclear"></div>' : ''; ?>
to
Code:
<?php echo !($rowcount%2) ? '<!--div class="modclear"></div-->' : ''; ?>


-- 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
13 years 5 months ago #27719 by ggppdk
And since we had this discussion i have made this FAQ article:
How to create a custom Template for FLEXIcontent module


-- 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.

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