Page 1 of 1

Phoca Gallery Button Plugin - long code

Posted: 21 Nov 2014, 12:33
by AntiDrama
Hi, i've been using ur gallery for almost every joomla i have, but i just hate the long code that doesnt move to another line when i use it in a table.
For instance i have 2 cells table and the left one suppose to show 1 picture with code like this-

Code: Select all

{phocagallery view=category|categoryid=4|imageid=42|displayname=0|float=left}
and on the right side theres a huge news txt

its really hard to edit news in editor (i use JCE editor btw) with a long code like that.

Is there any way to make it shorter in not a code view or turn code in editor to picture the code turnes on site page?

Re: Phoca Gallery Button Plugin - long code

Posted: 21 Nov 2014, 21:45
by Jan
Hi, in fact no, there are a lot of features and if they are used - then the code is long.

Yes it can look like this:

{p v=c|ct=4|im=42|dn=0|f=0}

but then nobody will know what the code is trying to do and there can be conflicts with another features :-(

or the code could look like:
{phocagalleryplugin}

but then how to set which category or image will be displayed, and what about other settings - so if there are a lot of setting parameters there need to be a lot of parameter set in plugin :-( there is no other way :idea:


Jan

Re: Phoca Gallery Button Plugin - long code

Posted: 21 Nov 2014, 22:59
by AntiDrama
well as i was saying there is source code editor view in the editor, that allows u to see full code, and as i know few moduls\plugins use editing part ("set which category or image will be displayed").

Just wondering if theres a way to do it, or any other way to make it short.