problem with {NAV_TABLE_COLUMN}
problem with {NAV_TABLE_COLUMN}
i have this problem with {NAV_TABLE_COLUMN} and I'm not sure whats going on really... The page loads but then if you move the mouse over it i will see the javascript error icon in the bottom right in the status bar.. it always seems to be "Object Expected" in line 70 errors.. I notice my menu doesn't highlight like the one on the phpwcms site either.. so I'm thinking this has something to do with it. The menu actually works for me.. but I think something is quite right. any help with this is appreciated. thanks
-
Pappnase
your always quick pappnase
thanks.
I don't think so.. it is a fairly new install... but so far I did notice that date_long was coming out in the wrong language. When I went and looked there was no EN lang file for the date_long function.. so I just edited the DE one to be in english. I checked the original unpacking here on my local drive and there never was an EN lang file for that so I'm thinking it was an oversite or something in the release maybe?? anyway where should I look to see if I actually am missing files in the directory structure?
I don't think so.. it is a fairly new install... but so far I did notice that date_long was coming out in the wrong language. When I went and looked there was no EN lang file for the date_long function.. so I just edited the DE one to be in english. I checked the original unpacking here on my local drive and there never was an EN lang file for that so I'm thinking it was an oversite or something in the release maybe?? anyway where should I look to see if I actually am missing files in the directory structure?
-
Pappnase
hmm.. i just redownloaded the latest full package of phpwcms and after unpacking it there is no en.date.lang.php file in there either. So im thinking its just not in the release. ALso, i looked at the phpwcms_nav.js script and it seems to reference like so:
and i looked and I dont have that sub dir nor is it in the archive. I do have a sub dir called "subnav" under img/ but not one called nav. WHere do i get this dir and its contents or do I really need it at all
Code: Select all
var picpath = "img/nav/"; //define image path location- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
-
Pappnase
hellocRYOa wrote:hmm.. i just redownloaded the latest full package of phpwcms and after unpacking it there is no en.date.lang.php file in there either. So im thinking its just not in the release. ALso, i looked at the phpwcms_nav.js script and it seems to reference like so:and i looked and I dont have that sub dir nor is it in the archive. I do have a sub dir called "subnav" under img/ but not one called nav. WHere do i get this dir and its contents or do I really need it at allCode: Select all
var picpath = "img/nav/"; //define image path location
i have also no en lang file so the dates must be in the code from oliver!
leave the pic path at it is! at my test installation everythink works fine!
can you send me the link to your site!? mybe if i see the error i will see more!?
as you can see when you click the url the enf: date long will work!
http://test.fhss.de/index.php?id=0,8,0,0,1,0
Well i looked at the rendered code for my page and the four lines look like this:
And the i also took a peek at Olivers rendered page here on the phpwcms site and his looks a bit different. One of his lines looks like this:
It's order is a different.. but the one thing i noticed was that my 'linkid' parts lack the suffix extension ".src" like his have. Am I off base here?
Code: Select all
<tr bgcolor="#D9DEE3" style="cursor:pointer;cursor:hand;" onClick="location.href='index.php?_wjx';" onMouseOver="MM_swapImage('linkidbD1yic','','img/article/nav_link_1.gif',1);this.bgColor='#D3ED7D';" onMouseOut="MM_swapImgRestore();this.bgColor='#D9DEE3';">
<tr bgcolor="#D9DEE3" style="cursor:pointer;cursor:hand;" onClick="location.href='index.php?id=1,0,0,1,0,0';" onMouseOver="MM_swapImage('linkidhJuGFV','','img/article/nav_link_1.gif',1);this.bgColor='#D3ED7D';" onMouseOut="MM_swapImgRestore();this.bgColor='#D9DEE3';">
<tr bgcolor="#D9DEE3" style="cursor:pointer;cursor:hand;" onClick="location.href='index.php?_jc7';" onMouseOver="MM_swapImage('linkidOZNhkt','','img/article/nav_link_1.gif',1);this.bgColor='#D3ED7D';" onMouseOut="MM_swapImgRestore();this.bgColor='#D9DEE3';">
<tr bgcolor="#D9DEE3" style="cursor:pointer;cursor:hand;" onClick="location.href='index.php?_2se';" onMouseOver="MM_swapImage('linkidJdd01f','','img/article/nav_link_1.gif',1);this.bgColor='#D3ED7D';" onMouseOut="MM_swapImgRestore();this.bgColor='#D9DEE3';">
Code: Select all
<tr bgcolor="#D9DEE3" onClick="location.href='index.php?id=1,0,0,1,0,0';" onMouseOver="this.bgColor='#D3ED7D';this.style.cursor='pointer';linkidfoudMk.src='img/article/nav_link_1.gif';" onMouseOut="this.bgColor='#D9DEE3';linkidfoudMk.src='img/article/nav_link_0.gif';">
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Hi cRYOa
With regards to the long date a setting on line 159 of /include/inc_conf/conf.template_default.inc.php can be adjusted:
I would guess the distinction between Oliver's and your page's code is that the phpwcms site was designed before the system incorporated the MM_SwapImg function that automatically handles .src expressions.
And just a guess............the img/nav is for a future release of phpwcms by Oliver. The javascript object error, has me stumped a little, it may be the object references (MM_findObj), in the the frontend.js, are not getting defined...might want to check the path to frontend.js.
Just a few thoughts.
cheers,
jsw
Code: Select all
line 159: $template_default["date"]["language"] = "EN"; // DE=German, IT=Italian, FR=FrenchAnd just a guess............the img/nav is for a future release of phpwcms by Oliver. The javascript object error, has me stumped a little, it may be the object references (MM_findObj), in the the frontend.js, are not getting defined...might want to check the path to frontend.js.
Just a few thoughts.
cheers,
jsw
Ok following the path check advice.. this is what the path looks like.. which normally i think should be fine.
but i noticed rollover effect seem fine in the admin/article area.. so i look at that
I would like to try and remove the "./" from in front of the frontend.js path and see what that does.. where do I go to do that?
Code: Select all
<script src="./phpwcms_template/inc_js/frontend.js" type="text/javascript"></script>Code: Select all
<script src="include/inc_js/phpwcms.js" type="text/javascript"></script>- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact: