Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-02-25 00:03:54
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Quick update possible without "knowing" Textpattern?
Hi all,
Total rookie here. I’m a graphic designer and was just hired to do a re-branding of a company (mostly print). They already have a site using Textpattern, of which I know nothing yet.
It’s a basic site, and all I really need to do initially is change some background colors and one background image. If it was a basic HTML/CSS site I could do it easily. I was given the login info and have snooped around but can’t even find a reference anywhere to a background image of any kind, or the light blue that’s being used as a background color. I thought I’d find references to them in the style sheet, but no.
I’d like to learn Textpattern, but am hoping I can make these quick updates first. Can anyone clue me in to where I should be looking?
Thanks much.
Offline
#2 2011-02-25 00:15:06
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Quick update possible without "knowing" Textpattern?
You can find the CSS in Presentation > Style. By default it’s in the database, not a file. But in your case it probably is, and you’ll need an FTP client or access to the host’s admin panel to change the file. If you’re not sure, what does the link to the stylesheet on the page look like?
If the background image is something like ‘3.png’, you will probably find it under Content > Images. If it doesn’t have a number as its name, you can just use FTP to replace the image.
To find your way in the back end: Admin side.
Last edited by els (2011-02-25 00:19:41)
Offline
Re: Quick update possible without "knowing" Textpattern?
To augment what Els says, a quick way to find what’s being used where is a two-pronged approach:
- use Firefox’s awesome Firebug add-on to locate the element that has the colour / background image. That’ll give you the exact name of the colour/image and may even give you a file location or name of the stylesheet in which it’s used
- install the smd_where_used plugin in Admin->Plugins and use that to find where the named items are being referenced inside TXP. Note that if you’re running a version of Textpattern earlier than 4.3.0 then you will have to install an earlier version of the plugin (v0.2, probably) which unfortunately won’t look inside stylesheets :-(
Hope that helps.
Last edited by Bloke (2011-02-25 00:26:37)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#4 2011-02-25 00:30:07
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Re: Quick update possible without "knowing" Textpattern?
Els,
That’s what’s weird. There is no reference anywhere in their stylesheet to any image of any kind. I also looked under Content > Images, and there are some images in there, but they aren’t what’s being used for their background image.
The link to the stylesheet is: <link rel=“stylesheet” type=“text/css” media=“all” href=”<txp:site_url/>bodyworks.css” />
I also could find no reference to this specific blue that’s being used in their background in the stylesheet. I need to change that color. There appears to only be one default stylesheet (as far as I can tell).
Clearly, I’m lost here.
Offline
#5 2011-02-25 00:34:45
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Re: Quick update possible without "knowing" Textpattern?
Bloke,
You may have hit on something. I’m actually not running Textpattern at all yet. I simply logged in to what I guess is their Admin page(s). Do I need to have the app running on my hard drive to make a change like this?
Thanks.
Offline
Re: Quick update possible without "knowing" Textpattern?
No, Textpattern does not live on your hard drive. It lives on the webserver. We’re assuming you logged into www.urlofthesite.com/textpattern.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#7 2011-02-25 01:00:26
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Quick update possible without "knowing" Textpattern?
Nestor wrote:
The link to the stylesheet is: <link rel=“stylesheet” type=“text/css” media=“all” href=”<txp:site_url/>bodyworks.css” />
In that case you won’t find it in Presentation > Style. It’s a file in the root of the domain. Do you have FTP access? You’ll need to download it to make your changes and upload it again.
Last edited by els (2011-02-25 01:01:42)
Offline
#8 2011-02-25 01:04:54
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Re: Quick update possible without "knowing" Textpattern?
Okay, I just installed Firebug, per Bloke’s suggestion. (You’re right, it’s cool.)
And I’m finding what I’m looking for that way. But when I view the page code while logged into my client’s Admin site (Presentation > Pages) I can see: <div id=“top”> but not: <div class=“page”> and <h1 id=“logo”>Title</h1> which are inside it. That’s where the stuff I need is, but I can only see it with Firebug.
Am I just trying to access the HTML and CSS through the wrong door?
Thanks again.
Offline
#9 2011-02-25 01:07:11
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Re: Quick update possible without "knowing" Textpattern?
Els,
I have FTP access. Would the login info be the same for FTP as the Admin area?
Offline
#10 2011-02-25 01:11:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Quick update possible without "knowing" Textpattern?
Part of the code is probably in forms. Look for tags that look like this:
<txp:article form="name_of_form" />
<txp:article_custom form="name_of_form" />
<txp:output_form form="name_of_form" />
Basically anything that has an attribute form
. Forms contain code snippets that are included in the page by these tags.
Edit: sorry, forgot to tell where you find the forms: Presentation > Forms :)
Last edited by els (2011-02-25 01:15:57)
Offline
#11 2011-02-25 01:14:58
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Quick update possible without "knowing" Textpattern?
Nestor wrote:
I have FTP access. Would the login info be the same for FTP as the Admin area?
I don’t think so. You’ll need the login for the server’s admin panel. If you can’t access the server to download and re-upload the CSS file, there is another option. It requires a couple of changes in the Textpattern admin area, but you’ll then be able to edit the CSS online.
Last edited by els (2011-02-25 01:17:31)
Offline
#12 2011-02-25 01:46:42
- Nestor
- New Member
- Registered: 2011-02-24
- Posts: 6
Re: Quick update possible without "knowing" Textpattern?
I don’t know what the deal is. 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. I think I’m going to have to wait until tomorrow to see if I can get the FTP info, because I can’t find that in the Admin area either. One more thing: under Admin > Preferences – Publish, the Production Status is listed as “Testing.” Could that be any kind of a factor with my issues?
Thanks again everyone. I really appreciate the help.
Offline