On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of the first beta of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




(creating) Special Page Template

UserPost

5:06 pm
15 Apr 2007


Jen

Guest

1

I added the forum and it's great, however, we want it to fit the entire page. I created a secondary page.php but how do I make that into a template that my forum page can recognize?

5:40 pm
15 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

OK - let's assume your new page template file is called 'forumpage.php'. First you have to add the name into the very top (no blank lines) of the php file:

<?php
/*
Template Name: forumpage.php
*/
?>

Then you go to 'Manage > Pages' and select the page the forum displays in for edit. On the right there is a dropdown called 'page template'. Select your new template and save the page. The page will now display in your new template file.

1:49 pm
16 Apr 2007


Jen

Guest

3

That worked! Thanks so much! However, now that it is the only thing on the page, it still does not cover the entire page. I am a PHP noob so I am sure it is something I overlooked. I appreciate your help and quick response. The forum is so easy to use! Laughing

1:58 pm
16 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

It will probably be because your theme CSS is dictating the size of a column instead of giving it a percentage or leaving it flexible. If you want to give me a link to your forum page I will see if I can determine the cause.

4:20 pm
16 Apr 2007


Jen

Guest

5

5:49 pm
16 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

Your problem is caused by the CSS directives in the #contentmiddle id. It is defining the width of the column as 50% - which is what you are seeing. basically I'd try the following:

  1. Open up your theme stylesheet and find the #contentmiddle section that includes the width: 50%; directive.
  2. Create a new line entry underneath which is exactly the same only give it a unique name like, for example, #contentforum
  3. Change the width from 50% to something higher although remember that 100% maynot work.
  4. The edit your new page template and where it says <div id="contentmiddle"> change it to <div id="contentforum"> (or whatever you called it).
  5. See what happens when you run the forum page!

Just remember that there are other directives in your stylesheet for #contentmiddle that you may also have to duplicate for the new id that set other attributes - you can see them firther down the stylesheet.

Hope it works out… 

9:40 pm
16 Apr 2007


Jen

Guest

7

Thank you! That makes so much sense and it worked beautifully and took me two seconds to complete. Thanks again for your help and quick response! Laughing

12:02 am
17 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

8

Happy to help. It's nice when they are this straightforward!

10:37 pm
11 Nov 2007


Sylvain

Guest

9

Hi,

 I have the exact same problem as the prior user. I successfully managed toremove the sidebar but I fail to get the forum to expand across the whole page.

The website address is http://www.romainlevy.net/?page_id=35&nbsp;

Oh, and there’s this other trouble : when I log to a specific group or forum, it messes the tabs on the main header (but I think I can live with that)

Your help would be much appreciated. Best regards. Sylvain.

10:54 pm
11 Nov 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

10

Go to my sidebar - click on ‘Articles’. There is a guide. Take special note of the CSS portion becsuae that’s what you need to change.

Your other problem is probaby caused by the WP bug in it’s page tag. Go to forum options and turn off the option t show the forum/topic title at the top of the page.

7:18 pm
12 Nov 2007


sylvain

Guest

11

Thank you very much indeed for replying so quickly. It is immensely comforting for beginners like me to know there are guys like you out there to provide advice and assistance.

I’ll keep you posted when I’m done. 

Sylvain.

 

7:24 pm
12 Nov 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

12

I hope you have success.

5:17 pm
2 Feb 2008


jfv

Member

posts 82

13

Hello Mr Papa,

Andy is not here, and I was looking for the "Articles" as Andy says : "Go to my sidebar. Click on Articles. There is a guide."

The sidebar is gone. What about the articles, and this guide ? I’m sure you’ll have the answer Wink

Thanks in advance.

Merde, Mr Papa is not here anymore. Is somebody having the answer ?

Edit : the sidebar is not appearing in the results of a search, but it’s here when we enter by the normal way.
I found the articles. I apologize.

5:53 pm
2 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

14

The sidebar is gone because I created a special template!Smile

Use the ‘Home’ link on the menubar at the top and then you’ll see the sidebar! 

6:57 pm
2 Feb 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

15

never fear, Mr Papa is here too…  Cool

We are just hard at work getting 3.0 ready to go out the door…

10:28 pm
2 Feb 2008


jfv

Member

posts 82

16

Good luck for the version3.0 !

If you need a newbie to test something (the froggies are the worst newbies, and I’m a froggy), just ask me. It will be a pleasure.

10:45 pm
2 Feb 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

17

we will keep you in mind…  should get a beta 1 up on this site any day now, followed a few weeks later by a beta version on a few select sites…  hope to release by months end depending on how the testing goes…

8:31 pm
3 Feb 2008


jfv

Member

posts 82

18

I like this v3beta ! Looking nice.

It's very late to a request, but i'll try : I often have problems with too long topics, and I wonder if it's possible to include a fonction that can cut a long topic by creating a new one. For exemple, as an administrator, I can move a topic to another forum, but I can't move a post (and its children) of the middle of a topic to a new topic.

Is it a dream ?


10:21 am
4 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

19

Sorry. I would have liked to get ths into V3 but it missed it. Somewhere along the line you just have to say - that's it! And things fall off the V3 list onto the next version list. This was one of them…



Reply to Topic: (creating) Special Page Template

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 10        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

9 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)