What about using html codes in Gallery3

UfukBuyukozkaya

Joined: 2014-01-29
Posts: 25
Posted: Mon, 2014-02-10 10:18

What about using html codes in Gallery3 ? (or php)

Best regards.

(GALLERY IS THE BEST!)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2014-02-10 14:28

What about it?
You need to have a better explanation.
Perhaps the http://codex.galleryproject.org/Gallery3:Modules:edit_tinymce is what your after.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
UfukBuyukozkaya

Joined: 2014-01-29
Posts: 25
Posted: Mon, 2014-02-10 15:50

Thank you again, Floridave. Your replies are fast and also humoristic. :)

I will try it. Thank you again.

 
UfukBuyukozkaya

Joined: 2014-01-29
Posts: 25
Posted: Mon, 2014-02-10 16:04

Floridave;

For example, if i want to place a survey in html code on the right side column. Can i use it? (like a web site template)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2014-02-10 18:43

I would use the code block module. You will need to add your JS/PHP code to the blocks view file.
http://codex.galleryproject.org/Gallery3:Modules:code_block

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
UfukBuyukozkaya

Joined: 2014-01-29
Posts: 25
Posted: Tue, 2014-02-11 19:33

Yeah that exactly fits my needs. BRAVO MAESTRO !

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Sat, 2014-02-22 20:39

Hi The TinyMCE module works well but only for administrators. Is there any way to enable the option for all gallery users to use the TinyMCE editor?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2014-02-23 05:49

Please test with the attached replacing the existing (renaming without the .txt extension) and report back.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Sun, 2014-02-23 20:08

Hi Thanks for the reply, I renamed the old file

edit_tinymce_event.php.old and replaced it the new (renamed) file you attached,
With my test user account on my test site , I logged out then in again and the new option for Edit this album with RT editor does now appear in the top tab menu
but whenever I click it I get

Quote:
Dang... Something went wrong!

We tried really hard, but it's broken.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2014-02-23 23:20

I guess it will take a bit more coding to accomplish.
Care to take a stab at it?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Mon, 2014-02-24 01:11

Sorry but I am not a coder at all. Thanks anyway for trying.