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
maxime.thomas@wascou.org | 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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:24:44
Script start
Timing: Jan 31 2025 01:24:44
Module start 'layout'
Timing: Jan 31 2025 01:24:44
Module start 'content'
Timing: Jan 31 2025 01:24:44
Module end 'content'
Timing: Jan 31 2025 01:24:44
Script end

Main resources:

Total runtime0.0391 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2656151.2266
Module start 'layout' 0.00490.0033 739.4922220.7344
Module start 'content' 0.00820.0294 960.22661,001.9609
Module end 'content' 0.03760.0015 1,962.187533.9922
Script end 0.0391  1,996.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00256.4209140.0002
Check MTime0.00112.7934140.0001
Mysql Total
Database connection0.00082.056810.0008
Mysqli_queries0.00205.121430.0007
Looping result0.00000.025610.0000
Template Total0.00102.610.0010
Template load0.00082.087910.0008
Template processing0.00020.542210.0002
Override
Cache load0.00061.425610.0006
General
dbfile0.015038.279880.0019
String conversion0.00000.017740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs