Disappointed...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Gnolen wrote:Hi,

Is there only possible to have 2 custom blocks(conent everywher)? I am trying to put a third in but it just doesn't save it!?

Thanks!

Greetings from Gnolen
how do you make customs blocks?

I may have missed that feature...
http://www.studmed.dk Portal for doctors and medical students in Denmark
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Now you are kidding with me frold?? This is IT in the new release! :P
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Gnolen wrote:Now you are kidding with me frold?? This is IT in the new release! :P
yeah I know contents anywhere...

but you talk about custom blocks....

I only see the 4 inluded
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

No you have as many custom blocks as you like.

These are the steps to get one (or more):

1) Open pagelayout and add the names you like for your custom blocks. Seperate names by space - system will do the rest.

2) Open all templates wherein this pagelayout is used - you see additional fields for editing - there you can insert additional html code for each block - will be used only when block has content. Save your template 1x - only then custom block will be listed when editing a content part. Remember: custom block belongs to pagelayout to template by category/level.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

ah - now I know for what this is :wink:

is it right that then I have to enter the Name of the Block like {myName}

btw to OG it would be nice when you give us a new Snapshot of the System - I'm realy a little bit confused with all tha Patches I found in the last Days here in the Forum and I don't know wich one I have done at what time :roll:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Correct: {myName}
new Snapshot of the System
In preparation.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

This DEV is simply incredible !!!!
I simply enjoy all of it !!!
Great job Oliver !!! :D

I am testing and testing...
I have been able to create Custom Blocks and I see these in the Content Parts.

My question now is:
Is it possible to have Custom Blocks to show all through the site. For testing I only use ONE Page Layout and ONE template. Would be like sort of being associated to all Categories....?
I figured I would create an Extra Site Structure, where I would have all the blocks in there that need to be manage... not sure if that makes sense or if my english is good enough...? :roll:

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This is planned for integration - haven't been worked out in detail. At the moment I would recommend the use of hidden category - with total empty template - no header/no footer - custom block style and usage of {URL:...}

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

I created a Custom Block that I named "UN"
So... I use this {UN} and all is OK 8)
but... is there a possibility to use this replacement tag {UN}, in conjonction with something like... calling a specific Content Part like this: {UN 21} or {UN:21} ... ? :roll:

Thanks,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Sorry, not at the moment - rendering of content parts needs to be made more flexible for using this.

I'm working on this.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Cool!:
Oliver Georgi wrote:This is planned for integration - haven't been worked out in detail. At the moment I would recommend the use of hidden category - with total empty template - no header/no footer - custom block style and usage of {URL:...}

Oliver
Sorry Oliver we crossed posted :wink:
Thank you for your reply!
The only part I don't understand in your answer is the "... usage of {URL:...}"
???

Thanks,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hey.. No need to reply here Oliver I guess I'll find the part of the answer here:
http://www.phpwcms.de/forum/viewtopic.php?t=5296
Cheers, 8)

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

There is a replacement tag {URL:...} where a complete page can be integrated as part of your "normal" content. {URL:...} returns just everything between <body></body> tag. All relative paths are replaced by absolute paths - it's kinda proxy script.

Try this anywhere in your site - maybe with content part "plain text":

Code: Select all

{URL:http://www.google.com}
If you just create a template that returns "real" content only - like a blank page with {CONTENT} you have something like block anywhere.

visit: http://www.iba-stadtumbau.de/cms/index.php?dessau
The map and info on the left (under navigation) are used in such a way.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Content Everywhere/Anywhere is Real !!!!
This is an Awesome explanation Oliver!
Thank you so much for your time and sorry for waisting your time on this one :wink:
I should had deducted this one myself. :wink:
Hope it will help serve others as well.

With all my respect,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Oliver Georgi wrote:There is a replacement tag {URL:...} where a complete page can be integrated as part of your "normal" content. {URL:...} returns just everything between <body></body> tag. All relative paths are replaced by absolute paths - it's kinda proxy script.
Try this anywhere in your site - maybe with content part "plain text":

Code: Select all

{URL:http://www.google.com}
If you just create a template that returns "real" content only - like a blank page with {CONTENT} you have something like block anywhere.
Figured I would at least... let you know that your TIP above, here,
really made my day :D
This is a real working workaround, showing "One more time for the World".... how much flexible is PhpWCMS :D :D :D

Cool !!! :wink:

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Post Reply