I have installed this module and enabled it on the page of modules. Nothing happens. No input filter appears. Nothing.

Comments

eric_a’s picture

Are you seeing the chessboard filter on the Filtered HTML configuration page, i.e. on the admin/config/content/formats/filtered_html path?

drupalshrek’s picture

I'm following the README.txt instructions "Upon activating this module, an input filter chessboard should appear.". It doesn't appear. The module doesn't give me any clue what else to do.

eric_a’s picture

Component: Code » Documentation
Priority: Critical » Minor

Well, the filter appears where filters always appear. However, I agree that the README.txt file could be improved. Any suggestions?

drupalshrek’s picture

You say "the filter appears where filters always appear". I've no idea where that is. Please describe in detail where I'm supposed to look. It might be obvious to you, but I don't have a clue where I'm supposed to be looking. Why not also add some screenshots to the module page?

eric_a’s picture

Version: 7.x-1.2 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new1.73 KB

You say "the filter appears where filters always appear". I've no idea where that is.
The filter system has its own documentation and issue queue, but here's a try for Chessboard.

drupalshrek’s picture

OK, based on what you have said, I created a normal content page, and edited the body with text format "Filter HTML" and added:
[chessboard]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/chessboard]
This I had to dig into the module code to figure out, so for sure this needs to go in the README.txt.

I see also in the code the following function:

 function _chessboard_filter_0_tips($filter, $format, $long = FALSE)

I guess this should display help stuff somewhere, but I have no idea where to look because you don't say.

Anyway, it displays:
[chessboard]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/chessboard]

And now?

drupalshrek’s picture

Whilst doing something, I happened to stumble across a page where I found it requesting what formats are enabled, including the chessboard format. The page which it appears needs to be configured is:
admin/config/content/formats/add

Selecting this as a possible text format allowed me to display a page with a chessboard rendered.

eric_a’s picture

Title: input filter does not appear » Chessboard filter needs documentation
StatusFileSize
new1.37 KB
new1.67 KB

[chessboard]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/chessboard]
This I had to dig into the module code to figure out, so for sure this needs to go in the README.txt.

It's all available on standard Drupal pages provided by Filter module and for the most part out of scope for Chessboard.
I've added more references to these standard pages and cleaned it up a bit. Note that this patch is still against the 7.x-2.x branch and references chessboard_filter module rather than chessboard module.

eric_a’s picture

Version: 7.x-2.x-dev » 8.x-2.x-dev
eric_a’s picture

eric_a’s picture

Version: 8.x-2.x-dev » 7.x-1.x-dev
Status: Needs review » Patch (to be ported)

Thanks for reporting. Committed and pushed to 8.x-2.x and 7.x-2.x. A new development snapshot will be available within the next 12 hours.

Moving to 7.x-1.x.

eric_a’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new1.53 KB

Straight port, breaking strings, existing translations on admin/help.