View Full Version : Could someone PLEASE help me out?
essential1
14-May-2004, 07:39 PM
Hi All,
I have all but finished my 2nd Actinic site but have a tag showing at the top of the page that I cannot track down what to delete.
Could someone please check out the link below and tell me where I delete the ---> showing at the top of the page.
This template was created using the actinic_primary.htm altered and saved as actinic_primary_CC.htm.
I can see the line of code I need to vary, greyed out in this template. Can anyone tell me where I find the original to edit?
Any help would be much appreciated.
http://3dpicturesculpture.com/acatalog/Card_Creations.html
Thank you
Brian H
Hi Brian,
If you open up your actinic_primary.htm or your actinic_primary_CC.htm. if thats whats in use within a text editor like notepad.
Search for: 'var nLevel = 1;' (without the '&')
I think you'll find that the --> in question is 4 lines down.
try that, you can always put it back again.
Let us know.
Simon
essential1
14-May-2004, 08:22 PM
Thanks Simon,
I'll check it put & keep you posted.
Brian H
essential1
15-May-2004, 06:57 AM
Hi Simon, I've done a serach in notepad for 'var nLevel = 1; and it says it doesn't exist in Act_Primary_CC.html.
Any other thoughts?
Brian
Hi Brian,
I guess you have copied and pasted the line from the forum
'var nLevel = 1;
See the ' at the beginning? it shouldn't be there, try doing the same but with this line
var nLevel = 1;
again the --> is 4 lines down or
search for:
to save and load shopping lists
and the --> is 4 lines up.
That should find it, failing that you could attach the file and I'll edit it for you. (Back it up first so that any problems can be fixed).
The --> is the end of a comment out i.e there is no <--- at the beginning, you must have removed something that you didn't want but left the closing --> behind.
essential1
16-May-2004, 03:02 PM
Hi Simon,
thanks once again. I can see where you mean but there doesn't appear to be a --> that doesn't need to be there. I've checked it with the Act_Primary.htm and that section appear to be identical.
I've attached the file and if you did have a chance to check it out that would be great.
Really appreciate your help.
Thank you
Brian
Hi Brian,
Sorry about the long delay in replying, I'm only getting a chance to check this forum once a day at the moment.
Well thats my theory out of the windows then. You are correct, it does not appear in the attached file and all seems normal.
My next guess would be that it is in a template that is called up by the primary template.
I would check the Act_Header.html file etc.
This would not explain why the problem is not apparent in your 3d picture sculpture sections.
I guess the change you made was the different title image.
It is obviously somewhere but tracking it down is the problem, its a matter of illimination.
1)Out of curiosity, do you still get the problem if you select the standard Act_Primary file (or the one you are using for 3d picture sculptures). As the one used for the card creations section.
2)Were the changes you made to the actinic_primary_CC.htm just the change of the title image? or were there more alterations?
garyhay
17-May-2004, 09:00 AM
If you go to Design > Options > Misc. you will see a checkbox for Compact HTML. Make sure this is unchecked so the generated HTML has all the Actinic commentc in it.
This will let you know which template has the rouge code.
essential1
17-May-2004, 09:07 AM
Hi Gary,
thank you for your assistance. I'll check it out and keep you posted.
Thanks
Brian H
cdicken
17-May-2004, 03:44 PM
Look for NETQUOTEVAR:SECTIONLEVEL. That is the variable that casues the rogue text you describe.
essential1
17-May-2004, 04:14 PM
Thanks Chris,
I'm investigating and will keep you posted.
Brian H
leej
21-May-2004, 03:25 PM
Brian,
Did the answer that Chris give work? The reason I ask is that I have exactly the same problem.
http://www.onlinediscountdrugs.com/acatalog
Any pointer would help
essential1
21-May-2004, 04:04 PM
Hi Lee,
hasn't sorted it so far.
I can't locate that line of code. or a stray -->
When I saved the edited original Act_primary as a 2nd Template
there was a line of code, plus the --> showing at the top of the page. I must have removed the code but left behind the stray -->.
I have tried recreating the 2nd page from the original Act_primary template to see if it will give me the line of code as well, but so far, no good.
Sorry that this wasn't the answer you were hoping for.
R
Brian H
cdicken
21-May-2004, 04:17 PM
It's something to do with the following code in Act_Primary...<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:TOPLEVELSECTIONS_RAW
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
NETQUOTEVAR:TOPLEVELSECTIONS_URLS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR:SECTIONLEVEL
--> I suggest just getting rid of it.
essential1
21-May-2004, 04:24 PM
Hi Chris,
thanks for your on-going help.
R
Brian H
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.