Forum: Typo need some help regarding the views

Posted by Sanjay Bisht (hashpipe)
on 2008-02-13 20:17
(Received via mailing list)
Hi,

I was going through the views, but I am unable to locate the views for 
the
sidebars..I mean I do find the _sidebar partial, but where exactly is 
the
final HTML generated from, because the generated output is something 
like
this

<h3>Categories</h3>
<ul id="categories">

  <li><a 
href="http://localhost:3000/articles/category/code-n-des...
n Code</a> <em>(2)</em></li>


  <li><a href="http://localhost:3000/articles/category/idea">Idea...
<em>(2)</em></li>


  <li><a href="http://localhost:3000/articles/category/music">Mus...
<em>(2)</em></li>



  <li><a href="http://localhost:3000/articles/category/rails">Rai...
<em>(2)</em></li>

</ul>


I was wondering if I could include the <em> inside the <a>, which gives 
a
better look and is easier to style.

I would be really glad if someone could really help me with this.

--
Cheers!

S
www.bishtblogs.net
Posted by Piers Cawley (Guest)
on 2008-02-14 07:48
(Received via mailing list)
On Feb 13, 2008 7:16 PM, Sanjay Bisht <crazy.bisht@gmail.com> wrote:
> Hi,
>
> I was going through the views, but I am unable to locate the views for the
> sidebars..I mean I do find the _sidebar partial, but where exactly is the
> final HTML generated from, because the generated output is something like
> this

Sidebars are plugins, so if you look in the plugin directory you'll find

vendor/plugins/category_sidebar/views/content.rhtml

which is the view you seek.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.