modifying a theme, htmlblock module???
gooeylewie
Joined: 2009-07-07
Posts: 4 |
![]() |
I'm developing a new theme for a client of mine, and I need to add two links to the side bar of the default theme that are linked to other content. I'm trying to include the two pages in the views directory and I can't link to those pages. I get 'No direct access allowed.' I've been searching through the codex and trying to find a tutorial that will shed some light on this for me, and am unable to find anything of real value. I believe that its a htmlblock module or something that i need to create, but I need a nudge into the right direction. thanks in advance!! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
htmlblock module is a G2 module. are you developing a module for G3 or just want to customize the sidebar? Dave |
|
gooeylewie
Joined: 2009-07-07
Posts: 4 |
![]() |
Well, I'm trying to just make it work, and can't find much in regards of documentation for G3. Tried to follow a tutorial for G2, but things have changed and its not applicable. got any suggestions? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
in the sidebar just add the full url with regular html to the file you want. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
like: <div id="gMetadata" class="gBlock"> <h2>Links</h2> <div class="gBlockContent"> <ul class="gMetadata"> <li><a href="test.html">test</a></li> <li><a href="test2.html">test2</a></li> <li><a href="test4.html">test4</a></li> </ul> </div> </div> to sidebar.html.php Dave |
|
gooeylewie
Joined: 2009-07-07
Posts: 4 |
![]() |
thanks but... Basically I copied page.html.php, changed the content to the bio content. But it doesn't work, I don't know how to add it so the mvc will acknowledge that it is in the syspath. I'm trying to make it one autonomous site with these two extra pages. any idea? |
|
gooeylewie
Joined: 2009-07-07
Posts: 4 |
![]() |
I did however figure out how to add it to the top menu bar next to home. Either located on the sidebar or nav bar is fine. |
|