Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-07 13:10:51

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Image Featured and Faux shopping Cart

Ok a few questions, I searched the forums and really couldn’t find an answer or I didn’t know what to search. Anyway here is what I want to do. In textpattern you can upload an image and then use a txp tag to point to it in the article. I want to be able to offer a seperate article section that is used as a featured. IE show the image in the left column and say featured below it. So this image would be an updateable feature like an article. I also want to be able to run regular articles in the body section in the right column without the two colliding. Is this possible or is there another way I could do this by using a php include tag or some such?

them as best I could. Thanks in advance to anyone who takes the time to respond I appreciate it.

could somone PLEASE help me?

Last edited by WhiteDog (2005-09-23 18:04:31)


Grrr RRR nnndth grrr Skeek!

Offline

#2 2005-09-23 18:04:55

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: Image Featured and Faux shopping Cart

bump


Grrr RRR nnndth grrr Skeek!

Offline

#3 2005-09-23 19:34:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Image Featured and Faux shopping Cart

If I understand you correctly, this is perfectly possible.

Create the articles in your section ‘featured’ (or whatever you want to name it) and put the image id in the article image field.

Create an article form named ‘article_featured’ (or whatever) with something like this in it:

<code><txp:article_image />
<p>Featured</p></code><br />
Then on the page template in the left column call it with something like this:

<code><txp:article_custom form=“article_featured” section=“featured” limit=“1” /></code><br />
And in the right column you call your regular content with <code><txp:article etcetera /></code>.

Offline

#4 2005-10-21 12:36:00

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: Image Featured and Faux shopping Cart

Thank you ever so much for your help. Sorry i took so long to get back. All i need to do now is get teh featured to not appear in the main page which seems simple.

Thanks Again I really appreciate it


Grrr RRR nnndth grrr Skeek!

Offline

#5 2005-10-21 12:55:45

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Image Featured and Faux shopping Cart

All you’ve got to do is set ‘On front page?’ to ‘no’ for section ‘featured’. That way with the article_custom tag you can show it in the side column, but the articles from that section won’t appear in the main content on your front page.

Also I forgot the permlink: the article form should be something like
<code>
<txp:permlink><txp:article_image /></txp:permlink>
<p>Featured</p>
</code>
to make the image a link to the full article.

Offline

#6 2005-10-21 12:57:12

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: Image Featured and Faux shopping Cart

wow thanks alot I give you credit for responding to me a month later. I really appreciate it!!!


Grrr RRR nnndth grrr Skeek!

Offline

Board footer

Powered by FluxBB