Display only results from one tag
Permalink Browser Info Environment
Hi
I would need to display just the results from one tag on a page. Is there a way to accomplish this?
I would need to display just the results from one tag on a page. Is there a way to accomplish this?
Type: | Discussion |
---|---|
Status: | Archived |
Wow, that would indeed be neat! Thank you. What about adding an e-mail-link to the image description? Could this be done? I have a few projects coming up where a contact link is required ...
Tx
Tx
Where do you want do display that email? What template? Do you want to display only email in description or additional words/strings etc.?
Depending on that, maybe modyfying custom template would be enough.
I doubt i'll add another field to image. But with using regex/string replace functions in view, you can modify descriptions quite easily,
Depending on that, maybe modyfying custom template would be enough.
I doubt i'll add another field to image. But with using regex/string replace functions in view, you can modify descriptions quite easily,
Hi, my client/s would like to display their e-mail underneath the image on the masonry-card template. And how could I change image dimensions, since their profile pics come in vertical portrait dimensions ...
Tx
Tx
New version is available. There are two new options below "Displayed Tags" field.
-------------
To modify template:
1. Copy content of
packages/grand_gallery/blocks/grand_gallery/view.php
into
packages/grand_gallery/blocks/grand_gallery/templates/masonry_cards_custom.php
2. Change template of your block to masonry_cards_custom
3. Edit your block, in "Settings" tab select "masonry_cards" in "Basic Template"
4. In masonry_cards_custom.php find "gg-item-card-text-description" div and modify it to your needs, for example:
-------------
You can change dimensions of images in "Settings" tab after clicking "Enable custom settings for this block.". Dimensions can also be changed in dashboard globally if you wish.
##### 1.2.7 - Now, if you fill "Displayed Tags" field, only images having one of selected tags will be shown (you can bypass it by checking "Force displaying all selected Images" option) - Now, by default, single tag will not be displayed (unless "Force displaying single Tag" option is checked)
-------------
To modify template:
1. Copy content of
packages/grand_gallery/blocks/grand_gallery/view.php
into
packages/grand_gallery/blocks/grand_gallery/templates/masonry_cards_custom.php
2. Change template of your block to masonry_cards_custom
3. Edit your block, in "Settings" tab select "masonry_cards" in "Basic Template"
4. In masonry_cards_custom.php find "gg-item-card-text-description" div and modify it to your needs, for example:
-------------
You can change dimensions of images in "Settings" tab after clicking "Enable custom settings for this block.". Dimensions can also be changed in dashboard globally if you wish.
Thanx a lot for your brilliant support :D I was able to solve it that way. Just one more question: What would I need to do to add an extra line for the email-addres in the form (ie. have an image, a descripion (name and position in the company) plus the mail-address underneath)?
Would you be willing to build me such a template (against invoice, of course).
Tx
Would you be willing to build me such a template (against invoice, of course).
Tx
Do you want to retain ability to upgrade Grand Gallery package?
There are two ways to do it:
1) Add another text field/fields under "Description..." field when editing block.
It will require modifying some files other than creating custom template.
So you can't upgrade package in that case, because you will lost your custom code.
2) Filling "Description..." fields like that (separate email and description by pressing enter):
Then in your custom template, you can use php function explode() to divide description into email and actual description.
This way you will be able to upgrade package in future.
There are two ways to do it:
1) Add another text field/fields under "Description..." field when editing block.
It will require modifying some files other than creating custom template.
So you can't upgrade package in that case, because you will lost your custom code.
2) Filling "Description..." fields like that (separate email and description by pressing enter):
example@email.pl Your image description etc.
Then in your custom template, you can use php function explode() to divide description into email and actual description.
This way you will be able to upgrade package in future.
Hi - thank you for putting you mind to this. I was able to convince my customer to rest content with both name and company function in the title and the email in the description. Option 2 is not very client-friendly in my case, as they have different people filling content with little cms-knowledge. But thanky for the great support.
One more thing: Are there any known multilingual issues?
One more thing: Are there any known multilingual issues?
I have sent you a private message ...
not currently, but tommorow I will upload version where you can do something like that (display images only with specific tags).