Adding layouts to IPE Panels module of Drupal - layout

I feel as though this has to be answered somewhere. I am simply trying to add custom page layouts as options to the IPE Panels module of Drupal 8. (see attached)
I cannot find a tut or anything on how to do this. The default layouts do not meet our needs at all.
Looking for a link to a tut or some sort of rundown on "how". Many thanks]1

Related

Using OpenView in Domino Designer

When I use OpenView in Domino Designer, all the Views are presented in the Menu Bar. How can I make sure that only one view is presented and at the same time do not hide the other Views so I can use them to other Hotspot Button. Thank you.
The easiest is to create an outline with the views. You can organize the views in expandable groups, specify icons for each view, and much more.
You then create a page where you insert the outline, set the fonts and formatting, etc.
Finally you create a frameset and put the page with the navigation menu in one of the frames.
I created a simple template with all this several years ago, you can find it at http://blog.texasswede.com/free-application-templateframework-for-notes/
Download it and take a look at how it's done there.

Hiding the Hamburger while in shell using template10

Sorry if my query's a bit noobish, a uwp beginner here.
I'm trying to morph the hamburger template from template10 and an existing project of mine. Basically, I'd like to have a certain page with the hamburger menu being invisible, and display my own navigation buttons on the page (an intro page). Upon navigation away to any other page the menu will be visible again.
I tried changing Hamburger's visibility state as an experiment, but it seems to be affecting the content as well. Is what I'm talking about possible with this control and I'm missing something obvious? Or I'd have to manage shell usage in app.xaml and load my intro page without the shell?
Many thanks for the creation of the t10 btw (Jerry, Daren and everyone else), me being confused in this thing doesn't at all diminish my appreciation
There are a few options for you here. IsPaneOpen will only work for you depending on the DisplayMode you choose. But if I were to guess, it's HamburgerMenu,.IsFullScreen that you are really wanting to use here.
You can change the SplitView mode to Inline and set IsPaneOpen to false. That will hide the Pane.

What is the best pattern for a hierarchical navigation with 3 entry points in Android? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have a hierarchical view structure with 3 entry points, say one section is called "Animals", another one "Addresses" and a third one "Maps". These 3 sections don't relate to each other.
In each section the content is navigated in a hierarchy, preferably with the title of each view in the action bar as well as an "up" button to move up.
I couldn't find out what's the best way to implement such structure in android.
The options I've found so far:
Using a navigation drawer. However, google states clearly that you should use the drawer if your app structure is complex, which I believe is not the case for my app. It would have only 3 buttons for the main entry points in it.
Using a tab bar: This doesn't seem to be supported by Android at all. Or am I wrong on that one? There is no supported way to have a master tab bar and inside of each tab a navigation hierarchy using the action bar. In Android, only the other way around exists: Having A navigation hierarchy and inside one node a tab bar.
Using action bar buttons for navigation. This one seems odd to me,
Using a master/detail flow. This would have the advantage that on a tablet, the 3 main entry points would be always accessible. However, I'm not sure if I can use the action bar navigation with up button along with it? Also, I think it's not made for main navigation, but rather for content exploration.
It seems to me that the navigation drawer wins. But then, as stated above, it should only be used for complex navigation.
So my questions are:
Are there more options for this particular app structure?
What do you think is the best pattern to implement it? And why?
In fact here is only question NavigationDrawer or Tabs navigation.
NavigationDrawer is trending now, and almost all apps try to implement it. You are right, Google recommends use for apps with complex navigation, however in their own apps you could see exception for this rule (for example Music app).
On other hand, from what you described Tabs navigation is also a good choice for you. From my experience one app which is really great implements Tabs navigation is Twitter app.
My advise is to use Tabs navigation (based on what you have described), however using NavigationDrawer is also is not the wrong choice. In general NV is more flexible solution, because you always could change numbers of entry points.
I would suggest to implement Navigation Drawer in such cases. Some good reasons behind the decision can be :
More and more apps are using this design pattern. It is slick, clean and fast.
Since you mentioned that each section is accompanied by a content hierarchy so NV comes to the rescue as you can use fragments and provide deep linking within the content. Most of the other implementations do not support this feature.
The design is scalable. You can easily add more sections in the drawer and corresponding fragments to the main content. Simply add more items in the drawer list and a new fragment in the clicklistner switch case and you're done.

Is it possible to use a story's title as a pager in views slideshow?

I'm not by any stretch of the imagination a Drupal expert, but I would like to create a views slideshow in Drupal 6, that has the pagers listed vertically on the left of the slideshow (like one of those tabbed content sliders) and uses the stories' titles as pagers instead of the default numerical pagers. Actually, a similar effect can apparently be achieved using the dynamic display block module, but I find it a little iffy and a little buggy so I'm reluctant to use it.
Is it possible to customize views slideshow to that extent?
Any insight into achieving this would be greatly appreciated!
Many thanks - Jane
You can use the same approach that Miche describes in her very good video here:
She uses it to display the first letter, but you can adapt it to display titles instead:
http://developedbymiche.com/blog/2010/04/18/drupalcon-sf-2010-views-examples-arguments-relationships
(PS: Its also a GREAT video about Views)

How do you alter the 'page_load' for DotNetNuke

For the main menu, I want the first four links to be blue, and specifically the last four links to be yellow. There will only be eight menu items.
I was thinking of hard coding the yellow links into the menu div, and that way when the page loads the first four menu items (default colour blue) they will be blue, and then my hard-coded links of yellow would load up.
My question is, where can I add the "yellow" code? Where can I hard code my yellow menu items? Or is there a different, better, approach to this?
My first question would be which men u are you implementing? A lot of them have a menuitem_x sort of id that is applied to the menu markup so with the CSS you can do what you want
As for where to place the markup there are a few places
You can do it directly in the skin files (not suggested since you may have to edit a few files)
in the skin .css files (much better place to do it and more maintainable and portable)
in the admin go to Site Settings and use the stylesheet editor to add the classes to the portal stylesheet (better than #1 but not as good as #2 since its now specific to the portal and not the skin so it wont be as portable)
Number 3 - works good if you dont have access to the skin or dont want to change it for other reasons
You could use Javascript within the skin.
We have done simular in the past for DNN menus but i keep away from the skinning side so dont have any examples, sorry.
Google does though :)
I would use one of the specific SEO friendly DNN menu modules that generate clean code that can be followed by search engines. I usually use one of them, except for projects where I don't have SEO concerns. When you have a menu with clean markup, like a list, you can change the colors using jQuery and specifying the first four items. You can probably do it like this, one by one. There may be a better selector for grabbing the first four items which is something I have never used.
Solved it, not as dynamic as I'd like, but it works.
The way I've done it is I'm playing with id tags, rather than class tags. Using ID, I can pick out the individual menu items and apply CSS to them.
Essentially, it looks like I've done what 'codemypantsoff' suggested. Thanks!

Resources