Phoca Gallery Button Plugin - long code

Phoca Gallery plugins - plugins for Phoca Gallery extension
AntiDrama
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 21 Nov 2014, 12:15

Phoca Gallery Button Plugin - long code

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - long code

Post 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
If you find Phoca extensions useful, please support the project
AntiDrama
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 21 Nov 2014, 12:15

Re: Phoca Gallery Button Plugin - long code

Post 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.
Post Reply