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

LG better meta 1.7 - problem with page module

Development and Programming

Nicolas Danhiez's avatar
Nicolas Danhiez
12 posts
16 years ago
Nicolas Danhiez's avatar Nicolas Danhiez

Leevi, I have a problem with better meta and the page module : I’ve four pages with the same url structure, something like /page/name/, a simple template. I use {exp:lg_better_meta_pi:template url_title="{segment_2}”} to determine the entry parameter and very strangely only one of the four pages outpouts the specific meta of the entry. Do you have an idea ? Thanks

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Is “/name/” the url_title of the entry?

For single entry pages I usually wrap the exp:weblog:entries tag around the top part of the page, encapsulating the exp:lg_better_meta_pi:template tag. Then I pass through the entry_id explicitly.

       
Nicolas Danhiez's avatar
Nicolas Danhiez
12 posts
16 years ago
Nicolas Danhiez's avatar Nicolas Danhiez

Yes, “/name/” is the url_title of the entry. And I don’t understand why it works for one of the four pages Thanks for the reply

       
heaversm's avatar
heaversm
197 posts
16 years ago
heaversm's avatar heaversm

Hey guys - I have a similar problem - and these are not single entry pages. For the sake of simplicity and testing, I implement the plugin as follows:

{exp:lg_better_meta_pi:template url_title="{segment_4}"}

and if you go to

http://maverick-digital.com/citi/ndc/

and click around, you will see that some of the pages that have a segment 4 receive a title, while others do not, even though all of them use the same code to receive their 4th URL segment. The following examples are even in the same template:

WORKS: http://maverick-digital.com/citi/ndc/index.php/site/training/category/introduction/

DOES NOT WORK: http://maverick-digital.com/citi/ndc/index.php/site/training/category/academy/

       

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.