I am creating a menu using ULTOKENS in DNN. I want to check the depth of the page so that it only displays the child pages of the current page the user is in. Is it possible to check the Depth of the page using the [DEPTH] TOKEN and how do I go about doing it? Thanks.
[>NODE-TOP]
[?BREADCRUMB]
[?ENABLED]
[/?]
[?NODE]
[?DEPTH] = 2
[*>NODE-TIERONE]
[/?]
[?DEPTH] = 3
[*>NODE-TIERTWO]
[/?]
[/?]
[/?]
[/>]
You use NodeSelector to determine which pages are displayed. For example, NodeSelector="RootChildren" displays children of the currently selected root menu item. Thare are many other ways tomselect pages. See the DNN Wiki at dnnsoftware.com.
Related
I'm working on a site where the user can navigate by using a menu system. I have my save function firing on the componentWillUnmount. One page in particular allows a user to set a field where they can define a number. The next page generates a bunch of text fields corresponding to that number. The problem is, the second page loads before the first page has finished saving. So if page 1 initially has a value of 1 and I change it to 2, the second page will display 1 text field initially, forcing me to refresh the page to see the correct data.
Any ideas or help would be appreciated!
I'm not sure if this is possible at all but this is what I want to acheive:
The website I am working on for a martial arts school.I have program pages that give general info on them. Then I have a link that says 'register to view available times' (for a free trial).
I am wondering how to get the user to the specific page for that program's registration. After that, I want to apply the same sort of thing to each program page. E.g. If I am on kids classes > Register > Redirect to Kids Class Times
Womens > Register > Redirect to Women's Class Times.
Also, want the same thing to happen for a 'login' function.
Joomla natively does not support this. You will have to use a third party extension to achieve this. I have used Community Builder (https://www.joomlapolis.com/) before that is both free and open-source that can do what you want.
If i understood your question you like to put some content in to view only for person who is registered on your website.
Here is how to.
1. Create menu item in menu manager >
Add content to your menu. ( modules , articles ) > .
Set the same menu item from Public to Registered.
Button to do so, will be on right side tab: " Details " in menu setting.
2.Then you create a link to these menu or item alias which is public. When the person will click on link the joomla will ask for login and redirect to the menu page.
Hope this helps.
I have made one block for most visited links (Top Links) in my drupal website but I dont know how to list most visited from different pages. For example, if I have created a page named drupal and within that page i have added some content with some title, then i have to examine and count those titles and list the top visited title from each and every page on my homepage(only one from each and every title that is most visited) and list them on my homepage block.
Could anyone help me with this.
Thanks in advance!
Make sure the statistics module is enabled. Visit /admin/config/system/statistics (Drupal 7) and make sure Count content views is enabled (ticked).
Use views to create a block the usual way; for example add a field like Content: Title. Then make sure you add a sort criteria of Content statistics: Total views (desc).
I am developing a simple web-mail client using cakephp2.
For the mailbox list display I am successfully implemented pagination with Paginator helper
Now when I click a particular item in the mailbox list page will show
the message details. In the message display page I also want to show navigation
e.g 3 of 23 << | >>
Is it possible to do this with Paginatir helper?
Awaiting your valuable suggestion.
Regards.
Paginator documentation does not provide information which I have asked for,
But fortunately after a vast reading of Retrieving Your Data section of Model in
cakephp2.0 documentation I have got my ANSWER.
I have almost done with find(neighbors)
Get Your Neigbor
Now I have to set the record number for the current record...then it will be completed.
Thanks for responding..
I am developing site using Drupal7 with JD Fashion theme from Joomlart
I have created one vocabulary and terms it in the taxonomy.I have use this terms for menu navigation and added some stories(node) for each menu item.
In post setting I have kept no of nodes in main page to 3 using admin/content management/post setting.
But it is only working for home page and not for inner pages.
I want to restrict the no of nodes to 3.
How can i do that?
Is their any module or extension for pagination to control no of article per page?
You can turn on the Taxonomy Term view in the Views UI to have more control over the taxonomy pages. This view is automatically generated by the Taxonomy module, but is disabled by default.
Once turned on you can set the Pager in the Page setting area to Display a specified number of items and set the numer of Items per page to the desired number.
This will limit the number of nodes displayed in the Taxonomy pages.
You can do this without views.
The number of nodes displayied in taxonomy page is determined by the default_nodes_main variable, that also controls, the n° of nodes in the home page and the number of blog posts.
You can adjust that at admin/config/system/site-information > front page > n° of nodes in front page.
So, beware of side effects. I made a search in all of the D7 code and i found out that default_nodes_main appears in
blog.pages.inc:26
blog.pages.inc:66, limiting the number of post
node.module:2601, limiting the number of sticky nodes (front page)
taxonomy_pages.inc:55, limiting number of nodes in the taxonomty page
Known the consequences, you can use that setting.