14 of 27
14
Tome (Static Pages)
Posted: 03 January 2007 06:19 AM   [ Ignore ]   [ # 235 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005

This prob isn’t a new catch but the first thing I spotted after install was that since I use an aliased control panel folder (/admin/) that the auto update feature fails to work.

Really nice work though.

Kudos.

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 03 January 2007 06:22 AM   [ Ignore ]   [ # 236 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005

...and while I’m here. I was under the impression that the pages ‘collection’ would also hide the static weblog section within the publish tab? For me this isn’t happening right now, anyone else having any luck with that?

smile

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 03 January 2007 06:24 AM   [ Ignore ]   [ # 237 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32856
Joined  05-14-2004

I think Mark has a ‘hide weblog’ extension specifically for that, as opposed to having it built into the module.  I don’t use the module, though, so I may be wrong on that.

 Signature 
Profile
MSG
 
 
Posted: 03 January 2007 06:29 AM   [ Ignore ]   [ # 238 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  223
Joined  01-14-2006

I think I had that problem when I created another admin account with access to the module, Its still there, pretty sure that’s whats caused it.

on another note, is anybody else getting this on their advanced search page after installing Pages…

 Signature 

Weblog | New Zealand Web Design Agency

Profile
 
 
Posted: 03 January 2007 06:44 AM   [ Ignore ]   [ # 239 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005
Lisa Wess - 03 January 2007 06:24 AM

I think Mark has a ‘hide weblog’ extension specifically for that.

After a little searching I found it…

http://expressionengine.com/forums/viewthread/41259/

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 03 January 2007 06:47 AM   [ Ignore ]   [ # 240 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32856
Joined  05-14-2004

I would have expected it here - but I guess that page needs updating.

As to your other problem, I’d suggest a new thread, or adding to the one you linked to.

 Signature 
Profile
MSG
 
 
Posted: 03 January 2007 05:42 PM   [ Ignore ]   [ # 241 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006
twin - 29 December 2006 03:46 AM

URL Segment variables don’t work as expected…

i am on 3.5.9 (tks for the update!) and use this code for my navigation

<li id="t-keywords" {if segment_1 == "about"}class="active"{/if}><a href="{path=about}" title="Keywords">Keywords</a></li>

the *if segment* part does not get honored - so, is there a way to integrate this, mark?

have you gotten this figured out?  could you post a little more of your code?  maybe the pi tag pairs also, thanks.
mark.

 Signature 

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

Profile
 
 
Posted: 04 January 2007 12:58 AM   [ Ignore ]   [ # 242 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  11-02-2005

No, not yet.

<div id="navigation">
<
ul>
<
li id="t-keywords" {if segment_1 == "about"}class="active"{/if}><a href="{path=about}" title="Keywords">Keywords</a></li>
</
ul>
</
div>

navigation is used in an embeded template.

here’s the complete template:

{!-- Purpose: shows a template [international] for a static index site --}

<!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}" />

{robots-no}
{embed
="includes/header-info"}
</head>

<
body id="about">
{embed="includes/masthead"}
<div id="wrap">
<
div id="content">
<
p class="perma">&#8216;{static_page_name}&#8217;</p>

<p>{exp:static_page_path backspace="3" direction="post" nest="false"}<a href="{url_title}" title="{title}">{title}</a> | {/exp:static_page_path}</p>

{exp:static_page_path backspace="0"}<a href="{url_title}" title="{title}">{title}</a> | {/exp:static_page_path} {exp:weblog:entries category="{static_page}" dynamic="off" weblog="content"}{title}{/exp:weblog:entries}

{exp
:weblog:entries weblog="pages" category="{static_page}" track_views="one" disable="categories|member_data|pagination|trackbacks"}
<h1>{title}</h1>
{body}
{summary}
{
/exp:weblog:entries}

</div>
</
div>

<
hr />

<
div id="footer"><div id="footer-inner">
{embed="includes/navi3"}
</div></div>

</
body>
</
html>

 Signature 

thomaswinterstetter.com
1.6.x Build: latest

Profile
 
 
Posted: 04 January 2007 11:05 AM   [ Ignore ]   [ # 243 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Alright, until I figure out a solution for this in the next version try placing this in the top of your file:

<?php function SEG($key) { global $IN; $seg = array_filter(preg_split('/\//', $_SERVER['PATH_INFO'])); if(isset($seg[$key])) { return $seg[$key]; } else { return ''; } }  ?>

and then switch your conditionals around to this:

<?php if( SEG(1) == "" || SEG(1) == "blog") : ?>class="active"<?php endif; ?>

THIS IS A WORKAROUND, because the system overwrites the actual segments with your custom pages template, so let me know if it works for you.

 Signature 

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

Profile
 
 
Posted: 04 January 2007 02:14 PM   [ Ignore ]   [ # 244 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  11-02-2005

mark:
tks for the speedy hint; i’d prefer to wait for your next build - and have it fixed smoothly. how long - what do you think?
best,
.t

 Signature 

thomaswinterstetter.com
1.6.x Build: latest

Profile
 
 
Posted: 05 January 2007 01:04 AM   [ Ignore ]   [ # 245 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

twin,

I’d suggest going with the workaround for now, i’d like to get a new version out in a few weeks but that just doesn’t seem feasible right now.  So it’s looking like almost three weeks until an update.

Mark.

 Signature 

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

Profile
 
 
Posted: 05 January 2007 01:42 AM   [ Ignore ]   [ # 246 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  11-02-2005

sure, mark. will do - and hang on.

 Signature 

thomaswinterstetter.com
1.6.x Build: latest

Profile
 
 
Posted: 08 January 2007 07:13 PM   [ Ignore ]   [ # 247 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Mark - I don’t know if this has been brought up, but what are the odds of having this Pages extension/module find out what the default “Word Separator for URL Titles” is under Global Weblog Preferences in the CP and using that for generating the {static_page_short_name}?

I’m one of those people that just prefer the dash to the underscore. Right now, I go into ext.pages.php and change lines 166 and 309 from ‘...array(”“, “_”)...’ to ‘...array(”“, “-”)...’ but I don’t like to “hack” things any more than the next person does.

I know you’re way busy, but I thought I’d throw this out there. If there is a way to specify the separators (OTHER than manually putting my in the Category Description box myself - sometime I actually need to use that for a description) then I’m all ears. Thanks.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 January 2007 03:46 PM   [ Ignore ]   [ # 248 ]  
Lab Assistant
RankRank
Total Posts:  108
Joined  04-04-2004

Hi,
i installed this extension, but now I have the follwing error and the backend doeasn´t load anymore.

MySQL ERROR:

Error Number: 1146

Description: Table ‘ee.mod_pages’ doesn’t exist

Query: SELECT * FROM mod_pages


Has somebody else had this error and what can I do to fix it?

Thanks
awa

Profile
 
 
Posted: 09 January 2007 03:53 PM   [ Ignore ]   [ # 249 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  223
Joined  01-14-2006

From memory, I logged into pypmyadmin and switched extension and module/extension statuses to ‘n’

that should fix it…

i think this happens when you disable/enable the extension before the module, or visa versa….

 Signature 

Weblog | New Zealand Web Design Agency

Profile
 
 
Posted: 10 January 2007 02:07 AM   [ Ignore ]   [ # 250 ]  
Lab Assistant
RankRank
Total Posts:  108
Joined  04-04-2004

Hi,
thanks, that fixed it.
awa

Profile
 
 
Posted: 10 January 2007 05:17 AM   [ Ignore ]   [ # 251 ]  
Lab Assistant
RankRank
Total Posts:  108
Joined  04-04-2004

Hi,
I got pages to work now and it looks very good, one issue though:
I my template I use:

Test
{exp:weblog:entries category=”{static_page}” dynamic=“off” weblog=“static”}
  {title}
  {summary}
  {body}
  {/exp:weblog:entries}

The page “About” will be rendered to
Test About {summary} {body}

So, the template will be used, this is why I see the word Test, it will also determine the correct entry (About) and render the approriate title replacing {title} with “About”. But it will never ever touch {summary} {body}. There are entries in those fields!! I checked this not only for the static categoroy “about”, but also for “Impressum” and other statics.

I´ve one clue: Maybe I installed it the wrong way? Those where the steps:
- create weblog “static”
- add category group “static” and add the category structure
- link the category group to the weblog
- switch over to pages and click on the first category to enter content
- seeing, that I can only enter the title, no other fields there
- thinking about it, leaving pages and going back into weblog management to link the weblog up with a field set
- going back to pages and clicking on the first category to add content. Now I have the fields title, summary and body there

My suspicion is, that pages doesn´t recognize summary + body because I added them afterwards.

Any thoughts?
Cheers
awa

Profile
 
 
Posted: 10 January 2007 03:55 PM   [ Ignore ]   [ # 252 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  194
Joined  09-14-2004

I second mdesign’s request regarding the dash. However, when I implement this hack, it doesn’t seem to render sub-category pages properly—it shows the main category pages properly, but not the sub-cats… when I return the ext.pages.php back to normal, it shows the sub-category page properly. mdesign, can you tell me if this is the same for you?

 Signature 

{ say it once, say it twice, lealea says it’s nice }
{ member, professionals network }

Profile
 
 
   
14 of 27
14
 
‹‹ 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: 57
Total Topics: 81838 Total Anonymous Users: 33
Total Replies: 440021 Total Guests: 236
Total Posts: 521859    
Members ( View Memberlist )