Only Submenu

roca

Avatar: roca

2008-09-04 20:05

I would show only a submenu on the menu as right as version 2x . Is possible?

» Quick.Cms v2.x

Makaron

Avatar: Makaron

2008-09-05 09:11

I don't understand the question.. Do You want to not display main categories in left menu (in default: Tents, Walking Boots etc)? But only childrens of these pages in menu?

roca

Avatar: roca

2008-09-05 13:29

Okay, I'll give an example in lik offer has the sublinks offer1, offer2, offer3, offer4 how do I show you these childrens menu left?

click link>>offer

offer1
offer2
offer3
offer4

only

Is possible?

Thanks

roca

Avatar: roca

2008-09-05 14:07

Example with image
http://img401.imageshack.us/img401/7153/osjo3.gif
or
http://img401.imageshack.us/my.php?image=osjo3.gif

thanks

Makaron

Avatar: Makaron

2008-09-08 10:07

So You can just change the position of displaying subpages (and of course change styling for them). It isn't need to use left menu.. Just delete variable $sSubpagesList in file templates/pages_default.tpl and paste it in templates/container.tpl for $menu3 and $menu4.. After that change template of displaying subpages (file: templates/pages_default.tpl - delete description etc)..

roca

Avatar: roca

2008-09-08 13:04

Ok thanks for the reply it worked, but when I click a link in the menu disappears would have any option to leave it fixed.

thanks

Roca

Makaron

Avatar: Makaron

2008-09-10 10:00

Look at last post in this topic: http://opensolution.org/Quick.Cms/forum/?p=readTopic&nr=738

roca

Avatar: roca

2008-09-10 13:41

Very Good, since when it launched the version I am trying to 2x this option and never have succeeded, even thank you! as we say here in Brazil "You are the Face!"

Roca

newms

No avatar

2008-12-03 01:50

• I am trying to do same. Place offer 1,offer 2.... as a submenu in the left column as well.
• I would like to keep the subpageslist in the templates/pages_default.tpl as it is. (title/name + sdescription + image)
• In the left column, I would just like the title/name of the pages/links only. no description.

I followed this topic as well as others:
I have created in p.php $ssublist2 and placed it in the container.tpl

$sSubpagesList null;
    
$sSubList2 $sSubpagesList;

    
$aData['sDescriptionFull'] = changeTxt$aData['sDescriptionFull'], 'nlNds' );

    if( 
$aData['iSubpagesShow'] > ){
      if( 
$aData['iSubpagesShow'] < )
        
$sSubpagesList $oPage->listSubpages$iContent$aData['sTemplate'], $aData['iSubpagesShow'] );
        
$sSubList2 $oPage->listSubpages$iContent$aData['sTemplate'], $aData['iSubpagesShow'] );
        
$sSubList2 .= $oPage->listSubpages$aData['iPageParent'], $aData['sTemplate'], $aData['iSubpagesShow'] );
    }



This suites my purposes except 2 problems:
1) I wish to delete the short description from the left column ($sSubList2) without deleting it from the content as configured by the templates/pages_default.tpl

2) It $sSubList2 seems to be still linked to the $sSubpagesList styles in the css. How do I change this??????

Please help. and Thanks in advance.
you can see an example of what I am doing on the following link
http://www.solicit.net.au/index.php?menus,3

newms

newms

No avatar

2008-12-04 01:24

OK I have gotten somewhere.
1) I have eliminated the short descriptions.
2) I have changed the css styles

New Problem
I have the list showing where and when I like.
The parent page is perfect:!!! :)
http://www.solicit.net.au/index.php?menus,3

The child page looks the same with the addition of a type/link of the parent page. :(
http://www.solicit.net.au/index.php?lunch,6
as example: The page "menus" has a subpages "lunch","dinner","dessert"....
when listing the subpages it looks like this:
lunch
menus (A LINK, a little to the left. In a different text/type with a different style that I cannot locate.)
dinner
dessert

Please check the link and you will see.
I think the trouble making line i think is
$sSubList2 .= $oPage->listSubpages( $aData['iPageParent'], $aData['sTemplate'], $aData['iSubpagesShow'] );

PLEASE HELP!

newms

szpeti

No avatar

2009-03-10 22:27

Hi!

Could you please explain how you made the dropdown menu under the logo? And how are the submenus displayed on the left with other style?

Thx, Peter

Back to top
about us | contact