Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-08-31 19:03:57

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

> edited for clarity.

Super glad to share – but please advise how (make a github account? something else?)
  • It is bound to have mistakes (I am pretty sure the html labels are weird) – any advice on this reality is welcome
  • Is it bad practice to make philosophical comments in the html?
  • Can I thank people in the html?
  • The site was achieved through the power of the txp : it is really, really simple (my inspiration was bettermotherfuckingwebsite and my needs for co-collaboration and integrating topics)
  • It is almost done: just want to try to remove underlines and fix the static page.

Last edited by gu (2020-08-31 19:04:57)


<!— space for hope —>

Offline

#12 2020-08-31 19:25:59

etc
Developer
Registered: 2010-11-11
Posts: 3,863
Website

Re: Tag for static section on homepage only

gu wrote #325689:

Super glad to share – but please advise how (make a github account? something else?)

We have a beta plugins site, but no (yet) centralized themes distribution mechanism. So anything you deem fit…

Offline

#13 2020-08-31 19:27:47

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

> corrected a typo

I am sorry but I am back because the code solution has not only stopped the sticky page from displaying its text, but has also obstructed the search results from appearing.
Any input would be greatly appreciated, thank you again.

Last edited by gu (2020-08-31 19:28:55)


<!— space for hope —>

Offline

#14 2020-08-31 19:32:36

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

I just wanted to add that the same problem happens when I use the code from the tutorial on the Write Panel (I don’t know how I did not see that page last night):

<txp:article form="myshortform" status="sticky" />
</txp:if_article_list>

<txp:article limit="5" />

<!— space for hope —>

Offline

#15 2020-08-31 23:09:26

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

> still needing to edit for clarity…

Sadly I have to come back to this later… But I wonder if I understand what the root of the problem is.
[I didn’t immediately see the problem because while I tested pages when I put in the suggested code, I did not test the sticky page or the search box – which is where the problem is.]

My hunch that I may be beginning to understand something about the problem came when I was reading about how the txp design largely follows visitor actions. So, if this ‘recipe’ for the homepage is to include
1. a static section
2. the txp article list
3. search functions
4. category functions
the problem is that there is no “else”. It is all ‘yes’.
May I thank everyone for their kind help thus far! (And patience! I think that coding is good practice for communication in how it calls for precision – and in the case of txp, also brevity. I hope to learn from this.)

Last edited by gu (2020-08-31 23:24:16)


<!— space for hope —>

Offline

#16 2020-08-31 23:51:05

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

…I wonder if I can use that other txp for displaying an excerpt, put that in its own div section, and then keep the search and category txps in their own div like they were before when they worked. I am sure there is a more elegant way to solve the problem but I can’t wait to try that out…

Last edited by gu (2020-08-31 23:51:48)


<!— space for hope —>

Offline

#17 2020-09-01 09:19:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,269
Website

Re: Tag for static section on homepage only

Hi, do you have a url we could check? It’ll be much easier to diagnose the issue:)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#18 2020-09-01 09:34:01

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

I might delete this address later.
>edit: I have now deleted it

I am embarrassed by my comments because every hour or so I figure something new out and realize how misled earlier thoughts were… But I heard advice about coding that made sense to me: better to keep trying to explain because eventually the explanation will match the commands.

Last edited by gu (2020-09-01 12:19:18)


<!— space for hope —>

Offline

#19 2020-09-01 10:50:08

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,131

Re: Tag for static section on homepage only

gu wrote #325699:

I am embarrassed by my comments because every hour or so I figure something new out and realize how misled earlier thoughts were…

Yikes, this hit hard – are you me?

Offline

#20 2020-09-01 11:03:12

gu
Member
Registered: 2020-08-27
Posts: 44

Re: Tag for static section on homepage only

Thanks for that encouragement gaekwad (one was feeling embarrassed because one’s learning style – not just lack of knowledge – is on view; what a relief that it is not unique).
As for making the website ‘public’ (I know it is available to crawlers, but I expect it to remain in a back corner of the web), I am definitely internet shy. I am also responsible for contributors so am reluctant about posting the site address as a general principle. But since in some ways the site is also the forum’s, because of your input, I thought I would share it, which I hope was the right decision!


<!— space for hope —>

Offline

Board footer

Powered by FluxBB