Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Quick update possible without "knowing" Textpattern?
From your previous post it sounds like FTP is your only way to get at that stylesheet. It’s pretty common for the FTP password and Textpattern password to be different.
Regarding testing: Sometimes developers forget to flip the switch to live. It’s a smart idea to fix that yourself by changing it to live (turns off annoying error messages should they come up), but the problem you’re seeing shouldn’t be related to that.
Offline
Re: Quick update possible without "knowing" Textpattern?
Welcome to Textpattern, Nestor!
Nestor wrote:
When I look under Presentation > Style there’s a stylesheet there, but it’s not the one I’m seeing when I view the site using Firebug.
You have 2 completely different style sheets.
The one you are seeing in Textpattern -> Presenatation -> Style is linked with the tag <txp:css />. Based on your earlier description, it is not being used.
In your case, the previous developer used <txp:site_url/>bodyworks.css
What that tag is doing, and the only think it is doing, is outputting the website’s url right before “bodyworks.css”. It’s essentially saying “http://www.yourdomain.com/bodyworks.css”.
If you change “yourdomain.com” to the actual domain name you are working with, and put that in your browser, you should see the style sheet you are looking to change.
This basically means that the previous developer set up the css style sheet outside of Textpattern.
Nestor wrote:
see if I can get the FTP info, because I can’t find that in the Admin area either.
FTP and Textpattern are two separate items.
You use a FTP client to connect to the server. There are lots of FTP clients available. Traditionally most are local desktop apps, but there are also a few web based versions as well. It allows you to create, manage, edit, and transfer files.
The FTP server has its user accounts, with their own user names and passwords. Textpattern has no access to ftp user names or passwords. You’ll need to get the ftp user name and password from your client, their webhost, or the previous developer.
Textpattern is a combination of files on a server and a mysql database. Once you have the ftp username, password, and a ftp client, you can use it to browse and edit any of the Txp files. This is how you will get to the css style sheet you wish to edit, and make your changes.
Alternately, you could, as Els mentioned, move the style sheet you want to edit into Textpattern. You would then be able to edit it from Textpattern’s Admin.
This is a bit long of an answer, but hopefully helps with getting your bearings.
Mike
Last edited by maverick (2011-02-25 13:27:30)
Offline
Re: Quick update possible without "knowing" Textpattern?
Alternately, you could as Els mentioned, and move the style sheet you want to edit into Textpattern. You would then be able to edit it from Textpattern’s Admin.
That would actually work pretty well. Just view source, paste the CSS stylesheet URL into your browser, and copy/paste all of the CSS that comes up into Textpattern’s “Styles” area.
Then you could replace this code that you found before:
<link rel=“stylesheet” type=“text/css” media=“all” href=”<txp:site_url/>bodyworks.css” />
with:
<txp:css />
That will tell Textpattern to use the admin panel’s CSS styles. Then save that, make some changes to the css, save, reload website, watch your changes take effect, etc.
Yeah, that would do it.
Last edited by maruchan (2011-02-25 06:00:25)
Offline
#16 2011-02-25 17:43:15
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Quick update possible without "knowing" Textpattern?
maruchan wrote:
Just view source, paste the CSS stylesheet URL into your browser, and copy/paste all of the CSS that comes up into Textpattern’s “Styles” area.
Then you could replace this code that you found before:
Yep, that’s what I had in mind.
Offline