Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:56:47 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Modify the head of any WYSIWYG page  (Read 350 times)
Nicky

Offline Offline

Posts: 41


« on: October 30, 2011, 10:10:08 PM »

Hi WB

Perhaps this has already been answered, but if not, an idea for the next WB release?

Would it be possible to, when adding a new WYSIWYG page, modify the head section of that particular page. Of course, this can be done site-wide but I have not found a way to do this for a single page or for a few pages of a WB site.

Here's a real example. I have a WB site of 149 pages. One of those pages is all about halloween and local scary events  smiley  I have some very neat and scary javascript bats flying around the page but as I needed to add part of the script to the head, it affects all the pages on the site. It's not a big issue, as it all about spooky fun, but it's not really appropriate having flying bats on some of that site's pages! grin

This head mod might help too by being able to install different page-metas as opposed to the site-wide default.

Any ideas?

Regards, Nicky.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: October 30, 2011, 10:20:42 PM »

I don't suppose you mean this here: http://www.websitebaker2.org/en/help/user-guide/working-with-wb/pages-administration/change-settings.php

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Nicky

Offline Offline

Posts: 41


« Reply #2 on: October 30, 2011, 10:32:01 PM »

Hi Klaus

Yes, that's it exactly! Adding a field to modify the data between the <head> and </head> of that particular page to override the general site settings would be super!

Nicky



Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #3 on: October 30, 2011, 10:49:39 PM »

if i understood you, in my point of view is to create a page module. it's the easiest way and it isn't needed to change the core.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #4 on: October 30, 2011, 10:57:08 PM »

Nicky,

if that is what you need, I suggest you read the help-page because what I linked is what we already have.  rolleyes

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Nicky

Offline Offline

Posts: 41


« Reply #5 on: October 30, 2011, 11:00:13 PM »

Hello Dietmar

Yes, I guess so.

Regards, Nicky

ps. Noting how keywords meta data is now ignored by the search engines, is it worth having that keywords field in the page settings any more?

   
Logged
Nicky

Offline Offline

Posts: 41


« Reply #6 on: October 30, 2011, 11:02:41 PM »

Hi Klaus

I did read it. But I could not see a field for modifying the head section of that page.

Nicky
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #7 on: October 30, 2011, 11:19:32 PM »

So you what exactly do you want to customize? Just saying "the data between the head-tags" is quite a wide explanation. You could for instance use the complete WEBSITE_HEADER function to achieve what you want and put the required meta-tags in the header field and you have achieved what you want. In the site wide option you put the sidewide tags ... in the page options you put the page wide tags. You'd need to put ALL tags in there ... or just the ones which are supposed to differ.

Have a look here at the functions WB offers you ... you might find something interesting there Wink
http://www.websitebaker2.org/en/help/designer-guide/adding-template-functions.php

In general, be a bit imaginative, you can achieve quite some good things with WB, more than you might think of at first  grin

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!