Blog like menu code

Availor

I am familiar with anynews module, I jsut noticed some WebsiteBaker based websites use similar kind of code so I thought that perhaps it is some kind of code snippet that I don't know about.

kweitzel

#9
OK, then you will need to write some code around it and pull the data from the backend. In General those placeholders are not available to the frontend since they are processed before beeing passed on to the display.

Have a look at the anynews snippet and use that one as the base for what you want to display. You will need to pull all the required fields from the Database.

cheers

Klaus

Availor

It is impossible to put them in the backend, as I wanted to create a template that will automatically show you the first news comments and group from the template itself.

kweitzel

OK ... that is the issue ... put them into the backend of the newsmodule or define the variables which are beeing filled by these "placeholders".

cheers

klaus

Availor

I have tried inserting the loop snippets and it doesn't work. I put this code inside the index.php not from the backend http://www.videoxone.com/demo/baker1/pages/news-test.php
This is the code snippet from the template

<div class="postbottom">
          <ul>
            <li class="permalink"><a href="[LINK]">[TEXT_READ_MORE]</a></li>
            <li class="cats"><a href="#">[GROUP_TITLE]</a></li>
            <li class="auth"><a href="#"> [DISPLAY_NAME] ([USERNAME]) </a></li>
            <li class="date">[PUBLISHED_DATE]</li>
            <li class="comnts"><a href="[ADD_COMMENT_URL]">Add Comment</a></li>
          </ul>
        </div>

kweitzel

OK ... that looks more like it. Anyway, I moved your Languaefile Post into the language section.

Anyway: For the Publishdate look here: https://forum.websitebaker.org/index.php/topic,7475.0.html

This Footerline of yours, do you actually "create" it in the Options of the newsmodule? Then you should have all the Variables ...

cheers

Klaus

Availor

LoL, sorry wrong screenshot  :-D That one was a tutorial for some guy...
This is Hebrew language actually.

Here is the screenshot I meant  :mrgreen:

[gelöscht durch Administrator]

Stefek

It's a really nice Template you have choosen. Availor.

But as Klaus, I don't really understand, what you try to do.

Please upload the screenshot again, for I really like the Template, and think it's worth to be acomplished.

Best Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

kweitzel

this is a Backend View in a RTL (right to left) language. If I am not mistaken, this is hebraeic.

If I look at your Testlink, it seems like you want something else, more blog related to show. Correct?

cheers

Klaus

Availor

Hello,

I'm trying to make a new template http://www.videoxone.com/demo/baker1/pages/news-test.php - but it didn't work out so well.

I am trying to create something like this (picture attached). I have seen WebsiteBaker powered websites use this - is there a code snippet for that? (Didn't find anything in the search)

[gelöscht durch Administrator]