Click to Register Your Support Account

Already a member? Login below.

Go Back   One Theme Support Forums > One Theme Version 1 (OLD) > Using One Theme

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-20-2008, 04:24 PM
Member
 
Join Date: Aug 2008
Posts: 68
Default Custom Page Template with NO Sidebar

I plan on doing movie reviews on my site, and I would like to use the complete width of a page which means on each individual review page I would like to exclude the sidebar and keep the header and footer. I followed the steps I found on various google search result pages and also in the Wordpress codex page. They recommended grabbing a page.php from the wordpress default page or my themes page. I did, added my html, and by messing around with it a bit I got my html to show up in the page just right. But that was with the header, sidebar, and footer. When I tried to make an adjustment and not include the sidebar, it went all wacky. If someone here could PLEASE help me with this and maybe tell me what code I need to take out or change I would really appreciate it.

If someone could go so far as to just grab the original One-Theme "page.php" file and edit it and email it to me (shaolinchamber@gmail.com) so all I have to do is enter my HTML, I would gladly PAYPAL that person $20.

Thank for any replies.
  #2 (permalink)  
Old 08-20-2008, 06:13 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

You have a PM, I'd like to help, I just need to know some extra details.
  #3 (permalink)  
Old 08-21-2008, 05:55 PM
Member
 
Join Date: Aug 2008
Posts: 68
Default

Quote:
Originally Posted by mc2w View Post
You have a PM, I'd like to help, I just need to know some extra details.
I messaged you. Thanks for replying.
  #4 (permalink)  
Old 08-21-2008, 08:31 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Okay, I think I got it. I just created a page template that has absolutely no sidebars

Please see this post for the updated attachment.

Just download that, unzip it, and upload to your one-theme theme folder. Then, when you go to write a page, there should be a new page template called "No Sidebar".

Here's a preview:


Basically, it's the page template + the search template mixed together
Attached Files
File Type: zip nosidebar.zip (498 Bytes, 10 views)
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!

Last edited by mc2w; 08-22-2008 at 01:58 PM.
  #5 (permalink)  
Old 08-22-2008, 02:40 AM
Lee's Avatar
Lee Lee is offline
One Theme Support
 
Join Date: Jul 2008
Posts: 420
Send a message via MSN to Lee Send a message via Skype™ to Lee
Default

Thanks for spending the time making a new template mc2w

I've made sure to include this in version 1.1
  #6 (permalink)  
Old 08-22-2008, 02:43 AM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Quote:
Originally Posted by Lee View Post
Thanks for spending the time making a new template mc2w

I've made sure to include this in version 1.1
It took like, 2 seconds ; remove the sidebar, increase the width, and takeout the div that created the right border.
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!
  #7 (permalink)  
Old 08-22-2008, 07:17 AM
Member
 
Join Date: Aug 2008
Posts: 68
Default

First off I have to say THANK YOU very much mc2w for taking the time to do this for me. I really do appreciate it.

Second, I couldn't figure out why I could not get the page to show up in Wordpress until I opened up the file. And while am no expert in coding or php and whatnot, I did notice some php code that was missing from the top of the file. (Something I learned recently when Googling how to make a custom page)....

<?php
/*
Template Name: no sidebar
*/
?>

So incase anyone else downloads the No Sidebar php file, you will need to add this code at the very top of the php file, and you can really name this file anything you want where it says "Template Name".
  #8 (permalink)  
Old 08-22-2008, 07:58 AM
Member
 
Join Date: Aug 2008
Posts: 68
Default Please help me understand!

Could someone please tell me what is the proper way to do what I want to do. I dont know if my brain is to mushy right now or not, but I do work 10 hours a day and get home around 3:00 am everynight..so please excuse me.

I wanted a Sidebar-less custom page in order to do movie reviews on. mc2w was kind enough to provide this for me, and after testing it out, it exactly what I wanted. NOW, what I will be doing with this Sidebar-less page is formatting a layout in Microsoft Frontpage, placing all parts of the review that will be in the same spot for each review, so that way when I want to write a NEW review, I just need to open up my Frontpage page and write it, name it, and copy that html over to my Sidebar-less page and publish.

BUT, what I am having trouble figuring out is, if every individual movie review is its own page, these pages show up in the linkbar (im not sure what this area is called). Then I thought well if I made 1 main page titled Movie Reviews, then actually add all the following review pages as children underneath this parent page, then those will all show up in the drop down menu thing. Which I do not want either.

Hopefully someone reading this can understand what I am trying to get at, and guide me into the light. Make me understand the proper way to do this.

I will eventually make a page with a table in it formatted where in the first column will be the movie title, then second column across will be maybe the year the movie was made, then third column maybe the rating I gave it, and so forth. It would be easier if you could just make as many pages as you want, name them, but they dont show up anywhere unless you have them linked from somewhere, just like how I use to do in Frontpage before..lol.

Am I overthinking this, is it possible to make a Page in Wordpress/One-theme and it not show up anywhere on my site unless its linked to and then clicked on?

Please help.
  #9 (permalink)  
Old 08-22-2008, 11:48 AM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

You could always remove the pages list from the sidebar, and then manually remove the pages from the top link list and the footer link list through the one-theme plugin.

Edit: Thanks for catching the missing php.
Here's an updated file:
nosidebar.zip
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!

Last edited by mc2w; 08-22-2008 at 01:57 PM. Reason: New attachment
  #10 (permalink)  
Old 08-22-2008, 03:26 PM
Member
 
Join Date: Aug 2008
Posts: 68
Default

Quote:
Originally Posted by mc2w View Post
You could always remove the pages list from the sidebar, and then manually remove the pages from the top link list and the footer link list through the one-theme plugin.
I knew it was something simple I was missing. Thanks mc2w.
You have a private message.
  #11 (permalink)  
Old 08-22-2008, 03:35 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

As do you
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Sidebar width? mc2w Suggestion Box 3 08-07-2008 08:20 PM


All times are GMT. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0