Forums / Developer / how to insert login , register , search and newsletter

how to insert login , register , search and newsletter

Author Message

justin kazadi

Monday 24 March 2008 6:21:34 am

hello all,

I want to know how to insert in my web site( front end ) the login , register ,search as link in my home page. for exemple in the website interface i see login ,search, register.
thanks

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Maxime Thomas

Tuesday 01 April 2008 11:25:42 pm

Hi,

Here are the inks you are searching for :

login : http://yoursite.com/index.php/user/login
register : http://yoursite.com/index.php/user/register
search : http://yoursite.com/index.php/content/search

Some tips :
1 - In the template, use ezurl to generate the url :

<a href="{'content/search'|ezurl(no)}">Search</a>

2 - All the backoffice link are available in the front office. So you can use functionnalities of the back office and vice versa. (if you have set the correct roles and policies)

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

justin kazadi

Wednesday 02 April 2008 5:37:15 am

thanks tomas,

But i don't know why all my links ( in my pagelayout ) forward the nodes doen't works.

my access method is url. i have used the links like this :

<a href={$nodes.url_alias|ezurl()}>{$nodes.name|wash}</a></div> , link to a frontpage

<a href={$nod.url_alias|ezurl()}>lire la suite</a> , link to an article.

IF my synthaxe is wrong please tell me

How to create a link to an node using access method url?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein