Loading...
 
Features / Usability

Features / Usability


What is the internal link syntax for blog and a blog post

posts: 21 United States

Greetings,
What is the internal link syntax used on a wiki page to create an internal link to a main blog page and to a specific blog posting within that blog?

The syntax
((About))
works great. When I used
((blog1))
or
((blog1|NanoBlog))
, for example, clicking the link asks me to create the blog page, but this blog is already created. I've been able to create a blog list using
((tiki-list_blogs.php|Blog List))
too and it works okay. I haven't found the blog link syntax in the Tikiwiki documentation either.
posts: 2428 Czech Republic
Hi, for anything else than wiki pages you need to use the bracket syntax, e.g. [blog1|NanoBlog].
posts: 210
Rick Sapir / Tiki for Smarties wrote:

And, for a specific blog post, you would use:
[blogpostXXX|Blog Post]

Where XXX is the ID of the specific post.

HTH,


Hi, following up on this thread: Is there a magic keyword, or accessible variable that accesses only the newest blog post? With such, one could have a blog "newsticker" and have the newest entry quoted on the startpage, for instance (and the blog would serve as a history function for this display...)

posts: 210
Rick Sapir / Tiki for Smarties wrote:

And, for a specific blog post, you would use:
[blogpostXXX|Blog Post]

Where XXX is the ID of the specific post.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.


This does NOT work, at least not on Tiki 18.8. "Internal error", as it redirects to WEBSITE/blogpostXXX, which does not exist. Actually, blog post XXX resides on WEBSITE/tiki-view_blog_post.php?postId=XXX...

posts: 210
hman wrote:
This does NOT work, at least not on Tiki 18.8. "Internal error", as it redirects to WEBSITE/blogpostXXX, which does not exist. Actually, blog post XXX resides on WEBSITE/tiki-view_blog_post.php?postId=XXX...


This leads to the conclusion, that the correct syntax must be

[tiki-view_blog_post.php?postId=XXX|Blog Post]

Experiment shows this is un-elegant, but works.

posts: 3661 United States
hman wrote:

This leads to the conclusion, that the correct syntax must be

[tiki-view_blog_post.php?postId=XXX|Blog Post]

Experiment shows this is un-elegant, but works.


Assuming you have SEFURL enabled, [blogpostXXX] should work fine.

Here it is on this site: blogpost899

posts: 210
Rick Sapir / Tiki for Smarties wrote:

Assuming you have SEFURL enabled, [blogpostXXX] should work fine.

Here it is on this site: blogpost899


If there are prerequisites, you should not forget to mention them B-)


posts: 21 United States
Thank you luciash d' being and Rick Sapir. It did not even occur to me that a
[blog1|Nanoblog]
or
[blog1]
syntax would work without the full
https://URL/blog1
as a internal link. D'Oh.

The other thing that surprised me is that this syntax does not work in Menu links. I needed to use
((blog1))
instead.

Upcoming Events

No records to display

Menu