CodeIgniter Menu bar problems - codeigniter

This is my menu. I fetch this menu items from database. Now, If I click on any menu items, then it goes to his page. But the menu bar is missing. I am showing my menus in master_page.php in view folder.
Now I want, this menu bar will be fixed in any page. So, I need to include or load the master_page.php file in the menu items pages? But I don't know the procedure. Please, someone help.

No. Don't use the includetag. Use as simple in controller
Explain :
If you need to load the navigation just call the view in each and every controller
$this->load->view("master_page")
Example:
$this->load->view("head")
$this->load->view("master_page")
$this->load->view("body")
$this->load->view("foot")
Importent:
Keep the order of page load.
head
navigation
body
foot

Related

Add buttons to sub-grid view

On the order form, there is a products section that has uses the default Order Product Inline Edit View. This view is not editable, but you can copy it and save it as a different name.
However, when you copy the view, the new view does not display all of the same buttons when viewing the sub-grid.
default view:
copied view (the lock pricing, move up and move down buttons are missing):
The copied view shows the + button and it's drop down menu correctly. Why hasn't it copied the other buttons, and how can i get them to show on my custom view?
I am happy to edit xml and upload that back to CRM if necessary.
Update:
FYI, this is all a pointless effort as the word template ignores the sequence order. What an utter waste of time.
I'm going to guess it's because the default view on the order of order products is a special one. It has special behaviours that arn't seen in the rest of 365, i.e. you don't get up, down, or lock on other views.
I would assume that the extra buttons only get shown on that default view and arn't really supported outside of that view.
Turns out it is actually quite easy to show these buttons for other views using the ribbon workbench.
Right click on the button in ribbon workbench under the subgrid section and click on customise
Select the command in the "solution elements" pane at the bottom
In the bottom right hand pane, right click on the enable rule "Mscrm.IsInlineEditView" and click "Remove from Command"
Publish
These buttons now show up for all views.

xcode title bar / collection view

probably an easy solution to this, but not sure how.
I'm using colelction view with a tab bar. I'm unable to drag a navigation bar on to the view from the objects pannel, and selecting the navigation bar from the properties pannel works, but doesn't display in simulator mode.
Any thoughts?
Many thanks, again.
Well, one way to achieve what you're looking for would be to embed the view controller or collection view controller that contains your collection within a navigation controller (Editor->Embed In>Navigation Controller).
Then instead of linking your controller with your collection directly to your tab bar, you would link the navigation controller that contains it.

Problems with sub items into a Joomla main menu item

I have a litle doubt related to main items and sub items in the Joomla Main MenĂ¹.
If you open this link you can easy understand my problem: http://onofri.org/example/example1/
In this website I have a main menu under the header. This main menu contains a main items named Who We Are which in turn contains 4 sub items that appear when you hover the mouse on the parent item (Who We Are)
Clicking on these sub item correctly appear some statics pages (some articles) and this is ok.
The problem appears if you click on the main iten Who We Are, in this case appear a 404 error.
What can I do to solve this problem? Can I make not clickable the Who we Are main item?
Tnx
Andrea
use "separator" as a menu kind; any other type will be clickable.
separator is available in the bottom group "System links" as "Text separator".
What I always do in such situations is avoiding using items that do not point to anywhere. It is better to do it like this:
Make Who We Are a Article type menu item that will point to article from first sub-menu item in Who We Are
Make first submenu item Erusma Birth an Alias type menu item that will point to your main menu item Who We Are
What you have now is menu where all items point to some place on website. You have no errors and easy to understand navigation. Separator should not be used as main or sub-menu item it self. More like sub-menu column name etc.

How to implement a Chained menu in PHP?

I want to have a AJAX Function of implementing a chained menu + a result table.
What i need to do:
Firstly, the page populate automatically a vertical menu from MySQL and a result table.
Secondly, when i click an item in the menu, it displays a submenu in a fixed area in the page and a new result table.
Thirdly, when i click an item in the submenu, it displays a sub-submenu in another fixed area in this page and a new result table.
Last, when i click an item in the sub-submenu, it displays a result table.
All the result tables are in the same position. It changes depending on the click in the menus.
I'm lost in how to do that. Do you any ideas about how to implement this? Thanks so much.
Edit:
The effect is a little like this: effect
Your First, Second, Third, Last very much looks like visualjquery.com
I believe it is written in Javascript+jQuery, so you could learn from its source.

SL3 dataform validation indicators don't show in tab pages

I have a Prism/SL3 application with a tab control and each page of the tab control is a "Region" that has its own view and viewModel. when I want to validate the main page, I call dataForm.ValidateItem(), then I go to all the child views and do the same. the problem is, only the pages which user has clicked on them (on the tab page), get instantiated and the pages that are never shown, don't have their view instantiated, thus I can't validate them.
any help?
I created a psuedo work around for this. It's very hacky, but it does work. My example involved walking the visual tree (up and down) to find respective controls that are invalid and then "expanding" the selected item. I have used an accordian in my example, but have also tested this with tab:
http://thoughtjelly.wordpress.com/2009/09/24/walking-the-xaml-visualtree-to-find-a-parent-of-type-t/
HTH,
Mark
EDIT: Link updated.

Resources