Textpattern CMS support forum

You are not logged in. Register | Login | Help

#901 2019-11-24 09:40:56

ibadullah
Member
From: Kabul, Afghanistan
Registered: 2017-09-16
Posts: 38

Re: smd_calendar: complete schedule / event / calendar / diary

Hi
the smd_calendar worked superb, thank you for such wonderful calendar, i have a question that, how to make that every single date show its article as article listing. same like article listing, can any one help? i mean i want to list all the events how it passable to see all event in single date if the event is more then 10.

Last edited by ibadullah (2019-11-24 11:35:25)

Offline

#902 2019-11-24 15:33:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,380
Website

Re: smd_calendar: complete schedule / event / calendar / diary

…how it passable to see all event in single date if the event is more then 10.

Although I do not use this plugin, a limit="30" attribute would probably do it.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#903 2019-11-24 16:59:02

ibadullah
Member
From: Kabul, Afghanistan
Registered: 2017-09-16
Posts: 38

Re: smd_calendar: complete schedule / event / calendar / diary

@colak thank you for response, i have tried the limit=“30” but it didn’t work, can you please suggest me another txp calendar that is suitable to show all the event in specific date?

Offline

#904 2019-11-24 17:05:21

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,380
Website

Re: smd_calendar: complete schedule / event / calendar / diary

ibadullah wrote #320244:

@colak thank you for response, i have tried the limit=“30” but it didn’t work, can you please suggest me another txp calendar that is suitable to show all the event in specific date?

Could you please post the tag combination you are using in the forum so that we can debug it?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#905 2019-11-24 17:23:06

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,591
Website

Re: smd_calendar: complete schedule / event / calendar / diary

If you’re talking about an article with repeating events, try eventlimit="30" or whatever your maximum needs to be.

If you’re talking about a way to list multiple separate events that take place on the same day, see Example 4 in the docs for an example of using txp:if_different to only show the date title once for each day.


TXP Builders – finely-crafted code, design and txp

Offline

#906 2019-11-26 11:35:40

ibadullah
Member
From: Kabul, Afghanistan
Registered: 2017-09-16
Posts: 38

Re: smd_calendar: complete schedule / event / calendar / diary

actually i have website project for a news agency and it put more then 50 news every day, now he want that the visitor can see the news in single date, i mean when he click on a single date all the news should be list in related date, now it is listing but only 10 news.
when i click the specific date all the article list with this url:

www.domain.com/?date=2019-11-18&s=dari

Here is the calendar code:

<div role="tabpanel" class="tab-pane" id="profile">
          <txp:smd_calendar size="small" dayformat="Sun,Mon,Tue,Wed,Thu,Fri,Sat" select="month,year" selectbtn="chose" id="calendar" yearwidth="1,3" limit="30" />
        </div>

Last edited by ibadullah (2019-11-26 11:48:24)

Offline

#907 2019-11-26 12:14:51

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

Re: smd_calendar: complete schedule / event / calendar / diary

Hi,

as I get it, smd_calendar only creates links, but articles are output by <txp:article />? Try to find <txp:article /> tag in your page code and pass it limit="99" attribute.

Offline

#908 2019-11-26 17:45:14

ibadullah
Member
From: Kabul, Afghanistan
Registered: 2017-09-16
Posts: 38

Re: smd_calendar: complete schedule / event / calendar / diary

etc Developer,
i tired but no result, can you explain it more plz…

Offline

#909 2019-11-26 18:04:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,591
Website

Re: smd_calendar: complete schedule / event / calendar / diary

Have a look at the plugin docs for smd_article_event. That is the plugin’s equivalent to article_custom but can take account of repeating events and, as far as I remember, also events that span a date (e.g. begin before that day / end after that day).

It has a from and to attribute which you can use to restrict which event articles it shows, and it has limit and eventlimit attributes to allow you to show a number of events per day (or recurring events). You’ll find those instructions in the plugin docs (linked to from Admin › Plugins) and they’re listed in the plugin code here.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB