Ive searched the forum and I cant find anything that would explain this..
I did find many users that wanted their own navigation going horizontally.. but noone addressed my one issue.. I can do that.. but I cant link things like [web_links] or [gallery] I have to enter the full URL, and thats where the problem occurs.. with gallery, if you link /modules/gallery it just shows that page, rather than actually formatting it to your theme. But if you call it from a menu block as [gallery] it formats it.
My question is, is there a way to use the horizontal navigation AND the PN linking? or do I have to go and edit my gallery files to call the PN theme through a PHP header/footer?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- nestormateo responded to »Fillters in Clip« 06:33 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Custom navigation menu issues..
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 631
If you simply use all of the correct links gallery wont give you any problems. You use the module link not the direct path link. That would be why you are getting it shown by itself as it is designed to do that when you link directly.
Either use the Core munu block to make the links using [gallery] then copy the output. -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Hi there,
You can make it easy for user to update your navbar by adding this array loop to your theme.php file
Code
Make sure you add this file to yourtheme/lang/eng (wahtever langauge you have). Name it navbar.php
Code
<?php
//You can add more of these, just copy and paste a new line.
//MAKE SURE THE LAST LINE IN EACH ARRAY HAS NO COMMA!
//Links at the top of the page.
$usernav = array (
"My Account" => "user.php",
"Submissions" => "modules.php?op=modload&name=Submit_News&file=index",
"Write a Review" => "modules.php?op=modload&name=Reviews&file=index&req=write_review",
"Add an Interesting Web link" => "modules.php?op=modload&name=Web_Links&file=index&req=AddLink",
"Logout" => "user.php?module=NS-User&op=logout"
);
?>
Regards
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment
- Moderated by:
- Support
