1
tapioca
Open Link in the center of the page
  • 2007/3/31 16:02

  • tapioca

  • Just popping in

  • Posts: 13

  • Since: 2006/12/15


Hello,

I have added an item to the main menu by modifying the template, but I can't find a way to open it in the block in the center. It displays in a new page.

Here is the line I added :
      
<
class="menuMain" href="<{$xoops_url}>/modules/NPGoogleMaps/">Cartea>


Thanks in advance for your help.

2
BlueStocking
Re: Open Link in the center of the page

Taking your code and applying it to opening a parent frame code, in frontpage maybe you can see how to adjust it to call the "CenterBlock" instead of "parent" you want to open it in with the target = command.

<class="menuMain" href="<{$xoops_url}>/modules/NPGoogleMaps/" target="_parent">Cartea>


A BlueStocking guest_i_mate!
hardhunting.com
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

3
tapioca
Re: Open Link in the center of the page
  • 2007/3/31 18:40

  • tapioca

  • Just popping in

  • Posts: 13

  • Since: 2006/12/15


Well; I am not sure to understand, because the XOOPS page do not contain frames if I look at thc sour code of the page displayed, nothing in the href indicates that it mus be displayed on a frame

Html generated for standard menu item by xoops
href="http://nikonpassion.free.fr/test_site/modules/smartsection/">Les dossiers Nikon Passiona>


The item I added whith different "target" and with no target specified
<class="menuMain" href="http://nikonpassion.free.fr/test_site/modules/NPGoogleMaps/" target="_centerRcolumn">Carte des Membresa>

4
BlueStocking
Re: Open Link in the center of the page

Send me the link to the page where you have the main menu now. Your site address. I will take a look at the generated html when I do a save file as onto my computer.

Then I might see how the link can be passed to the center block to help you more.
_________________
Nevermind.. I have the site link, just needed to apply myself. http://nikonpassion.free.fr

ooops, it is private.
I don't have the site link...
_________________


IF ANYONE KNOWS HOW to do this, please jump in here now and give us benefit of your knowledge.


Thanks,
BlueStocking
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

5
tapioca
Re: Open Link in the center of the page
  • 2007/3/31 19:19

  • tapioca

  • Just popping in

  • Posts: 13

  • Since: 2006/12/15


Site is http://nikonpassion.free.fr/test_site/

and look at the "menu principal" (top left) the bottom item is the one I added trhough the system admin panel in the template.

The other items open in the center block but not this one. This items are generated by XOOPS and relate to the modules installed.

thanks for your help

6
BlueStocking
Re: Open Link in the center of the page

Resolved in last post

BlueStocking
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

7
tapioca
Re: Open Link in the center of the page
  • 2007/3/31 21:18

  • tapioca

  • Just popping in

  • Posts: 13

  • Since: 2006/12/15


Hello,

It doesn't work. The class is related to the style to be applied to the text "carte des membres" not to the link to be opened.

Thanks anyway.

If there were a way to add this link as a new XOOPS module then building of the menu would be handled by the system and so the display.

8
BlueStocking
Re: Open Link in the center of the page

Resolved in last post
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

9
BlueStocking
Re: Open Link in the center of the page

Resolved in last post
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

10
tapioca
Re: Open Link in the center of the page
  • 2007/4/1 7:03

  • tapioca

  • Just popping in

  • Posts: 13

  • Since: 2006/12/15


Hello BlueStocking,

Modifying the tables may be a good way to do that. I am going to explore it.

Thanks very much for the time you have spent for my problem.

Login

Who's Online

178 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

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

Latest GitHub Commits