Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Front page is worst
« previous
next »
Print
Pages: [
1
]
Author
Topic: Front page is worst (Read 4201 times)
speck
Elxis Community
Sr. Member
Posts: 348
Front page is worst
«
on:
June 05, 2013, 12:53:03 »
Frontpage of new elxis is worst... WHY???
1) unable to change dimension of single of position (useless)
2) using the option to create 2 -3 column, setting in step by 5% (useless)
3) using the point two other posttion become restirct simuilar to have in front page left or right dimension
why not set them by css so someone can use his own setting
solution don't use frontapage if u need a good layout in home page
u can loose timne... better to create in the template redifng you own module position..
dimostration when a great idea become 100% useless
«
Last Edit: June 05, 2013, 12:55:05 by speck
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Front page is worst
«
Reply #1 on:
June 05, 2013, 23:44:25 »
You think it wrong.
Elxis does not limits you of doing what ever you wish with the frontpage (or any other page).
The frontpage designer is perfect for the 99% of the users, and especially those don't know html/css, that need a custom layout for their frontpage.
You can still create any layout you wish for the frontpage in your template's index.php file.
Here is an example:
$fp = (eFactory::getURI()->getUriString() == eFactory::getElxis()->getConfig('DEFAULT_ROUTE')) ? true : false;
if ($fp) {
include(ELXIS_PATH.'/templates/xxx/layouts/frontpage.php');
} else {
include(ELXIS_PATH.'/templates/xxx/layouts/standard.php');
}
//or
if ($fp) {
$eDoc->modules('custom1');
$eDoc->modules('custom2');
} else {
$eDoc->component();
}
The trick is to hide the component output on frontpage and so display your own layout. And of course it is a matter of the current template, not Elxis.
I can give you hundreds of examples and combinations.
Elxis 4.x has solutions for anything. It is a very flexible CMS, you just don't know it in depth.
I advice you next time ask first, and if we haven't a solution for you then complaint.
«
Last Edit: June 06, 2013, 12:34:23 by speck
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
speck
Elxis Community
Sr. Member
Posts: 348
Re: Front page is worst
«
Reply #2 on:
June 06, 2013, 12:35:44 »
In fact i just said :"it's a great idea". About elxis flexibility i don't say nothing... i never foun a css easy like this to do modules, template, plug-in. My vote is 10+
========================================================================================================
why if i had a power tools as frontapage i need to do the same things in template only for front page?
how can i see, by myself, having the possibility to manage the width of single box by css or find a system to defining the width manually of single box it would be be greater and frontpage can be more flexible
example:
frontpage give me the possibility to define 3 column in %. yes it's true (it's a pitty not manually but steps 5% by 5%)
how can see in action is the same to have in template one or two sides column... option can be great but how is done is useless because other boxes will bee resized with the same dimension of the central box
example:
first line in frontpage:
left box : 15%, central box: 65%, right box 20%
the other lines of boxes in the frontpages be resized at 65% ... why this??? I want other lines of boxes at 100% of template layout. I have not the possibility to change this parameter...
the width is in the elxis code
yes u can say: any module position u can insert in a big box and u can resize how u want it and with float:left, right u can have a perfect layout.
for me is easy: i know css like you, of course u know it better than me, but someone want use elxis, don't know css, don't know php programming, using frontpage can have many problem.
sorry, but this is my see point.
PS: can u disable for me the possibility to modify other message but non mine
i wrong always .. for instict i click over the modify
«
Last Edit: June 06, 2013, 12:37:32 by speck
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Front page is worst
«
Reply #3 on:
June 06, 2013, 14:47:56 »
Some info.
1. The widths are in percentage in order to fit in any template.
2. If you put manually the widths most probably you will do it wrong as you will not take under consideration margins and paddings. Your layout will break on some or all screen resolutions and/or on some or all browsers. It is 1000% sure that most users will create a mess.
3. Fluid layouts are famous for their ability to fit in any screen width, not for their accurancy. With a fluid layout you can easily have a solid layout without being worry your temlate will break. Having this is mind I believe the 5% steps are just fine for the 99% of the users although smaller steps could improve the accurancy. So, you are right in this although I think it is not too important.
You can have boxes of 100% width. Each row in Elxis frontpage grid can consist of cells having widths:
- 100%
- 75%
- 66%
- 50%
- 33%
- 25%
in various combinations.
Elxis put a 1% right margin between cells of the same row to improve readability.
So a row may have 2 cells of 66% and 33% widths with sum = 99%, and 1% margin will equal 100%.
A row with 3 cells: 33%, 33%, 32% = 98%. Margins: 2 x 1% = 2%. Total row width: 98% + 2% = 100%
For a row with 2 equal cells the first cell will have width 50% and the second 49%. Margin: 1%. Total: 50% + 49% + 1% = 100%
«
Last Edit: June 06, 2013, 14:49:59 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Front page is worst