Or just create it as usual and use custom nav bars.
							
						
					Announcement
				
					Collapse
				
			
		
	
		
			
				No announcement yet.
				
			
				
	
Is there a way of uploading a page but hiding it from the navigation?
				
					Collapse
				
			
		
	X
- 
	
	
		
		
		
		
		
		
		
	
	
ok...I have a section and subsections HERE
that I wanted on my live site but hidden
Obviously it was appearing in the main Maternity section page so I navigated to my "standard subsection list" and INSIDE it (ie around ALL of its contents) put the following blockif
This prevents the section from appearing in the inner layout.Code:<actinic:variable name="SectionName" /> !="New Maternity Outfits"
Then, I had to tackle the collapso menu layout
 
I nearly chickened out several times..it's scary in there but after much (nearly 2 hours) trial and error (I'm fearless really LOL) I found something that worked.
Whether it's wholely correct or not, I don't know. But it
a) doesn't give me parsing errors (which a lot of things did)
b) blocks the section "New Maternity Outfits" AND it's subsections which meant using the following blockif
I have placed that blockif around 3 areas in the code to prevent it showing the section name, url and the little square icon in front (I managed to find other ways to block the section name, but it didn't remove the "button" or the + part)Code:(<actinic:variable name="SectionName" /> !="New Maternity Outfits") AND (<actinic:variable name="SectionName" /> !="Suits and Workwear") AND (<actinic:variable name="SectionName" /> !="Evening Wear") AND (<actinic:variable name="SectionName" /> !="Smart Casual Wear")
I wish I had an un-blockif-ed copy of what I editted so I could paste it in here without completely trashing it with the blockif... but basically, the section of the collapso 5 layout that starts
The following lines WERE (I hope I got this right, I've copied it to notepad and removed the blockif)Code:// show that previous item has sub-section if ( $onlyfinallinks ) $linkhref = '#';
and I have wrapped 3 blockifs around the <img> tag, the <a> tag and the <li> tag which has completely removed the section listing from my collapso menu.Code:$bits[0] = "<img class=\"hsi\" id=\"im_$linklevel" . "_$linkindex\" src=\"c-p.gif\"/>"; $bits[1] = "<a class=\"hsa$classadjust\" href=\"$linkhref\">$linkname</a>"; if ( $iconafter ) $bits = array_reverse($bits); echo "<li class=\"hsc\"><div>$bits[0]$iconspacer$bits[1]</div>"; }
Now there's a good chance that there's an easier way to do this..but this was what I came up with last night (when, with hindsight, I should have been in bed)
I'm also sure that this won't work for everyone as the settings for the menu in the "site options" probably dictate where in the collapso layout these blockifs need to be
Whether it's strictly right or not, I obviously don't know. but I do know that it works...as you can see HERE
oh..and having it unsearchable was a handy side-effect of not filling in the "size" variable in the section (which won't get filled in anyway for these sections....each associated product will be within the normal size sections of the store so the products will be searchable that way..much as my "Summer Specials" are)
I hope that made sense. I don't feel particularly coherent this morning.
If it doesn't make sense anywhere...just yell, I'll attempt to clarify!Tracey
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
Tracey,
Nothing to do with your woraround, but thought I might point this out. If you have 'Allow Searching By Sections' selected in 'Settings | Search Settings', then you will find that your sections have an additional checkbox on the General tab, "Include as Selectable Section on Search Page", this is selected by default. Unchecking removes it from the serch results.
Regards,Bruce King
SellerDeck
Comment
 
							
						
Comment