No cricket,... no,.. no,... there is no java issue that I have.
All I want is to make a statement to hide "Create Resume" link when
resume is created, and show links to "Edit Resume" and "Delete
Resume" .

Please,... anyone help...

Thanks
Chris


On Jan 23, 4:21 pm, cricket <[email protected]> wrote:
> On Sun, Jan 23, 2011 at 5:59 PM, [email protected] <[email protected]> 
> wrote:
> > Hi guys,
>
> > I wanna to make a statement in ../views/resume/view.ctp
>
> > I have a table named: resume
>
> >  id     int(11)         UNSIGNED        No              auto_increment
> >  user_id        int(11)                 Yes     NULL
> >  name   varchar(120)    latin1_swedish_ci               No
> >  content        text    latin1_swedish_ci               No
>
> > and in view... when resume is created, link to "Create Resume" will be
> > replaced with "Edit Resume" and "Delete Resume"
>
> > How do I do that...?
>
> > What I have is manage to do is just a links:
>
> > <span style="float: right; margin: 0 5px 0 0;">
> >  <?php echo $html->link(ucfirst(__('create Resume', true)), '/resumes/
> > create', array('class' => 'album'), false, false, false) ?>
>
> >     <?php echo $html->link(__('edit Resume', true), '/resumes/
> > edit/' . $resume['Resume']['id'], array('class' => 'edit'), false,
> > false) ?>
>
> >     <?php echo $html->link(__('delete Resume', true), '/resumes/
> > delete/' . $resume['Resume']['id'], array('class' => 'delete'), false,
> > false) ?>
> > </span>
>
> This is a javascript issue; nothing to do with CakePHP.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to