• aleister

    (@aleister)


    I just installed v1.5 and it is very nice! There are a few issues I am having with the static page feature though. Maybe someone has some ideas.

    1) Since I use httpd.conf instead of .htaccess on my Apache server (I prefer it this way – I have the use of .htaccess disabled), It is a pain to have to telnet in to add more code for new pages.

    Instead of making the static pages something like /about/ (which of course would need the rewrite rules), is it possible to set it to simply create a static page (about.php) ? This may be past it’s limitations. Just curious.

    2) I know I can uncheck the comments box when creating a new page, but it still shows the comment section, it just says comments are disabled. Is there a way to 100% hide this on the pages I want?

    3) I was also curious about adding php to these static pages (contact forms, etc..) but I was happy to see some solutions such as using a custom template file for it.

    4) last but not least, I notice that under the ‘Pages’ section, where it dynamically lists the custom static pages, it does not show the link for the page you are currently viewing. Is it possible to set this to always show it?

    Sorry for all the questions.. thanks for any responses ??

Viewing 15 replies - 1 through 15 (of 23 total)
  • exposure

    (@exposure)

    I can answer a few questions for you hopefully..

    2. Yes, by changing the template ie. if you are currently using the default you could copy archives.php in your theme folder and rename it to for example about.php, also change the about title inside the template and it will come up in the page template dropdown.

    3. Take a look at this about page, I have used a php form with it:

    https://circle61.com and navigate about/contact page it is static and I use a template to manage it.

    Hope this helps and/or makes sense

    idowens

    (@idowens)

    Aleister,

    I don’t know anything about httpd.conf but I may be able to help with one of these other questions.

    2) If you open your index.php and comment out (<!-- COMMENT CODE -->) the code relating to comments and save it as templatename.php then upload it to your theme dir…goto that page under manage/pages and select templatename.php as the one to use…this will keep that ‘Comments are closed” from showing at the bottom.

    Thread Starter aleister

    (@aleister)

    Thanks for the responses ?? That solves that!

    btw, httpd.conf is the primary configuration file the Apache webserver uses. Anything .htaccess can do, httpd.conf can do (and more), but it is just a bit harder to work with as it is quick a lot easier to break something ??

    Thread Starter aleister

    (@aleister)

    hrm.. on second thought, I do not seem to have a place to select a template file on the “write page” page..

    idowens

    (@idowens)

    It should be right under the Content text box under Page Options….It should say page template with a drop down box….

    Thread Starter aleister

    (@aleister)

    Ah I see a custom field section.. and I can select “_wp_page_template” and give it a value, but it does not seem to keep it. Is this where you are referring to?

    idowens

    (@idowens)

    No…did you run the upgrade.php? It doesn’t sound like we’re looking at the same page.

    Thread Starter aleister

    (@aleister)

    No.. I did a fully new install of 1.3 today. I had the previous version, but I wanted to start from scratch.

    Thread Starter aleister

    (@aleister)

    idowens

    (@idowens)

    By 1.3 I’ll assume you meant 1.5…..and I can’t get to that screenshot…I get an error. Hmm….

    Thread Starter aleister

    (@aleister)

    Doh.. yes 1.5 ?? once the page is up, hit refresh .. My hotlink protection code acts tricky on straight links like that.

    Thread Starter aleister

    (@aleister)

    Could this have something to do with the fact that my custom theme I made today was based off the classic and not the default? I chose the classic because the format was a bit closer to what I needed.

    idowens

    (@idowens)

    Still can’t view it;

    Forbidden
    You don’t have permission to access /screenshot.jpg on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    idowens

    (@idowens)

    Not sure about the classic vs default thing but I don’t think that would have any bearing on this….turn on the default theme and then go see if its there….

    Thread Starter aleister

    (@aleister)

    I stuck it in the first article I put up there to test with… it screws up the layout but you can at least check it out .. https://www.dagondesign.com

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Few problems with the new (static) page feature’ is closed to new replies.