We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Pages Bug Thread

Development and Programming

james Brown's avatar
james Brown
492 posts
18 years ago
james Brown's avatar james Brown

I see, I see. you are correct.

After reading the tech note I am a little confused. Will upgrading the old Pages module to the Tome module allow all my old pages to be available in the new EE 1.6 Pages module? or will I have to re-setup everything in the new EE 1.6 Pages module? I prefer to use the built-in functionality of EE rather than an add-on module. But I’m hoping there is an easy way to have everything transfer over.

Mark- The link to your site is giving a 500 Internal Server Error http://docs.markhuot.com/ee/modules/tome/

       
George Ornbo's avatar
George Ornbo
272 posts
18 years ago
George Ornbo's avatar George Ornbo

Mark - with the release of 1.6 I just wanted to say thanks for all of your work on the Pages Module. It is a great shame that this project will end development and in my opinion it is a shame that it wasn’t used as a blueprint for the pages module in EE1.6.

I appreciate EE’s reasons for creating their own pages module but having played with EE 1.6 it lacks many of the features of your work.

The Pages Module is dead. Long live the Pages Module!

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Thanks Shape Shed. I am sad to see the Pages module die but at the same time i’m very happy to see it integrated as a 1st party module.

       
rockthenroll's avatar
rockthenroll
485 posts
18 years ago
rockthenroll's avatar rockthenroll

Here here! Thanks for the work, Mark. I’m hoping they grab some more of your functionality though also, as it seems some of the point of having pages has been lost…

       
james Brown's avatar
james Brown
492 posts
18 years ago
james Brown's avatar james Brown

Hey Mark- I thought somewhere in the hundreds of forum pages on this module someone had a similar problem. I searched, but alas, couldn’t find anything.

I am using the code below to generate my navigation. It is showing only part of the page tree. Everything is showing up nested as it should, but it is the urls that are a little messed up.



So let’s say the url in the browser is

http://www.domain.com/index.php/barcode_services/service/consulting

The links generated will all have barcode_services/service/consulting before the correct link url. For example:

http://www.domain.com/index.php/barcode_services/service/barcode_services/label/custom_color

How can I go about correcting this?

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
18 years ago
Ingmar Greil's avatar Ingmar Greil

You could use

<a href="http://www.domain.com/index.php/barcode_services/{url_title}">
       
james Brown's avatar
james Brown
492 posts
18 years ago
james Brown's avatar james Brown

Using that I end up with even more of a Frankenstein URL

http://www.domain.com/index.php/barcode_services/http://www.domain.com/index.php/barcode-services/service/barcode-solutions/label/custom-color

Any other ideas?

I also realized that in another section with a navigation code below,

{exp:static_page_path direction="post" page="1"}<a href="http://{url_title}" title="{title}">{title}</a>{/exp:static_page_path}

and an initial url structure of

http://www.domain.com/index.php/cad-services/panelization

I get navigation URL’s like:

http://www.domain.com/index.php/barcode-services/service/cad-services/panelization

barcode-solutions/service shouldn’t even be in there at all. I don’t know why my URLs are going haywire.

My basic category structure used is: Barcode Services -sub category -sub category –sub sub category … CAD Services -sub category -sub category …

       
iain's avatar
iain
317 posts
18 years ago
iain's avatar iain

James - This has happened to me in the past by creating categories without entries (pages without content). Make sure you have entries assigned to your pages categories.

I’d also like to thank Mark for his hard work on this module, fantastic work.

Cheers,

Iain.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

thanks for the note iain!

       
james Brown's avatar
james Brown
492 posts
18 years ago
james Brown's avatar james Brown

I checked, and all of my pages do have content. So unfortunately this fix does not apply to me :down:

       
james Brown's avatar
james Brown
492 posts
18 years ago
james Brown's avatar james Brown

Also I discovered that if I set my page=”0” variable then the URLs do come out correct. It is only when I have it set to start at a specific page (like page=”2”) that it doesn’t out put it correctly. Unfortunately I only need part of the directory structure, not the whole thing.

       
Bruce2005's avatar
Bruce2005
536 posts
18 years ago
Bruce2005's avatar Bruce2005

I was thinking about the Pages Module in relationship to EE’s new release wih it built in.

While I didn’t have time to go over the old thread to any great detail, or try the module at the time, now with it built in I believe the old Pages had some extra functions not found in the new release?

If so, are there plans to use the extra functions of Pages as an extension to pages in EE 1.6? Or a good idea?

       
Brent Cartier's avatar
Brent Cartier
87 posts
18 years ago
Brent Cartier's avatar Brent Cartier

I’m having the same problem as James Brown above - It seems if I create a category structure like this (on the Tome Module page):

ID…Name

12…Section 1 13……Section 1-1 14……Section 1-2 15………Section 1-2-1
16………Section 1-2-2
17…Area 2 18……Area 2-1 19………Area 2-1-1 20………Area 2-1-2 21……Area 2-2 22……Area 2-3

Then I’m using the following code to show a menu of only the ‘Sections’, not ‘Areas’. The menu displays perfectly but the url_titles have path information leaking in form the Area entries like: www.domain.com/area_3/area_3_1/section_1/section_1-2:

{exp:static_tome_path page="12"  direction="post" }
  <a href="http://{url_title}" title="{title}"> _   {title}_  </a>
{/exp:static_tome_path}

This is strange since using page=”0” displays both ‘Sections’ and ‘Areas’ with correct path information…

Oh and it also messes up the breadcrumb the same way using the following:

Home » {exp:static_tome_path backspace="3"}<a href="http://{url_title}" title="{title}">{title}</a> » {/exp:static_tome_path}

Anyone have any ideas? Mark? 😉

       
iain's avatar
iain
317 posts
18 years ago
iain's avatar iain

Double check you have entered content into each page, I’ve noticed urls behave strangley if there is no entry per category…

       
Brent Cartier's avatar
Brent Cartier
87 posts
18 years ago
Brent Cartier's avatar Brent Cartier

Thanks iain - I double checked that - they were all full so it’s still an issue…

I DID notice by accident that it only seems to be a problem if my menu code appear after the weblog entries tag - if I put it before, it works!

This code produces strange url_title results:

<!-- breadcrumb -->
Home » 
{exp:static_tome_path backspace="3"}
  <a href="http://{url_title}" title="{title}">{title}</a> » {/exp:static_tome_path} 

<!-- main content -->
{exp:weblog:entries weblog="pages" category="{static_page}"  dynamic="off"}
      <h1>{title}</h1>
     {contentbody} 
{/exp:weblog:entries}

<!-- Menu -->
<h2>Menu</h2>
{exp:static_tome_path page="41"  direction="post" }
  <a href="http://{url_title}" title="{title}">_   {title}_  </a>
{/exp:static_tome_path}

And this works ok:

<!-- breadcrumb -->
Home » 
{exp:static_tome_path backspace="3"}
  <a href="http://{url_title}" title="{title}">{title}</a> » {/exp:static_tome_path} 

<!-- Menu -->
<h2>Menu</h2>
{exp:static_tome_path page="41"  direction="post" }
  <a href="http://{url_title}" title="{title}">_   {title}_  </a>
{/exp:static_tome_path} 

<!-- main content -->
{exp:weblog:entries weblog="pages" category="{static_page}"  dynamic="off"}
      <h1>{title}</h1>
     {contentbody} 
{/exp:weblog:entries}

This is getting strange - does that clue help debug this at all?

       
First 2 3 4 5 6 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.