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 Navigation - Feature Requests!

Development and Programming

Dan Lewis's avatar
Dan Lewis
24 posts
17 years ago
Dan Lewis's avatar Dan Lewis

May I try your add-on when it becomes available as well? Or use me as your beta tester. I want to gauage it against Tome or EE’s Page modules.

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

I may be wrong here…but I don’t think this is meant to be a replacement for EE’s Pages module. I think it is supposed to be a companion. I think all it does is handle the creation of navigation.

       
Dan Lewis's avatar
Dan Lewis
24 posts
17 years ago
Dan Lewis's avatar Dan Lewis
I may be wrong here…but I don’t think this is meant to be a replacement for EE’s Pages module. I think it is supposed to be a companion. I think all it does is handle the creation of navigation.

That makes it even sweeter. It is a good thing to stay with core functions as much as possible. Tome module gets the job done but is quite quirky. I hope LG does a more elegant job.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
I may be wrong here…but I don’t think this is meant to be a replacement for EE’s Pages module. I think it is supposed to be a companion. I think all it does is handle the creation of navigation.

Exactly right… LG Navigation actually relies on the native Pages module 😊

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

Ok guys….

It doesn’t look like I will have much time to write the docs up properly or do much more work on this extension in the near future (lots of client work).

So I am going to put it up here for 24hrs so you can all download and test it and provide feedback.

I’m planning to sell this module so this is more like beta testing as it is not feature complete.

Good luck to those who monitor the forums 😊

Update: – REMOVED THE DOWNLOAD –

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

Hey Levi- So is there any way to create non-entry based navigation items? So if I want to create a navigation item for a template group as opposed to a static page.

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

Nope… unfortunately not…

I generally have pages that point to those template groups as a work around…

Basically If ee2.0 diesn’t include a nice navigation module I will build a full powered one with the ability to create links in the navigation that point to any url you want with or without an entry. For now though this is just a quick module that should do “most” of the basic things people require even if you need to add a couple of blank pages.

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

I sure hope they do! That has been a major thing missing making it a good CMS.

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

Agreed!

       
Dan Lewis's avatar
Dan Lewis
24 posts
17 years ago
Dan Lewis's avatar Dan Lewis
Ok guys…. It doesn’t look like I will have much time to write the docs up properly or do much more work on this extension in the near future (lots of client work). So I am going to put it up here for 24hrs so you can all download and test it and provide feedback. I’m planning to sell this module so this is more like beta testing as it is not feature complete. Good luck to those who monitor the forums 😊

Thanks Leevi. I’ll give it a spin over the weekend!

       
seajay's avatar
seajay
109 posts
17 years ago
seajay's avatar seajay

Hmmm. I’m getting these errors.

Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 194
Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 287
MySQL ERROR: Error Number: 1052 Description: Column ‘entry_id’ in where clause is ambiguous Query: SELECT t.entry_id as entry_id, t.title as title, t.url_title as url_title, n.title as menu_title, n.url as alt_url, n.order as sort_order, n.show_in_nav as show_in_nav, n.parent_id as parent_id FROM `exp_weblog_titles` t LEFT JOIN `exp_lg_navigation` n USING (entry_id) WHERE entry_id IN (173) ORDER BY parent_id, sort_order, title

Ideas?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
Hmmm. I’m getting these errors.
Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 194
Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 287
MySQL ERROR: Error Number: 1052 Description: Column ‘entry_id’ in where clause is ambiguous Query: SELECT t.entry_id as entry_id, t.title as title, t.url_title as url_title, n.title as menu_title, n.url as alt_url, n.order as sort_order, n.show_in_nav as show_in_nav, n.parent_id as parent_id FROM `exp_weblog_titles` t LEFT JOIN `exp_lg_navigation` n USING (entry_id) WHERE entry_id IN (173) ORDER BY parent_id, sort_order, title
Ideas?

Try updating the sql to:

SELECT t.entry_id as entry_id, t.title as title, t.url_title as url_title, n.title as menu_title, n.url as alt_url, n.order as sort_order, n.show_in_nav as show_in_nav, n.parent_id as parent_id FROM `exp_weblog_titles` t LEFT JOIN `exp_lg_navigation` n USING (entry_id) WHERE t.entry_id IN (173) ORDER BY parent_id, sort_order, title

What were you trying to do when this error occurred? Which version of MYSQL are you using? Which version of PHP?

       
seajay's avatar
seajay
109 posts
17 years ago
seajay's avatar seajay
What were you trying to do when this error occurred?

I had removed Tome module and extensions. I had reinstalled the Pages module. I had installed the LG Navigation module and extension. I had selected a specific Weblog in your extension.

When I clicked on Publish > Weblog, or Edit> Weblog > Entry, I received the first two errors above the top black bar. When I clicked on the Update button, I received the bottom error.

Which version of MYSQL are you using?

I am using EEHosting. MySQL 4.1.20-log.

Which version of PHP?

PHP Version 5.1.6

Also, where would I make the SQL change you recommended?

       
Dan Lewis's avatar
Dan Lewis
24 posts
17 years ago
Dan Lewis's avatar Dan Lewis

Hey guys, how do you build the navigation in the template with LG? Are there some kind of EE tags to use? Any code snippet for a quick test.

       
John Fuller's avatar
John Fuller
779 posts
17 years ago
John Fuller's avatar John Fuller
Hmmm. I’m getting these errors.
Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 194
Warning: Invalid argument supplied for foreach() in … /modules/lg_navigation/lib/lib.lg_navigation.php on line 287
MySQL ERROR: Error Number: 1052 Description: Column ‘entry_id’ in where clause is ambiguous Query: SELECT t.entry_id as entry_id, t.title as title, t.url_title as url_title, n.title as menu_title, n.url as alt_url, n.order as sort_order, n.show_in_nav as show_in_nav, n.parent_id as parent_id FROM `exp_weblog_titles` t LEFT JOIN `exp_lg_navigation` n USING (entry_id) WHERE entry_id IN (173) ORDER BY parent_id, sort_order, title
Ideas?

Correct me if I am wrong, but I believe that error appears when you have no pages setup with the EpxressionEngine pages module. So this error is appearing because it is trying to do something with things that do not exist.

       
First 2 3 4 5 6

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.