Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
pathing problems

 

 


tgallman
New User

Nov 28, 2006, 6:43 PM

Post #1 of 4 (626 views)
Shortcut
pathing problems Can't Post

I hope someone can help me because I am getting so frustrated. I am stuck still making basic changes to the stylesheet and to a javascript drop-down menu. I am editing my templates and can't seem to figure out why my changes aren't being recognized. Ross pointed out that I should check my pathing and change, so I made most all my paths absolute and ftp'd and re-published again, but the changes aren't there. I am confused as to whether or not I am supposed to be making changes to the shtml files or just the template files, because I began seeing my changes once I pasted my javascript files (for my drop-down menu) in the "publish" directory. (I have probably changed something on the template that I shouldn't have like a placeholder or something.) Please help!

If you need to view my source code, it is below:

Frontpage is here: http://www.citizensagainstmeth.org/artman2/publish/

stylesheet is here: http://www.citizensagainstmeth.org/artman2/publish/styleSheet.css

Thanks for any help!


dbramley
User

Nov 29, 2006, 7:58 AM

Post #2 of 4 (617 views)
Shortcut
Re: [tgallman] pathing problems [In reply to] Can't Post

Hi,
Although only a week-old user myself I think I know what you mean so;

From looking at the source of your index page it appears a bit of your code is wrong.

In the header section you need to change:

<link href="$published.styleSheet.http://www.citizensagainstmeth.org/cgi/artman2/templates/singlePages/header.html$" rel="stylesheet" type="text/css" />

to
<link href="$published.styleSheet.webpath$" rel="stylesheet" type="text/css" />

This will then automatically pull in your style sheet from the 'published rules' > 'style sheet' section in the administrator control panel.

That should sort your style issue out.

The only pages you should edit are in the cgi-bin/artman2/templates section. After you have made a change to a template, upload it to your webserver to the exact place you got it from. Then go into the admin > publishing section and publish the appropriate rule. This should then update all your pages with your new template.

hope that helps!
[hr] 
[url "http://www.thisisstockton.co.uk"]Stockton on Tees[/url] | [url "http://www.thisishartlepool.co.uk"]Hartlepool[/url] | [url "http://www.thisismiddlesbrough.com"]Middlesbrough[/url] | [url "http://www.thisissunderland.com"]Sunderland[/url] 


tgallman
New User

Nov 29, 2006, 9:26 AM

Post #3 of 4 (612 views)
Shortcut
Re: [dbramley] pathing problems [In reply to] Can't Post


In Reply To
Hi,
Although only a week-old user myself I think I know what you mean so;

From looking at the source of your index page it appears a bit of your code is wrong.

In the header section you need to change:

<link href="$published.styleSheet.http://www.citizensagainstmeth.org/cgi/artman2/templates/singlePages/header.html$" rel="stylesheet" type="text/css" />

to
<link href="$published.styleSheet.webpath$" rel="stylesheet" type="text/css" />

This will then automatically pull in your style sheet from the 'published rules' > 'style sheet' section in the administrator control panel.

That should sort your style issue out.

The only pages you should edit are in the cgi-bin/artman2/templates section. After you have made a change to a template, upload it to your webserver to the exact place you got it from. Then go into the admin > publishing section and publish the appropriate rule. This should then update all your pages with your new template.

hope that helps!



ross
Staff / Moderator


Nov 29, 2006, 4:53 PM

Post #4 of 4 (600 views)
Shortcut
Re: [tgallman] pathing problems [In reply to] Can't Post

Hi there.

I wasn't sure if dbramley's post had got you going or not so I just wanted to post a couple more ideas I had for you. Thanks, by the way, dbramley Smile.

First off, you want to be editing the template files and not the published .shtml files. In fact, that is something you'll want to make a special not of because it's very important.

All your .sthml files actually get re-written each time you publish so anything you do right on them is going to be deleted the next time you publish.

Now, the thing with templates is that after you update one and get it back onto your server, you actually need to log into Article Manager, go to Admin -> Publishing and republish the rule that uses the template you updated. I am thinking for right now though, just log into Admin -> Publishing and hit the Publish All button so you are completely up to date.

Could you give that a shot and let me know how you make out?
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/