[Solar-talk] _getActionHref
Jeff Surgeson
solar at 3hex.com
Tue Aug 7 15:46:58 CDT 2007
Hi Rodrigo
> Apart from the router stuff, one nice thing to work with a keyed array
> to build lists is the possibility to add attributes to list items. I
> wanted to have title in the links, so I've added a 'href_attribs'
> checking in the base list helper:
>
> $this->layout_local[$id] = array(
> 'href' => $uri,
> 'text' => $name,
> 'href_attribs' => array(
> 'title' => $title,
> ),
> );
>
> Now list links can also have title or other attributes you may need.
Thats great however not quite there yet, still trying to get the router and
the helper to work with my apps. I have always tried to stay as close to
Solar layout and structure as possible as I am not as versatile as you guys
when it comes to making major changes. :-(
Still trying to work out what I do and don't need from your stuff to get it to
work.
Will ask some questions once I have played a bit more and hit a wall.
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list