1
tvn3015
Xoops 2.0.16 Custom block question?
  • 2007/7/22 4:18

  • tvn3015

  • Just popping in

  • Posts: 53

  • Since: 2007/4/18


I created some custom block for my left panel menu, everything is okay except when I click on the Item it will give me another window and another if I keep clicking. I am just wondering if there is any way to make the link on the custom block to displayed in the same "Main" window everytime? Thank you.

TVN
http://www.XoopsViet.com - Xoops for Vietnamese

2
maxxy
Re: Xoops 2.0.16 Custom block question?
  • 2007/7/22 4:41

  • maxxy

  • Quite a regular

  • Posts: 286

  • Since: 2007/6/11


is there any target="blank" in ur <a> ?

3
tvn3015
Re: Xoops 2.0.16 Custom block question?
  • 2007/7/22 4:55

  • tvn3015

  • Just popping in

  • Posts: 53

  • Since: 2007/4/18


Quote:

maxxy wrote:
is there any target="blank" in ur <a> ?


No there isn't! Show me how to add this using XOOPS custom Block?

Thanks

TVN
http://www.XoopsViet.com - Xoops for Vietnamese

4
altenergy
Re: Xoops 2.0.16 Custom block question?
  • 2007/7/22 14:34

  • altenergy

  • Just popping in

  • Posts: 44

  • Since: 2007/7/17


I had the same problem with a content module. I solved it by writing the whole: <a href="#">link</a>.
In that way it didn't appear.
Now, I checked your problem on my site, and it appeared to me that when you write the address, instead of the whole html link, it appears on blank page.
So next time, instead of writing:
https://xoops.org/
write: <a href="https://xoops.org/">123456</a>

Good day and success,
Ron.(;

5
Anonymous
Re: Xoops 2.0.16 Custom block question?
  • 2007/7/22 18:14

  • Anonymous

  • Posts: 0

  • Since:


If you set a link in a custom block using the text type code and set the block type to "Auto Format" then the link will open in a new window.

So far as I can tell, the text code doesn't work in custom blocks; shame, as this would do what you want.

Therefore, you'll have to construct your block using HTML code (rather than BB/xoops code) for the link, i.e.:

<a href="web address" target="_top">text</a>

The target="_top" bit will cause the page to open in the current window. Set the block type to "Auto Format" (with or without smilies makes no difference).

target"_self" should also work, but target="_blank" will cause the link to open in a new window.

HTH

6
tvn3015
Re: Xoops 2.0.16 Custom block question?
  • 2007/7/22 22:03

  • tvn3015

  • Just popping in

  • Posts: 53

  • Since: 2007/4/18


Thank you all for the reply, I got it working now by using the HTML code rather than the BB/xoops code.

TVN
http://www.XoopsViet.com - Xoops for Vietnamese

Login

Who's Online

198 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 198


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits