27 of 27
27
Tome (Static Pages)
Posted: 01 April 2007 01:29 AM   [ Ignore ]   [ # 469 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

Is there a way I can create a list of pages that isn’t navigation?

For example I have a number of services (which have their own pages) that I want to present on one page.

So I want a page that looks like this -

Services

Service 1
Description

Service 2
Description

Service 3
Description

I’m not sure what to put in the {exp:weblog:entries category=”{static_page}” dynamic=“off”} bit.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 01 April 2007 02:59 AM   [ Ignore ]   [ # 470 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

Yes hello it’s me again!!

So looking at this again I think I have a good way to maintain full content management for dynamic pages using the Pages module.

Here is what I did for my Testimonials Page

Create page as static (E.g ‘Testimonials’)
Create a seperate weblog for the dynamic content (E.g Testimonials_Content)
Create a Testimonials template and embed the testimonials weblog.

Use the Pages Tab to edit the Title and Body Text for the Testimonials page
Use the Publish and Edit Tab to edit the dynamic content (Each testimonial).

I think there is a hide weblog extension so the Static Weblog doesn’t show up in the Publish Tab.

What do you guys and girls think?

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 11 April 2007 02:11 PM   [ Ignore ]   [ # 471 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1562
Joined  08-02-2006

Hi,

I’m kinda at a loss here.  Nothing I do seems to work with this plugin.  I don’t have many static pages so for me, simply going to the edit tab and doing a simple search of my static pages weblog to bring up corresponding entries might be better…but I still wanted to try this out.

I’ve installed everything.  I created a new weblog called “static pages”.  I created a custom field group called “static content” and added a custom field named “static_body”.  I assigned my new “static pages” weblog to the “static content” field group under weblog administration.  I also set up new category called “static pages” and assigned it to the “static pages” weblog.

I then went into modules tab and clicked “pages”.  It asks me what weblog I want to use so I select “static pages”. It asks me what template I wanted to use (I set up a test one) so I selcted “test/index”.  Below that I see all of the pages (categories) that I just created. 

I went to the “test/index” template and have this code in my template:

{exp:weblog:entries weblog="staticpages" category="{static_page}"}
{static_page_name}
{static_body}
{
/exp:weblog:entries}

I go back to the main screen of my pages module and click on “About” and then I enter in a title and text in the body for this “About” page and then updat it and I go back to the main screen of my “pages” module and click “view it” to view the rendered “About” Page and all I get is a 404 cannot be found error.

What am I doing wrong?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 11 April 2007 02:16 PM   [ Ignore ]   [ # 472 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

Did you try adding dynamic=“off” to your weblog tag?

The tag I have that’s been working for me is

{exp:weblog:entries category="{static_page}" dynamic="off"}

Hope that helps!

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 11 April 2007 03:47 PM   [ Ignore ]   [ # 473 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1562
Joined  08-02-2006

I will give that a try.

So you don’t specify a weblog= in your weblog entries tag?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 11 April 2007 03:51 PM   [ Ignore ]   [ # 474 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

I haven’t been and it seems to work the same. I’m no programmer, but I assume it’s because of the voodoo Pages is doing in the background when you assign a default weblog or one specific to that page.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 11 April 2007 04:36 PM   [ Ignore ]   [ # 475 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1562
Joined  08-02-2006

Ok, tried it and that didn’t do anything.  I don’t know what I could be missing here that keeps causing me to get a 404 not found.

When you go to the Pages Module home page and then click on “Configure Pages” at the top right, what is the make dynamic and override template all about?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 11 April 2007 07:15 PM   [ Ignore ]   [ # 476 ]  
Summer Student
Total Posts:  5
Joined  04-11-2006

I’m completely confused by the make dynamic capability of this module, but I really want to use it. Here’s what I want to do.

I have a section of the site titled Faculty, which I want to set up as a dynamic section rather than a static section—site.com/faculty/. This part of the site will use a different blog, faculty_bios, and a different field group, faculty_fields, from the other Static Pages.

I want each faculty member’s bio to exists as a unique blog post in faculty_bios, accessible at a url like site.com/faculty/teacher_name. The bio pages will have a separate layout from the main Faculty page, which itself is different from all the other Static Pages.

My problem is I have absolutely no clue how to implement this with the Static Pages collection. Can someone walk me through how they’ve used the make dynamic feature?

Profile
 
 
Posted: 11 April 2007 07:35 PM   [ Ignore ]   [ # 477 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

I just create a static page called Faculty

I then create a weblog called Faculty

I then embed the Faculty weblog into a Faculty template

I configure the Faculty page to use the Faculty template

Then you can edit the static content via the Pages tab and the weblog itself using Publish or Edit smile

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 11 April 2007 07:43 PM   [ Ignore ]   [ # 478 ]  
Summer Student
Total Posts:  5
Joined  04-11-2006

I’m afraid I need a bit more detail smile

I then embed the Faculty weblog into a Faculty template

How do you mean exactly? Do you use the same tags you would use on a normal Static Page? Using the {static_page} value as the category, etc.?

Or do you create the page as though the Static Pages module wasn’t even involved, with the regular tags?

Also, how do I create the template for the individual faculty bio pages? Do I again ignore the static module? Do I create a template group called “faculty” with a template “bio”, then point the individual bio links there?

I really wish we had some comprehensive documentation already :(

Edit:

There’s a post by iain a page or two back that helped me a little. I think I understand a little better now. The “make dynamic” ability simply provides a convenient place to edit and publish from; It’s not for treating your dynamic pages like Static Pages in any other way. Did I get that right?

Well I’m still stuck on a few things. I created a ‘faculty’ template group, then a template called ‘bio’ that will show one teacher’s bio page.

When I link to something like faculty/bio/teacher_name, it only shows the faculty Static Page. Is this because static page names, template group names, and template names are overlapping?

Profile
 
 
Posted: 16 April 2007 02:45 PM   [ Ignore ]   [ # 479 ]  
Summer Student
Total Posts:  5
Joined  04-11-2006

I’ve decided now to avoid using the Static Pages module with my dynamic sections for the time being, since I’m obviously misunderstanding something.

I have a question about the ‘override template’ checkbox. Tell me if I get this straight: If I have a static page called Faculty as well as a template group named Faculty (with an index template), and if I navigate to /faculty/, it should show the template, right?

Then if I check the ‘override template’ box it should show the page instead, yes?

Well that is not working for me, so I don’t know if I’m just completely misunderstanding the purpose of that option, or if it’s somehow broken.

Profile
 
 
Posted: 17 April 2007 02:41 PM   [ Ignore ]   [ # 480 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005

Just a bit of a heads up for all of you subscribed to this thread but today I realised after taking a peek under the hood of the static page path plug-in that you can also pull out the {short_name} value for the category with which a page is associated. Very handy if you want to apply link specific CSS classes to navigation items and then style them on a page by page basis.

For example, using the segment variable hack pull ‘{seg_1} {seg_2}’ etc out in the body of your page:

<body class="{seg_1} {seg_2}">

Then in your navigation code:

{exp:static_page_path direction="post"}
<a href="{url_title}" class="{short_name}" title="{title}">{title}</a>
{/exp:static_page_path}

And then in your CSS…

body.page_short_name a.page_short_name {
     font
-weight: bold;
}

This allows you to highlight the ‘current’ page within your navigation structure. I’d be interested to know how other EE users out there are doing the same…

smile

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 17 April 2007 05:54 PM   [ Ignore ]   [ # 481 ]  
Summer Student
Avatar
Total Posts:  21
Joined  03-02-2007

Okay, I had this plugin installed on my old server and it appeared to be working correctly. I have switched over to EE hosting and have started rebuilding everything from scratch. Everything is just peachy, with the exception of the Pages module. When I go through the process of setting everything up, nothing happens after I perform the final step. In other words, I hit “Save” it says “Your changes were successfully saved, now go back to the main screen!” but when I go back to the main page, it looks like nothing has happened. Aren’t I supposed to see some type of category structure or option to assign stuff in the lowest section when I return to the main screen? Do I make any sense here? Please help me….!!

Profile
 
 
Posted: 17 April 2007 06:06 PM   [ Ignore ]   [ # 482 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

I think this usually happens if you haven’t created the static category structure (from which Static Pages gets the page structure from) or you haven’t assigned the categories to the Static weblog.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 17 April 2007 11:16 PM   [ Ignore ]   [ # 483 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  11-02-2005

Incidentally have I posted my question regarding {if seg_1} here. After talking to my host (segpub) i found out that i needed to change the server variable PATH_INFO to REQUEST_URl in order to get the conditional to work. Now it is working on the static pages template if used within NO tags (standalone) - it is *NOT* working within exp:static_page_path.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<
head>
<
title>{static_page_name} | {site_name}</title>
<
meta http-equiv="content-type" content="text/html; charset={charset}" />
<
meta http-equiv="content-language" content="{lang}" />
<
meta name="description" content="{meta-desc}" />
<
meta name="keywords" content="{exp:weblog:entries weblog="pages" limit="1" disable="member_data|categories|trackbacks|pagination" rdf="off"}{keywords}{/exp:weblog:entries}" />
{embed="includes/header-info"}

<style type="text/css">
body.page_short_name a.page_short_name {
color
: #c00;
font-weight: bold;
text-decoration: underline;
}
</style>
</
head>

<
body class="{seg_1} {seg_2}">
{embed="includes/masthead"}
<div id="wrap">
<
div id="content">

<
p class="perma">&#8216;{static_page_name}&#8217;</p>

{exp:weblog:entries weblog="pages" category="{static_page}" dynamic="off" track_views="one" disable="member_data|pagination|trackbacks"}

<h1>{title}</h1>
{summary}
{body}
{
/exp:weblog:entries}
</div>

<
div id="sidebar">
<
h4>In this section</h4>

{exp:static_page_path direction="post" page="0"}
<a href="{url_title}" class="{short_name}"
title="{title}">{title}</a>
{/exp:static_page_path}

{if seg_1
== "about"}<a href="{url_title}" class="{short_name}" title="{title}">{title}</a>{/if}

{resonance}
</div>
</
div>

<
hr />

<
div id="footer"><div id="footer-inner">
{embed="includes/locations-en"}
{embed
="includes/fineprint-en"}
</div></div>

</
body>
</
html>

i am too blind to see. anyone, please?

 Signature 

thomaswinterstetter.com
1.6.x Build: latest

Profile
 
 
Posted: 18 April 2007 10:09 AM   [ Ignore ]   [ # 484 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Alright, version 3.6.0 is online.  It should fix some of the problems people were having with MySQL errors and de-installing the module.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 18 April 2007 12:26 PM   [ Ignore ]   [ # 485 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

I’m going to have this thread closed, if you’d like to continue the discussion on the Pages module please read more here: http://expressionengine.com/forums/viewthread/50731/

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 18 April 2007 12:32 PM   [ Ignore ]   [ # 486 ]  
Summer Student
Avatar
Total Posts:  21
Joined  03-02-2007

I need help quickly and badly. I am banging my head against the wall. I have created the category structure as instructed and everything seems to look like it is set up correctly. I will try to explain and please ask questions if you think you can help. I have let myself get really confused and I know I don’t need to be.

However, I simply cannot get this to work.

I am trying to achieve a simple two level navigation. This is what I have set up in my categories that are assigned to a weblog called “Static Content” (short name “static”):

Home
About Me
—-general information
—-research interests
—-resume
Portfolio
Blog
Contact Me

I am just trying to get the “About Me” weblog set up. My main problem seems to be navigational. I also have weblogs called “Blog” and “Portfolio” that will eventually be dynamic.

In the “pages” module, I have all pages assigned to the “Static” weblog and using the template “static/index.”

I am so confused, I don’t think I can explain any better.

Profile
 
 
   
27 of 27
27
 
‹‹ Solspace Tag Cloud      Files Module ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64905 Total Logged-in Users: 55
Total Topics: 81838 Total Anonymous Users: 40
Total Replies: 440027 Total Guests: 243
Total Posts: 521865    
Members ( View Memberlist )