Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

How to get the target set to top frame or parent?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to get the target set to top frame or parent?
#4234
How to get the target set to top frame or parent? 13 Years, 11 Months ago Karma: 0
Hi,
I am caught in a bit of dilemma and need to use an iframe to display the menu. The main site menu works fine but I need to get set the target frame to parent or top for the inserted frame/menu in another site.
This is so that when a person clicks on the menu link on the foreign site the page opens the main site [ parent frame]
Is this easy to configure o ris it even feasable? and how would I do it if it is?
[I am attempting to insert an iframe into a PHPBB3 install so that the header and menu of the main site are displayed.]
Thanks in advance...
Scott
site: confest.bizzymate.com
click on the forum link in the menu
Last Edit: 2010/05/12 12:04 By ozziemate.
The administrator has disabled public write access.
 
#4240
Re:How to get the target set to top frame or parent? 13 Years, 11 Months ago Karma: 747
Hello,

Sorry, but we can't open your link. Could you check it? It's available for all external users?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#4244
Re:How to get the target set to top frame or parent? 13 Years, 11 Months ago Karma: 0
Strange the link posted above works fine for me... possibly a transient server issue?
The site is online and open to pubic view allthough only an obscure development subdomain. [ normally I have it off line using the offline feature from Joomla whilst the site developes]
Possibly the answer to my problem can be found in the Joomla software more so than with your extension. To be able to set menu link frame targets using the standard article creation /menu system.
Last Edit: 2010/05/12 22:19 By ozziemate.
The administrator has disabled public write access.
 
#4246
Re:How to get the target set to top frame or parent? 13 Years, 11 Months ago Karma: 747
You can modify <joomla_dir>/modules/mod_ariyuimenu/mod_ariyuimenu/templates/menu.html.php file. Find line #83 and change the following code:

Code:


$aAttr = array('class' => $hrefCssClass . ($isDisabled ? ' ' . $hrefDisabledCssClass : '') . ($isSelected ? ' ' . $hrefSelectedCssClass : ''));



to the following code:

Code:


$aAttr = array('target' => '_top', 'class' => $hrefCssClass . ($isDisabled ? ' ' . $hrefDisabledCssClass : '') . ($isSelected ? ' ' . $hrefSelectedCssClass : ''));



It should help.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#4248
Re:How to get the target set to top frame or parent? 13 Years, 11 Months ago Karma: 0
Thanks heaps!. Works really well. Simple hey? [ if you know what you are doing ] ahh one day maybe...
The administrator has disabled public write access.
 
Go to topPage: 1