掲示板

How add page within child page?

thumbnail
11年前 に Hery Sutanto によって更新されました。

How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Hi everyone,

Today I was trying to add page within child page.... It doesn't play the page within the child page... it only display the child page...
The pages within child page are used to as link to external applications...
and the child page is just the container

Here is how it looks like :

Home | Application menu
-->Menu1
--->app1
--->app2
-->Menu2
-->app1
-->app2


how to achieve this ??

Regards,

Hery
thumbnail
11年前 に Tejas Kanani によって更新されました。

RE: How add page within child page?

Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
It should work. You can create page under Child page. Which version of Liferay are you using ?
If your problem is not displaying that page in theme navigation, then you might need to make changes in theme. As most of theme doesn't come with more than 2 level hierarchy of navigation menu.

If you have any other issue, please attach the screen shot of it. That will give clear picture.
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Tejas Kanani:
It should work. You can create page under Child page. Which version of Liferay are you using ?
If your problem is not displaying that page in theme navigation, then you might need to make changes in theme. As most of theme doesn't come with more than 2 level hierarchy of navigation menu.

If you have any other issue, please attach the screen shot of it. That will give clear picture.


Yes I am using Liferay version 6.1.... Yeah first I encounter problem with theme, after I change it back to Liferay standard theme it works but only 1 level...

it doesn't display second level menu...

Regards,

Hery
thumbnail
11年前 に Tejas Kanani によって更新されました。

RE: How add page within child page?

Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
Yes. Liferay Classic theme does not display second level navigation.
You can create your custom theme which will display second level navigation.

Check out this thread.
http://www.liferay.com/community/forums/-/message_boards/message/8796618
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: How add page within child page?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
As Tejas replied, it's not the problem of being unable to create sub-child pages, but just that of sub-child pages not showing up in menu.

Beside the link Tejas supplied, this is a another approach to sub-child pages showing up in menu using webcontent I found interesting.

http://blogs.xtivia.com/home/-/blogs/19104;jsessionid=7C188975E2FDB21288B20632B42F4C44
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Hi Tejas and Hitoshi,

Thanks... for the link, I have managed to create second level child menu.... within Liferay classic navigation.vm
now is the display, it's kind of weird....the second level child overlapping the first level...
how can I change it so that the second level child menu open to right side?

Home | Application | FAQ
IT apps -->Mantis (second level)
BP apps IBS
IMS
....


Thanks,

Hery
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: How add page within child page?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
How did you change your vm file? Can you provide us with the code and a screen shot of what it looks like.
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Hitoshi Ozawa:
How did you change your vm file? Can you provide us with the code and a screen shot of what it looks like.


Hi Hitoshi,

this is my current vm file :

<div id="navigation" class="sort-pages modify-pages">
<ul id="nav">
#set($counter=0)
#foreach ($nav_item in $nav_items)
#if ($nav_item.isSelected())
#set ($nav_item_class = "selected")
#else
#set ($nav_item_class = "")
#end
#if($nav_item.getName()!="")
#if ($nav_item.hasChildren())
<li class="$nav_item_class">
<div>
<a href="$nav_item.getURL()" $nav_item.getTarget()><span>$nav_item.getName()</span>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="child-menu">
#foreach ($nav_child in $nav_item.getChildren())
#if ($nav_child.isSelected())
#set ($nav_child_class = "selected")
#else
#set ($nav_child_class = "")
#end
#if ($nav_child.hasChildren())
<li>
<a href="$nav_child.getURL()" $nav_child.getTarget() class="$nav_child_class"><span>$nav_child.getName()</span>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="child-menu">
#foreach ($nav_child2 in $nav_child.getChildren())
#if ($nav_child2.isSelected())
#set ($nav_child2_class = "selected")
#else
#set ($nav_child2_class = "")
#end
#if ($nav_child2.hasChildren())
<li>
<a href="$nav_child2.getURL()" $nav_child2.getTarget()><span>$nav_child2.getName()</span>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="child-menu">
#foreach ($nav_child3 in $nav_child2.getChildren())
#if ($nav_child3.isSelected())
#set ($nav_child3_class = "selected")
#else
#set ($nav_child3_class = "")
#end
#if ($nav_child3.hasChildren())
<li>
<a href="$nav_child3.getURL()" $nav_child3.getTarget()><span>$nav_child3.getName()</span>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="child-menu">
#foreach ($nav_child4 in $nav_child3.getChildren())
#if ($nav_child4.isSelected())
#set ($nav_child4_class = "selected")
#else
#set ($nav_child4_class = "")
#end
#if ($nav_child4.hasChildren())
<li>
<a href="$nav_child4.getURL()" $nav_child4.getTarget()><span>$nav_child4.getName()</span>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="child-menu">
#foreach ($nav_child5 in $nav_child4.getChildren())
#if ($nav_child5.isSelected())
#set ($nav_child5_class = "selected")
#else
#set ($nav_child5_class = "")
#end
<li>
<a href="$nav_child5.getURL()" $nav_child5.getTarget() ><span>$nav_child5.getName()<span></a>
</li>
#end
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
#else
<li>
<a href="$nav_child4.getURL()" $nav_child4.getTarget()><span>$nav_child4.getName()</span></a>
#end
#end
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
#else
<li>
<a href="$nav_child3.getURL()" $nav_child3.getTarget()><span>$nav_child3.getName()</span></a>
#end
#end
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
#else
<li>
<a href="$nav_child2.getURL()" $nav_child2.getTarget()><span>$nav_child2.getName()</span></a>
#end
</li>
#end

</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
#else
<li>
<a href="$nav_child.getURL()" $nav_child.getTarget()><span>$nav_child.getName()</span></a>
#end
</li>
#end
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
#else
<li>
<div>
<a href="$nav_item.getURL()" $nav_item.getTarget()><span>$nav_item.getName()</span></a>
#end
</div>
</li>
#else
#if($counter!=0)
#else
<li><span>&nbsp;</span></li>
#set($counter=1)
#end
#end
#end
</ul>
</div>





Any idea on how to change the Css file?

Thanks,

Hery
11年前 に Velraj Kumar によって更新されました。

RE: How add page within child page?

New Member 投稿: 6 参加年月日: 12/06/19 最新の投稿
Hi Hery, i too facing the same issue.If u got any solution kindly let me know.

Regards,
Velraj
thumbnail
11年前 に Tejas Kanani によって更新されました。

RE: How add page within child page?

Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Tejas Kanani:
Hi guys,

See if this can help you anyhow.
http://shamzu.wordpress.com/2009/05/16/liferay-theme-with-multi-level-drop-down-menu/


Hi Tejas,

Unfortunately the i-google theme does not supported by liferay 6.1...... it give error when I deploy the war file.

Regards,

Hery
11年前 に Velraj Kumar によって更新されました。

RE: How add page within child page?

New Member 投稿: 6 参加年月日: 12/06/19 最新の投稿
Hi Tejas,
Thanks,its working fine now.Im new to liferay.I need to learn developing liferay through eclipse.Can give me any tutorial link or any link.

Regards,
Velraj
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Velraj Kumar:
Hi Tejas,
Thanks,its working fine now.Im new to liferay.I need to learn developing liferay through eclipse.Can give me any tutorial link or any link.

Regards,
Velraj



Hi Velraj,

What version of Liferay that you are using currently?

Regards,

Hery
11年前 に Velraj Kumar によって更新されました。

RE: How add page within child page?

New Member 投稿: 6 参加年月日: 12/06/19 最新の投稿
Hi henry,

Im using 6.1 version...

Regards,
Velraj
thumbnail
11年前 に Tejas Kanani によって更新されました。

RE: How add page within child page?

Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
Hi Velraj,

You'll get most documents from Liferay site only.
Check below link for Liferay IDE.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/liferay-i-4

For more documentation regarding development.
Visit,
http://www.liferay.com/documentation/liferay-portal/6.1/development

Regards,
Tejas
thumbnail
11年前 に Hery Sutanto によって更新されました。

RE: How add page within child page?

Junior Member 投稿: 81 参加年月日: 12/06/04 最新の投稿
Velraj Kumar:
Hi henry,

Im using 6.1 version...

Regards,
Velraj



Ic... I am still playing around with the custom.css and navigation.vm currently
still can't get it to display correctly...

Regards,

Hery