menu help - not opening in _blank

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
tex10

menu help - not opening in _blank

Post by tex10 »

im using the latest version of CMSMS and love it thus far.

while building a menu -- i came across this problem

ive got two buttons that are both just "links"

the first one does not have a parent, while the second does.

regardless, they are both set to open to "_blank" pages.

ONLY the SECOND one opens to a blank page ---- the first, which has no parent, does NOT.

not sure if the problem is related to it having a parent--- but that is the only differnece i see.

where do i go to manually edit the menu buttons?

thank you all!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

got a link...
how did they get set to _blank?...
usually when you have just a link and it is set to _blank it is from the top drop down that defaults to Content, in Content » Pages » Edit Page:/Add New Content page,, if you drop that list down it has a few options, the second one down is Link, i've set this on top level and second level Pages, if you choose Link it will change the look and give a lot of inputs that you can specify...

Content Type:  this says.. Link  the rest you know...

Title:

Menu Text:

Parent:

URL:

Target:    this is where you pick _blank

Active:

Show in Menu:

Title Attribute:

Tab Index:

Access Key:

Owner:

Additional Editors
tex10

Re: menu help - not opening in _blank

Post by tex10 »

sorry.  i got it.

instead of /photostore in the link field

i have to change it to http://www.mysite.com/photostore

thank you
tex10

Re: menu help - not opening in _blank

Post by tex10 »

ok. that stopped working.

now i really have no idea --

mark?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

this is what mine looks like...

Simpleviewer

yours...
Photo Store

some how this is not taking...
when you make a page the first thing on top is default...

Content Type:  Content

then you drop down and choose Link

then fill it in like so...


Content Type:  Link

Title: Photo Store

Menu Text: Photo Store

Parent: none  or under something if you want...

URL:  http://www.somesite.com/photostore  is photostore a folder or an actual file?

Target:    _blank

Active: checked

Show in Menu:  checked

you did go to make the page and changed the first one from Content to Link and filled it in like this right...
tex10

Re: menu help - not opening in _blank

Post by tex10 »

yes - that is exactly what i had. 

i just deleted it and did it again.  still same result.  the _blank is just not taking for some reason.

is there anywhere i can edit the menu manually?

thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

ok well the only other thing to do is try each one of the options in the Target: drop down...

is this a folder or is it an html file, if it is a file you might want to put the url as  http://www.somesite.com/photostore/

or  http://www.somesite.com/photostore/whateveritis.html

hope you get this figured out, let us know...
tex10

Re: menu help - not opening in _blank

Post by tex10 »

hmm. this isnt good.

ive tried all the options you suggested to no avail. 

i tried it as a folder and as the html file -- default.html

i even tried putting the button under a "parent" --- that didnt work either.

do i need to do another install of CMSMS?  or is there a certain file i can upload again?

i appreciate the help. this is really weird.  ill keep trying things.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

You can try making a copy of your template and then embeding that page in it.

I would also like to know the exact wording you are using for the URL:  http://www.somesite.com/photostore
any quotes or anything like that.

I've linked to other sites and other parts inside my site without a problem.

And one other thing you might try, at the top of the template there is a tag , {metadata}, remove this to see if it helps, it can be put back after you test it.
tex10

Re: menu help - not opening in _blank

Post by tex10 »

hmm still not working.  i tried the metadate trick too. nothing.

i even installed CMSMS again for another site - and the same problem exists.

ahh -- i just tried it with another template - and it worked fine.  so there is something wrong with the temple --- but i have no idea where to begin fixing that problem...

and the link that i used was "http://www.somesite.com/photostore/default.html"
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

Good investigative work, now I would look thru the menu CSS to see if it has some setting that is stopping this from working.

I'll look thru my copy.
tex10

Re: menu help - not opening in _blank

Post by tex10 »

ill try.  :-\ 

but i really dont even know what id be looking for...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

You could try and put this in the URL line.

URL:  http://www.somesite.com/photostore"  target="_blank

Note the " after photostore and only one " before  _blank

the page/URL maker will add the other one at the end otherwise it will be a malformed link.

It should come out like this .

  HopeThisHelps
tex10

Re: menu help - not opening in _blank

Post by tex10 »

hmmm good thought--- i tried the following to no avail

with "_blank" selected in target:

http://www.somesite.com/photostore"  target="_blank
http://www.somesite.com/photostore"  target="_blank"

then i tried them with "none" selected.

then i tried many other combos.  like
http://www.somesite.com/photostore" target="_blank  (one space, not two, between /photostore and target

then i tried putting the whole thing in


nothing worked. 


when looking at the properties of the link it never showed  "will open"  "in new window"

also, the link was just exactly what i typed in -- meaning that "target _blank" would show up, which i dont think should be there.

sorry to disappoint.  is it working when you use the template?  if so, please just send the .xml again and ill try uploading it again.

any other ideas?

many thanks...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu help - not opening in _blank

Post by Dr.CSS »

Have you tried putting the link on a page, and do you clear your browser cache in between tries?
Locked

Return to “Layout and Design (CSS & HTML)”