Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable blog namespace - e.g. used in Tags link #118

Open
lixas opened this issue Mar 7, 2014 · 3 comments
Open

Configurable blog namespace - e.g. used in Tags link #118

lixas opened this issue Mar 7, 2014 · 3 comments

Comments

@lixas
Copy link

lixas commented Mar 7, 2014

My blog is not in domain.tld/start page, but in domain.tld/news page. When I click on tag link to find all posts tagged by that tag- link leads to domain.tld/start?parameters This is incorrect! It should lead to domain.tld/news?parameters

If I manually write domain.tld/news?parameters then blogtng finds all posts that it should

How this could be fixed?

@Klap-in
Copy link
Member

Klap-in commented Mar 7, 2014

This link can be modified by changing the bundled template files.

...
    if ($entry->has_tags()) {
        echo ", ";
        echo $this->getLang('tags').": ";$entry->tpl_tags('news');
    }
...

(Of course you can directly modify https://github.com/dokufreaks/plugin-blogtng/blob/master/tpl/default/entry.php, but than this change is overwritten when the plugin is updated.)

@Klap-in Klap-in closed this as completed Mar 7, 2014
@lixas
Copy link
Author

lixas commented Mar 7, 2014

Thanks for pointing out, I'll try to fix myself.

@Klap-in Klap-in reopened this Mar 7, 2014
@Klap-in
Copy link
Member

Klap-in commented Mar 7, 2014

Renamed: Configurable blog namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants