Custom content block - How to create and position?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

cyrano wrote:i made a new layout template and added 3 content blocks more
{CONTENT_LEFT}, {CONTENT_MIDDLE} and {CONTENT_RIGHT}.
Hi Cyrano,
when you created your content blocks, did you just add the {CONTENT_RIGHT} for example into your template and then it was recognised in the system... my question is how did the system know you added the TAG?

If I was to create, 6 new content parts, ie {1}{2}{3}{4}{5}{6}
do I just add this to my template and thats it?

comments would be appreciated
TriP
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

any ideas....
I have tried everything, but my own content blocks dont show up...!!!

TriP
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

first make in your Page-Layout the Entrys like that 'MEINS'

Image

then you get in the Template for every one a new Box like this
Image

after you have done this, you get in Article-Contentparts this in the Rollbox for Output
Image

and at last add a Class in your Frontend-CSS like that

Code: Select all

.meins { 
  width: 350px;
  height: 150px;
  padding: .5em;
  border: 2px solid black;
  color: black;
  background-color: #ffe;
  position: fixed;		 
  top: 100;
  left: 200;
  z-index: 10;
}
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Cool Pico
I see my block now... :-)
one more question
if I use my design as custom, can I still call this custom block?

TriP
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

sorry don't know that - haven't use Custom-Layout :cry:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

trip wrote:if I use my design as custom, can I still call this custom block?
yes you can.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hi trip,

sorry that i didn't read your message yet...

I'am still in forum, but didn't read at the moment all mesages - mea culpa.

I haven't experienced since last release, so i hope you got it with help from pico?

As i see pico is also a well-knowns and friendly guy, supports a lot:
Thank you pico.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

cool guys, I think I have worked it out now
yay

TriP
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

Hi

Is it possible somehow to put a whole article listing in a custom content block on the start page? For example, I have a block where I keep my main article listing, but I also want to have a block to the right with another article listing. If I understand it correctly, only the content parts of the article can be placed in the custom content block, not the article summary itself? Basically, I want to be able to specify in which content block a particular article summary is to be placed. Is there a solution?

This is my start page situation:

Code: Select all

{HEADER}
----------------------------------------
{LEFT} | {CONTENT} | {CUSTOM}  | {RIGHT}
       | article 1 | article 3 |
       | article 2 | article 6 |
       | article 4 |           |
       | article 5 |           |
----------------------------------------
{FOOTER}
In other words, I want to place the summary of articles 3 and 6 in the custom block. Maybe there's a simple solution that I can't think of?

Cheers,

Jens
User avatar
defect
Posts: 95
Joined: Thu 27. Jan 2005, 17:17
Location: Rostock
Contact:

hhhmmm

Post by defect »

hy jungs...

ich studiere nun schon 3 tage dieses forum um mal zu kapieren wie man bei einem 3 column layout (links navi, mitte content, rechts artikelpreviews news etc.) in der rechten spalte artikelpreviews(mit more button) oder anderen inhalt hineinbekommt !

habe jetzt mal die version mit dem iframe probiert aber da öffnet er den inhalt immer in dieser spalte und nicht in der mitte(content).

custom blocks ging irgendwie auch nicht, da hat er immer die preview im content gezeigt und erst den ganzen artikel rechts{RIGHT}.

ich benutze 1.2.3. dev und irgendwie geht das ja auch ?!?!

aber leider nicht bei mir ;(

hat da mal irgendwer nen tip für mich ?

thx .....
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

at the moment the tip is:

make separate structure where article listing is working. Use clear template and set redirect for those articles to another available article.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
defect
Posts: 95
Joined: Thu 27. Jan 2005, 17:17
Location: Rostock
Contact:

hola...

Post by defect »

soweit ich das verstanden habe geht das artikel listening doch nur im {CONTENT} oder ?

oder wie bekomme ich das artillistening nach {RIGHT} ?!?!

so long....
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

indem Du für die Spalte right einfach {URL:...} nutzt
http://www.iba-stadtumbau.de/index.php?dessau

links unter der Navi

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

Thanks for the tip!

Are there any plans to implement this kind of functionality? It wouldn't be too much work, right? Choose the content block to use when the article is created and put it in that content block instead of $content["main"]. Or is there more to it? Maybe you're working on a solution?

Thanks,

Jens
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Makes no sense.

What you always can do is develope own script that reads articles from structure and lists as you need. It's not possible for me to implement all kind of content listings and so on... ...as soon...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply