Pep Johnsonn
|
Posted: 12/15/2005, 4:14 AM |
|
Hello, CCS 3.0, php, mysql, and the "portal" example.
It works ok after modifying it a little bit, but one annoying thing:
- page Default.php (html), clicking any link on the footer or any event
(left column), they used to get loaded in the same window (_self) while now
it opens in a new window (_blank)
- tried both IE6 and Firefox, same thing
- it was working ok, I am not aware of changing anything related, but I
might be wrong (that has happened in the past...
Is there a method or a place where I can change this "behaviour" when I
click a link?
Thanks in advanced for your time
|
|
|
Pep Johnsonn
|
Posted: 12/15/2005, 8:36 AM |
|
"Pep Johnsonn" <pepitxispi@gmail.com> wrote in message
news:dnrmmf$e7$1@news.codecharge.com...
> Hello, CCS 3.0, php, mysql, and the "portal" example.
>
> It works ok after modifying it a little bit, but one annoying thing:
> - page Default.php (html), clicking any link on the footer or any event
> (left column), they used to get loaded in the same window (_self) while
> now it opens in a new window (_blank)
> - tried both IE6 and Firefox, same thing
> - it was working ok, I am not aware of changing anything related, but I
> might be wrong (that has happened in the past...
>
> Is there a method or a place where I can change this "behaviour" when I
> click a link?
>
> Thanks in advanced for your time
>
|
|
|
Pep Johnsonn
|
Posted: 12/15/2005, 8:37 AM |
|
Hello again,
the wierd thing is that only the first click opens up a new browser window
(_blank)...then, in the new window, all the clicks are open within the same
window (_self)
How can I change this through the program CCS?
pd: I can do it manually, one by one, adding: target="_self"
old (bad)
<td bgcolor="#ffffff"><font size="2" color="#010101" face="Tahoma, Verdana,
Helvetica, Arial"><img height="7" src="images/arrow00.jpg" width="11"
border="0"> <a href="{Link1_Src}">{Link1}</a> </font></td>
new (good)
<td bgcolor="#ffffff"><font size="2" color="#010101" face="Tahoma, Verdana,
Helvetica, Arial"><img height="7" src="images/arrow00.jpg" width="11"
border="0"> <a href="{Link1_Src}"
target="_self">{Link1}</a> </font></td>
just added
target="_self"
Can I make CCS to do it automatically (the default "portal" example does
originally what I wnt to do now)
Thanks
"Pep Johnsonn" <pepitxispi@gmail.com> wrote in message
news:dnrmmf$e7$1@news.codecharge.com...
> Hello, CCS 3.0, php, mysql, and the "portal" example.
>
> It works ok after modifying it a little bit, but one annoying thing:
> - page Default.php (html), clicking any link on the footer or any event
> (left column), they used to get loaded in the same window (_self) while
> now it opens in a new window (_blank)
> - tried both IE6 and Firefox, same thing
> - it was working ok, I am not aware of changing anything related, but I
> might be wrong (that has happened in the past...
>
> Is there a method or a place where I can change this "behaviour" when I
> click a link?
>
> Thanks in advanced for your time
>
|
|
|
peterr
Posts: 5971
|
Posted: 12/15/2005, 3:38 PM |
|
The links target frame can be changed in "Href Source" property, on the "Advanced" tab.
BTW, if a link opens up a new browser window only the first time then it means that the target frame is neither (_blank) or (_self), but the name of a window to open.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Pep Johnsonn
|
Posted: 12/16/2005, 8:57 AM |
|
Hello, and thanks for your reply. Some comment below.
"""> The links target frame can be changed in "Href Source" property, on the
> "Advanced" tab."""
yes, that works, but it is the same as if I do it manually adding the code
(more comfortable, though).
-Can I do it for the whole site "in one shot"? (portal ccs example)
-What about for the Link Navigator in the middle of the page ("Default")? I
donīt see, for now, still working on it, any "Href Source" property
here...manually only choice?
-Same thing for the search button on the top left part of the page "Default"
- I set the "Default" page properties to >>target frame = _self however
looks like it is not obedient...
"""> BTW, if a link opens up a new browser window only the first time then
it means
> that the target frame is neither (_blank) or (_self), but the name of a
> window
> to open"""
you are right again, nothing written in "advanced" tab...
However...the ccs example was working ok (mostly everything but the "links"
set to _self)....how it did become to _blank?? I have "recreated" the
Portal example from scratch, and for instance the "Events" link Href Source,
advance tab is empty too, but when I click the Events links...I go _self
Is it possible to state everything in the whole site to go "_self" in one
shot?
I am checking the manuals and stuff, but I did not come up with an answer..
Thanks for your time and patience!!
"peterr" <peterr@forum.codecharge> wrote in message
news:443a1fe667d0aa@news.codecharge.com...
> The links target frame can be changed in "Href Source" property, on the
> "Advanced" tab.
>
> BTW, if a link opens up a new browser window only the first time then it
> means
> that the target frame is neither (_blank) or (_self), but the name of a
> window
> to open.
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
peterr
Posts: 5971
|
Posted: 12/16/2005, 11:30 AM |
|
Sorry but I don't fully understand what happened.
Are you saying that all your pages have changed somehow and now all your links have the "_blank" attribute set for them? Or they don't have "_blank" attribute but they open in new windows anyway?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Pep Johnsonn
|
Posted: 12/16/2005, 12:06 PM |
|
Hi again,
yes (the second choice), for instance, any link that I click on the Default
page of the project (Portal) opens in a new window for the first time (they
donīt have any kind of attibutes set, neither _blank nor _self), then, in
the new browser window, every link that I can click on goes _self (with the
same attributes as before!!, none!!)
Check it out @ http://www.cp2web.com/U_52_01/Default.php Right now,
"search" and "events" have been manually modified adding _self to the html
code, but try to click on any link in the footer or the navigator at the
bottom of thr articles column-->new window open-->in the new window, click
anywhere and it will go _self. (!?)
The whole page (not project) property for target frame is set to _self. (CCS
Page Properties)
The same thing happened to me some time ago, all the links in the site (not
only those database related, but all of them wen _blank without apparent
interference from my part...a lot of time spent manually changing the html
code where needed... (http://www.aetess.com even the links of the sponsors
(right-up in the Home page) went _blank. This one was made with CCS
2.something.
Thanks for your time and patience
"peterr" <peterr@forum.codecharge> wrote in message
news:443a315ce10256@news.codecharge.com...
> Sorry but I don't fully understand what happened.
> Are you saying that all your pages have changed somehow and now all your
> links
> have the "_blank" attribute set for them? Or they don't have "_blank"
> attribute
> but they open in new windows anyway?
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
Pep Johnsonn
|
Posted: 12/20/2005, 12:19 AM |
|
Could it be that adding flash (macromedia) to the header, it screws up the links?
|
|
|
peterr
Posts: 5971
|
Posted: 12/20/2005, 2:14 AM |
|
Probably not. But there could be something else in the Header that causes it.
Anyway, since this is what you suspect then I recommend that you test it. Just temporarily remove the header and check if the problem disappears.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|
|
|
|
|