WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Blog like menu code
  • Print
Pages: [1]   Go Down

Author Topic: Blog like menu code  (Read 9517 times)

Availor

  • Guest
Blog like menu code
« on: July 03, 2008, 05:28:54 PM »
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]
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Blog like menu code
« Reply #1 on: July 03, 2008, 08:43:24 PM »
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
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Blog like menu code
« Reply #2 on: July 03, 2008, 08:56:06 PM »
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
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Availor

  • Guest
Re: Blog like menu code
« Reply #3 on: July 03, 2008, 11:30:12 PM »
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]
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Blog like menu code
« Reply #4 on: July 04, 2008, 08:47:39 AM »
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
Logged

Availor

  • Guest
Re: Blog like menu code
« Reply #5 on: July 04, 2008, 09:02:54 AM »
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
Code: [Select]
<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>
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Blog like menu code
« Reply #6 on: July 04, 2008, 09:13:13 AM »
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
Logged

Availor

  • Guest
Re: Blog like menu code
« Reply #7 on: July 05, 2008, 12:58:28 PM »
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.
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Blog like menu code
« Reply #8 on: July 05, 2008, 04:56:12 PM »
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
« Last Edit: July 06, 2008, 12:50:56 AM by kweitzel »
Logged

Availor

  • Guest
Re: Blog like menu code
« Reply #9 on: July 05, 2008, 10:00:58 PM »
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.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Blog like menu code
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2