0
Welcome Guest! Login
0 items Join Now

Problem with a bit of code--- iframe

  • Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • I am playing around a bit and am trying to display some info on my site using the following bit of code:

      <iframe src=" carljohnson.point2agent.com/Listing/Listings2Go.aspx " width="600" height="400" marginheight="0" marginwidth="0" />

      However, Joomla does not seem to like it and will give me the error "You don't have permission to access /administrator/index2.php on this server." when I try to save the content.

      If I remove the iframe reference it saves it but I do not get the desired effect. I am trying to display the above either in a content item or a module but neither works.

      Any help on this would be appreciated.
    • Carl Johnson

      “An investment in knowledge always pays the best interest.”
      -Benjamin Franklin
  • Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • Have you tried this

      under the menu manager (probably for mainmenu) click 'new' to create a new menu item.

      Then on the left hand side under the 'miscellaneous' heading select 'wrapper' and put your link in there.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • yeah, I was gonna recommend the same thing that Daniel just recommended. Your file is ASP.NET based and is a competing language with with PHP. Creating a .asp webpage on a server using ASP.NET and wrapping it into Joomla is really the best way.

      Wage
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
  • Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • I tried your suggestion and when I try to save the new menu item I still get the following

      "You don't have permission to access /administrator/index2.php on this server."

      I do not understand this error as I should have proper permissions since I can create and save items normally. For some reason it does not like something in the code.....I guess???

      An thoughts

      Thanks
    • Carl Johnson

      “An investment in knowledge always pays the best interest.”
      -Benjamin Franklin
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • are you trying to run it on a PHP/MySQL based server??

      That code has to be run on a Window's server using ASP.NET
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
  • Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • I got it to work in a wrapper as you suggested. It still does not like having Iframe in the link. I guess that makes sense.

      I would like to put this info on my home page mixed with other info. Is there any way to do this. Perhaps in a module??
    • Carl Johnson

      “An investment in knowledge always pays the best interest.”
      -Benjamin Franklin
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • Yeah, wrappers only work with urls and you can't add any special instructions.
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
  • Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • There is a wrapper module somewhere I think.

      BTW The wrapper itself is an iframe and you can set most of the parameters you set above.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
    • phlux0r's Avatar
    • phlux0r
    • Sr. Rocketeer
    • Posts: 199
    • Thanks: 0

    Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • Carl Johnson wrote:
      I am playing around a bit and am trying to display some info on my site using the following bit of code:

      <iframe src=" carljohnson.point2agent.com/Listing/Listings2Go.aspx " width="600" height="400" marginheight="0" marginwidth="0" />

      However, Joomla does not seem to like it and will give me the error "You don't have permission to access /administrator/index2.php on this server." when I try to save the content.

      If I remove the iframe reference it saves it but I do not get the desired effect. I am trying to display the above either in a content item or a module but neither works.

      Any help on this would be appreciated.

      I've just successfully inserted that very iFrame HTML into a content item on my play Joomla site. Works fine... I only switched off the WYSIWYG editor and put the code into the Main Text. I'd imagine it'd work in the Intro Text as well.
  • Re: Problem with a bit of code--- iframe

    Posted 17 years 9 months ago
    • Thank you all for the comments. I will play a bit more with it to see what I can do.
    • Carl Johnson

      “An investment in knowledge always pays the best interest.”
      -Benjamin Franklin

Time to create page: 0.164 seconds