How to enable breadcrumb or back button - admin-on-rest

How to enable breadcrumb and back button.
Example for back button: In admin-on-rest demo site, If user click a CUSTOMERS in segments page it will goes to customer page with specific filter. I want add a back button in the customer page to come back to the segment page again.
Example for Breadcrumb: If user search a employee name in a location. then it should display like Location Name > Dept Name > Unit Name > Emp ID > Emp Name.
How to do this?

Most AOR pages accept an Actions prop. You can use that to redirect to any custom location or to the last location in history.

Related

How to add customer select table for custom admin page. I need to open custom page when click on a customer data row

Screenshot of the table
I need to add this kind of table to new admin page and when click on a row it should open a new page.
[Screenshot of the table

Get Menu items in content zone in orchard cms

I have created one Content type called "Product", Then created one query that select all product and shows on home page. To show products on home page i have created projection widget.
Now when i click on particular product it gets redirect to the detail page of that product.
Question is i want to show Menu items (like navigation bar) beside the content.
in the attached image red portion will have menu items.
so how can i achieve this?
Please help.

How magento redirect the checkout page to "edit profile" page

I'm working on a onepage checkout,
In the original version of magento, when I erase the firstname of a user in database, and load checkout page, it will automatically redirect to edit profile page to fill the firstname field.
I want to use this feature, Can you suggest some approches?
Ofcource , if anyone can explain the magento way, I would appreciate that more.
UPDATE :
I want an approach to add another field for user, just like the firstname field. So that whenever that field is empty, the checkout page should redirect to "edit profile" page.
You can add custom field for Customer by following this link https://magento.stackexchange.com/questions/5905/adding-custom-attribute-to-customer-registration-form
or the tutorial http://www.magentocommerce.com/wiki/5_-_modules_and_development/customers_and_accounts/registration_fields
Then add validation condition for your attribute just like other validations in Customer Model file app/code/core/Mage/Customer/Mode/Customer.php. Arround line number 792 look for method public function validate()

Getting links to a category in Joomla

Even just 30 minutes google the forums and found nothing ... I am interested in - actually I see a new link to a category created not by me, while also having access to the database (to see it directly) being available to only access the admin panel. Help me please.
If you want to create a link to determined category, you have to understand that there is a component responsible of show the content, if you see this Link, you can pass parameters in the url, therefore a link to category will be something like this:
index.php?option=com_content&view=category&layout=blog&id=4&Itemid=6
where category it's the type of view. You can put category or section
Put blog in the layout parameter if you want to show the articles as blog form, this parameter its optional
id its the number of the category id
and finally itemid its the id of the menu from was clicked

Magento. Redirect to specific store view

We have multi-website(5) multi-store-view(13) shop.
What we need is that only 3 store view from 1 shop are allowed to checkout. Therefore the problem is how to redirect users from other shops to the same products on specified store view.
For example user watches product on mk_nn_eng and click #Button#, after that he is redirected to mu_aa_ENG AND sees the same product, he was observing but on specified store view.
How to perform such redirect?
If it's the same item, it will have the same id. And you can link to an item by it's id using the format (assuming you have different domains set up for each view):
www.DomainForStoreViewYouWant.com/catalog/product/view/id/{{product.id}}
Where you would get the id with something like $product->getId(); depending on the product object in the file you're looking at.
So the button you mentioned would just be the above link.
Is this what you had in mind?
Update:
If it's the same domain for each view, you could add the storecode to the end: ?___store=storecode

Resources