Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Amigamerlin on September 28, 2012, 22:25:58

Title: Help me to publish an article on the front page.
Post by: Amigamerlin on September 28, 2012, 22:25:58
Hello, anyone can guide me and explain me how to put an article on the front page?
How to use a publish date and dismiss date?
Sorry but for me Nautilus is totally and really different than Aphrodite. :(.
I need to learn it.
Title: Re: Help me to publish an article on the front page.
Post by: datahell on September 28, 2012, 23:32:57
Publish and dismiss dates are currently not supported (elxis 4.0 vs 2009.3 comparison (https://www.elxis.org/elxis-4-and-elxis-20093-comparison.html)).

The frontpage is controlled by a grid system.
This grid is consisted by cells containing module positions.
So, you don't place articles directly in frontpage, you place module positions.
You can use the "articles" module to display what you want in frontpage, it has many parameters and it is very configurable.

An alternative option is to change the default frontpage.
Go to configuration and change the Default route from content:/ to something else.

Examples
Setting the default route (frontpage) to an autonomous page:
Default route = content:myarticle.html

Setting the default route (frontpage) to a  category's page:
Default route = content:mycategory/

Setting the default route (frontpage) to an article inside a category:
Default route = content:mycategory/myarticle.html

Setting the default route (frontpage) to the frontpage of a custom component:
Default route = supercomponent:/

These "strange" strings xxx:yyy are called Elxis URIs. We will write about them in the documentation.
The general format is
{lang identifier}:{component name}:{path}
language identifier is optional
In case of components content (frontend) and cpanel (backend) the component name can be omitted.
So this: hello.html is a valid Elxis URI pointing to an autonomous page of component content.

Elxis transforms Elxis URIs into full URLs by applying the site URL, standard or custom routing settings, site SSL/TLS status and current (or forced) language.
So hello.html can be converted into any of the following (depending on the status):
http://www.example.com/hello.html
http://www.example.com/el/hello.html
https://www.example.com/hello.html
http://www.example.com/whatthefuck/hello.html
https://www.example.com/de/whatthefuck/hello.html
http://www.example.com/inner.php/el/hello.html
etc...
Title: Re: Help me to publish an article on the front page.
Post by: Tank on September 28, 2012, 23:33:45
Hello, anyone can guide me and explain me how to put an article on the front page?
How to use a publish date and dismiss date?
Sorry but for me Nautilus is totally and really different than Aphrodite. :(.
I need to learn it.

Hi,

This is what I learn so far.

First, You can go to Extension > Modules. You can edit current ones, assign them to a "Position" example: frontpage1, right, left...etc.
Example... you can edit the "Articles" (or any mod you will like even create a new one) mod and assign position "frontpage10".
Save.

Next you can go to: Content > Frontpage
On the left, click on "Position" to expand the box. Look for "frontpage10" and drag and drop it to the grid on the right.. anywhere you want.
Then, on the left click on "Finish" to expand this box, and select "Save"
Now, you can do to frontpage of you website you should see the changes.

I hope this helps you out and I hope I understood your question properly. :)
I am also playing with Elxis 4, and learning many things, too.

---EDIT----
Oops, sorry for double post. Haha, was in process of posting. You beat me by a minute datahell. 8)
Title: Re: Help me to publish an article on the front page.
Post by: datahell on September 28, 2012, 23:39:37
Oops, sorry for double post. Haha, was in process of posting. You beat me by a minute datahell. 8)

You are fast but not as fast as me ;D
BTW, good answer.
Title: Re: Help me to publish an article on the front page.
Post by: Amigamerlin on September 29, 2012, 06:53:45
Thank you you all !!