Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.

TOPIC: HTML blocks & customize this page

HTML blocks & customize this page 3 years 9 months ago #1

  • HantonG
  • HantonG's Avatar
  • Offline
  • New
  • Posts: 25
Hi all.

When adding a HTML block to "Home page" or "My page" the block will show up with its default name -> HTML
Many of us have several HTML blocks on these two pages and (I for one) find it difficult to know which block is which when I want to move a single block up or down.
Each HTML block are given a title and holds whatever content you put into them.

What I would like to see the next time I want to customize "Home page" or "My page" blocks is their actual block title:
Like
"Block title"
or
"HTML (Block title)

Hope you understand what I mean ;-)
Regards,
Hans Anton
--
Windows 10, 64bit (latest) / Firefox (latest)
PHP 7.0 (256MB, 90 sec.) / MySQL 5.5.52-cll-lve
Webtrees 1.7.14 / Fancy & Vytux modules
Last Edit: 3 years 9 months ago by HantonG.
The administrator has disabled public write access.

HTML blocks & customize this page 3 years 9 months ago #2

  • Jackie
  • Jackie's Avatar
  • Offline
  • Platinum
  • Posts: 4709
Hi Hanton,

I agree with you. It is not obvious to know which is which..

Admin:

Should this thread be moved to « Request for new feature »?


The administrator has disabled public write access.

HTML blocks & customize this page 3 years 9 months ago #3

  • HantonG
  • HantonG's Avatar
  • Offline
  • New
  • Posts: 25
Hi Jackie,

That would realy make my day! ;-)
(IMO) I think it would be best to have block names like "HTML (Block title)" to separate our self made blocks from the default ones.
Regards,
Hans Anton
--
Windows 10, 64bit (latest) / Firefox (latest)
PHP 7.0 (256MB, 90 sec.) / MySQL 5.5.52-cll-lve
Webtrees 1.7.14 / Fancy & Vytux modules
Last Edit: 3 years 9 months ago by HantonG.
The administrator has disabled public write access.

HTML blocks & customize this page 3 years 9 months ago #4

  • Jackie
  • Jackie's Avatar
  • Offline
  • Platinum
  • Posts: 4709
Hi Hans(sorry),

How webtrees would know in advance the Title of your block?

I don't know if it is possible to get the title after its creation. Greg could tell us if this is possible to code.
Last Edit: 3 years 9 months ago by Jackie.
The administrator has disabled public write access.

HTML blocks & customize this page 3 years 9 months ago #5

  • HantonG
  • HantonG's Avatar
  • Offline
  • New
  • Posts: 25
Hi Jackie,

I'm pretty sure it's possible .. info about the block title or ID must be stored in the DB .. else it wouldn't show in the blocks on these pages either?
Anyway, I'm also sure our Oracle (Greg) will sort this out ;-)
Regards,
Hans Anton
--
Windows 10, 64bit (latest) / Firefox (latest)
PHP 7.0 (256MB, 90 sec.) / MySQL 5.5.52-cll-lve
Webtrees 1.7.14 / Fancy & Vytux modules
Last Edit: 3 years 9 months ago by HantonG.
The administrator has disabled public write access.

HTML blocks & customize this page 3 years 9 months ago #6

  • HantonG
  • HantonG's Avatar
  • Offline
  • New
  • Posts: 25
It would also be great if the HTML blocks were just removed from the actual page and not deleted when they are moved to the center column.
One may want to put the HTML block back on the actual page at a later time, so that they would act more like the default ones.
Else, the next time one have to make them all over from scratch again.
They would still need to have an option to completely delete them though...
Regards,
Hans Anton
--
Windows 10, 64bit (latest) / Firefox (latest)
PHP 7.0 (256MB, 90 sec.) / MySQL 5.5.52-cll-lve
Webtrees 1.7.14 / Fancy & Vytux modules
Last Edit: 3 years 9 months ago by HantonG.
The administrator has disabled public write access.

HTML blocks & customize this page 2 months 3 weeks ago #7

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • New
  • Posts: 54
Block id is now displayed: github.com/fisharebest/webtrees/issues/2494
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 1.7.14 | PHP 7.3.0 | MySQL 5.6.42 | Apache 2.4.37 | SunOS 5.10
The administrator has disabled public write access.
Powered by Kunena Forum