View Full Version : notepad
hilary
12-Jun-2003, 10:00 AM
When I try to use NOTEPAD to change files I am having problems sometimes will not save my new instructions.
(-Wants to save file as text not HTML)
Please help
I am not using developer software- just your regular ver 6 catalog.
Hilary
garyhay
12-Jun-2003, 10:19 AM
You need to chosse all files when saving then make sure you have typed .html as the extension
I-CC
12-Jun-2003, 12:05 PM
If you are simply overwriting the content of the original file, i.e. opening it up within Notepad and making a few changes, then just simply click the Close "X" situated in the top right hand corner of Notepad and select yes to oevrwrite. This way it does away with file, save etc etc...
Hope it helps...
hilary
12-Jun-2003, 12:06 PM
what do you mean?
I open source code in notepad
Change it
save in same directory with same file name
BUT when I open it up again changes are not reflected in file
Hilary
I-CC
12-Jun-2003, 12:21 PM
If you opened the file up within Notepad, made your changes and then just click the X in the top right hand corner of Notepad, and then select Yes to overwrite the original file, then this should work fine and save on the file | save process...
Does it not work on your system, strange if that is the case...
I-CC
12-Jun-2003, 12:34 PM
If it is still happening you might want to explore the Site1 folder and ensure that your files are not read only maybe. Right click on the file you are trying to amend and click properties and see what the read only checkbox states.
Just an idea..
hilary
12-Jun-2003, 12:35 PM
Hi again,
sorry to go over this again but I am still having problems.
I can make changes to the html file if I View the Source code from the web page or if I go to the file direct, saving them as you described. These changes are reflected in the web view when I save them and refresh them. However when I close down the source page then make a change using the Actinic front end, my changes are lost, only the changes made in Actinic are shown with my changes gone.
I hope this makes sense!
Thanks for your help.
Hilary
hilary
12-Jun-2003, 12:36 PM
PS Files are not Read only
hilary
12-Jun-2003, 12:39 PM
Just a thought.
I have been changing P_SiteRoot_index.html in the PreviewHTML folder. Is this the right file to be manually changing?
Thanks
I-CC
12-Jun-2003, 01:23 PM
Ahhhhh, nope afraid not...
Go into: Advanced | Template Manager and there you will find a load of tabs that holds buttons for all of the templates that produces the end resultant pages.
The page you have been changing is what the Actinic software generates from the templates I have listed above.
All the best....
hilary
12-Jun-2003, 02:51 PM
Hello again,
Just to clarify, which of the templates should I be altering to add in my own html code to the main homepage?
Thanks for all your help.
I-CC
12-Jun-2003, 02:55 PM
The home page is the Act_Brochure_Primary normally, that is assuming that you are talking about the page shown at www.yourdomain.co.uk and not www.yourdomain.co.uk/acatalog which if that is what you want, then Act_primary
All the best
hilary
12-Jun-2003, 03:42 PM
Hi again,
Thanks, your fix did work and I can now make the changes in the template and see them on the web. However, since it was the template I changed, the changes are made in all the pages (except the catalogue pages) and I only want them on the one main page.
Any ideas?
Thanks again!
Hilary
I-CC
12-Jun-2003, 03:55 PM
Save the Brochure page as a new filename within the Site1 folder of say "Act_Brochure_Root.html" which contains your custom bit of extra code, then add this new filename to the layout property of the Home brochure page settings.
Then remove the custom bit of code from the original Act_Brochure.html template so that it is as it was to start with.
Hope it helps..........
hilary
13-Jun-2003, 11:11 AM
Could you tell me where the layout property of the Home brochure page settings is? Hopefully then that'll be me away!
This has turned out to be much more complicated than I first thought. Thanks for your help and patience!
Hilary
I-CC
13-Jun-2003, 11:15 AM
Go into: Advanced | Templates | Brochure tab and the Primary button will bring up the default Brochure template...
All the best......
hilary
13-Jun-2003, 12:10 PM
Yeah, this is the file I have been changing, but I don't see how to add a filename to the layout properties, or where the settings are.
:)
I-CC
13-Jun-2003, 12:18 PM
You have to programme in HTML.
Basically, you need to find the location within the template that you want your image to be position and then program in the html to show the image, i.e. <IMG SRC="filename.gif" BORDER="0" HEIGHT="??" WIDTH="??"> and make sure that the image is within the Site1 folder so that it is previewed ok and uploaded by the Actinic software....
Hope it helps, but this is the main way of customising your templates, so if you think you are going to be having problems, then maybe try a good html book, the Advanced User Guide maybe that is on the Actinic website..
hilary
13-Jun-2003, 01:48 PM
Hi,
I have programmed a table in html with images and links to other pages made with Actinic. I want this to be seen only on the main page. I have it positioned within the template at the correct location, in amongst the Actinic code - the images and links work fine at the moment.
The problem is that since this is a template it is on every page that uses this template. You said to create a new filename with my code in it, which is fine and then add it to this template - this is my problem now. I can't see the settings on how to add extra files to a template and to ensure they are only loaded on to one page.
Thanks again for your input!
I-CC
13-Jun-2003, 01:55 PM
Have you changed the Home page layout only to the new template containing your image.
Check that only the home page is using your amended brochure template and then make sure all other brochure pages are using the non amended brochure template.
You can in effect have hundreds of different brochure templates with all of them having a different set up, for example, take a look at www.theflyingpiguk.com. This uses a different brochure template for each of the home, delivery, about, price promise pages which enables the different images at the head of each main content area.
Check those layout choices within the brochures and I am sure you will end up with the image in just one and all the others without it.
All the best....
hilary
13-Jun-2003, 02:20 PM
:D
Fantastic - this works a treat, thanks for you help and patience.
I now have a better understanding of how Actinic links together and the calls that it makes in the html templates to the information from the front end. I'll use this template manipulation in the future.
Thanx!
Hilary
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.