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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


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? 7 Years, 7 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 06:04 By ozziemate.
The administrator has disabled public write access.
 
#4240
Re:How to get the target set to top frame or parent? 7 Years, 7 Months ago Karma: 671
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? 7 Years, 7 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 16:19 By ozziemate.
The administrator has disabled public write access.
 
#4246
Re:How to get the target set to top frame or parent? 7 Years, 7 Months ago Karma: 671
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? 7 Years, 7 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