Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Something wit Aer theme

Asked Modified Viewed 2,476 times
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
asked
Member

When I try to open my Pro banner infusion in the Aer theme, it looks... ehm... broken... :)

I don't have this with any other theme.

www.fmbel.be/images/aer_infusion.PNG
0 replies

16 posts

M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

do you really have this with no other theme, e.g. Phos or 2point0?
I would guess its a missing or additional </div> in your panel code. This should have similar effects in other div themes though.
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

I noticed a break up of tables in one of my infusions where the page is built entirely in traditional html tables without any <div>'s. I cannot get my finger behind it where there might be an error.
0 replies
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Quote

Matonor wrote:
do you really have this with no other theme, e.g. Phos or 2point0?
I would guess its a missing or additional </div> in your panel code. This should have similar effects in other div themes though.


I tried every other standard theme, no problems. Only with Aer.

Btw, I'm not saying it is an Aer bug, as I don't have problems with the theme except there.
But it' strange I only have this with Aer.
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Quote

muscapaul wrote:
I noticed a break up of tables in one of my infusions where the page is built entirely in traditional html tables without any <div>'s. I cannot get my finger behind it where there might be an error.

And I have it in all three themes: Aer, 0point2 and Phos.
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

That's really strange digifredje. All my v7 themes use roughly the same basic structure so if it breakes in one it should break others as well.
Can you please create a test account on your site for me with the necessary priviledges to access the faulty page?
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

FYI:www.muscapaul.com/downloads/theme_error.jpg
0 replies
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Quote

Matonor wrote:
That's really strange digifredje. All my v7 themes use roughly the same basic structure so if it breakes in one it should break others as well.
Can you please create a test account on your site for me with the necessary priviledges to access the faulty page?


PM send
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Can you attach the file infusions/pro_banner_panel/admin/index.php please?
0 replies
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Quote

Matonor wrote:
Can you attach the file infusions/pro_banner_panel/admin/index.php please?


Mail send...
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

try this.
change this part in index.php from:
<script type='text/javascript'>
  function banner_types(banner_c_id) {
   if (banner_c_id == 0) {
      banner_id_0.style.display = 'block';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 1) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'block';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 2) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'block';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 3) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'block';
    }
  }
  </script>
  <script type='text/javascript'>
        function popup(url, title,w,h) {
       var left = (screen.width/2)-(w/2);
       var top = (screen.height/2)-(h/2);
       var targetWin = window.open (url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
      }</script>

to:

to:
$script = "<script type='text/javascript'>
  function banner_types(banner_c_id) {
   if (banner_c_id == 0) {
      banner_id_0.style.display = 'block';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 1) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'block';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 2) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'block';
      banner_id_3.style.display = 'none';
    } else if (banner_c_id == 3) {
      banner_id_0.style.display = 'none';
      banner_id_1.style.display = 'none';
      banner_id_2.style.display = 'none';
      banner_id_3.style.display = 'block';
    }
  }
  </script>
  <script type='text/javascript'>
        function popup(url, title,w,h) {
       var left = (screen.width/2)-(w/2);
       var top = (screen.height/2)-(h/2);
       var targetWin = window.open (url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
      }</script>\n";
add_to_head($script);

and move it further down to somewgere after this line:
require_once THEMES."templates/admin_header.php";
I'm not sure if that really is the problem but it might destroy output handling and thus the theme system. I wonder why it onyl affects Aer theme though. it's worth a try.
Edited by Matonor on 22-07-2008 20:18,
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Max, when you look at my screenshot, then you'll see that Aer behaved diffrently from 0point2 and Phos (these have the same kind of mangled display).
0 replies
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Quote

Matonor wrote:
try this.
...
I'm not sure if that really is the problem but it might destroy output handling and thus the theme system. I wonder why it onyl affects Aer theme though. it's worth a try.


It's no longer messing up the layout now, but now the code (selecting a banner type) doesn't work any more (under FF3).
That was the reason why we had that script on top in the first place...
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

check the source code and see if the code is present in the html head (it should be)
0 replies
D
digifredje
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Quote

Matonor wrote:
check the source code and see if the code is present in the html head (it should be)


The script is in the header.
It works fine in IE, but not in Firefox 3...

With the script on top, it works fine in both, but not with aer theme...

Pfff, complicated... :)
Edited by digifredje on 22-07-2008 21:55,
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

@muscapaul: try the latest svn. in some themes the container div properties were set two times, overwriting the correct one with the older version.
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Sorry, no joy...
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 16 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

M
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
M
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
D
D
  • Member, joined since
  • Contributed 77 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet