SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Also on " domain name" plugin

5 years 6 months ago #123917 by artctrldel.info@gmail.com
Also on " domain name" plugin was created by artctrldel.info@gmail.com
Hi guys,

I want a you might also like/also on/ featured articles... below every article...

I have tried different plugins but without any luck.

I want 3 columns with 2 articles in each kinda like taboola just with my own content.

Can you recomment any good plugins?

Thanks again :)

www.artctrldel.net

Benjamin

Please Log in to join the conversation.

5 years 6 months ago #123929 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,

Maybe this module can help: www.ostraining.com/blog/joomla/most-read-intro-images/

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124048 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I have done everything untill "Click and Save when done".

So I have pasted the code into default.php

The step I don't understand is: The class row-fluid comes from Bootstrap 2:

Module looks like this now: Image attached

Best Benjamin

www.artctrldel.net

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago #124055 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
UPDATE: I posted intro images on the links showing. Unfortunally still no effect.

Thanks

Benjamin
www.artctrldel.net

Please Log in to join the conversation.

5 years 6 months ago #124068 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,

The step I don't understand is: The class row-fluid comes from Bootstrap 2:

The template I used in my example has support for bootstrap, which uses row-fluid class to create columns. This suggestion applies if your template support bootstrap.


Double check the template override was added to the template your are using. See Step #2. Create the template override

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124610 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I have created the override, still no effect though. Watch images please.

Thank you

Benjamin

This message has attachments images.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago #124615 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,

The suggested module to use and override from this tutorial is "mod_articles_popular".

You seem to use "mod_articles_news".

Looking forward to help you

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124647 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I changed/overwrote mod_articles_popular aswell, unfortunally still no result.

Thanks again :)

Benjamin

Please Log in to join the conversation.

5 years 6 months ago #124648 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Actually...

I want 3 modules below Taboola.

1. Most popular Articles (3 columns, 2 rows)
2. Same tags Articles (3 columns, 2 rows)
3. Same category articles (3 columns, 2 rows)

The idea is to keep the viewer on the page.

Not sure if I should be looking for a plugin?

Thanks

Benjamin

Please Log in to join the conversation.

5 years 6 months ago #124658 by Valentin
Replied by Valentin on topic Also on " domain name" plugin

artctrldel.info@gmail.com wrote: Hi Valentin,

I changed/overwrote mod_articles_popular aswell, unfortunally still no result.

Thanks again :)

Benjamin

Where can I preview this module?

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124660 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Below every article, watch image.

The module is called: Also on Art Ctrl Del.

Thanks

Ben

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago - 5 years 6 months ago #124692 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
For "Also on Art Ctrl Del" you are using Articles - Most Read , which can be overrided with "mod_articles_popular".

Go to Extensions > Templates > Templates (on the left of the screen)
Your template Details and Files
Look for the file pointed below and add your customizations in there:

UPDATE: be sure the articles listed in that module has an Intro image.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

This message has an attachment image.
Please log in or register to see it.

The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago - 5 years 6 months ago #124703 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I believe I already have.

Please watch image.

Thanks

Benjamin

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago #124704 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
OKAY, It seemed it was the intro images I couldn't figure, lol.

I still need buttons.

Anyways, now I have pictures. They're just to big and they're in 1 column.

Thanks :)

artctrldel.net/categories/art/217-men-and-cats-in-similar-poses

Please Log in to join the conversation.

5 years 6 months ago #124713 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,
good job!

Change the classes "spannumber" to "rt-grid-number", since your template uses its own CSS framework.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124726 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I changed the classes "spannumber" to "rt-grid-number" unfortunally no effect.

Thanks

Benjamin

www.artctrldel.net

Please Log in to join the conversation.

5 years 6 months ago #124729 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
I don't see the module published.

Be sure this:
<div class="span4">
...becomes:
<div class="rt-grid-4">

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 6 months ago #124741 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Val,

It helped a little, still looks funny though. Please watch image.
I turned the module of bc the page is live.

Thanks :)

Benjamin

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago #124766 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,

How many articles do you want to display?
The example from the tutorial suggest to display 3 in a single row.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #124794 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I would like to display 3x3. 3 rows and 3 columns.

Images are way to big, not sure if they resize when changing position?

Thanks

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #124796 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Displaying 3 rows would require more work on PHP to dynamically generate 3 rows with their 3 columns each one.

The images would match the available space on the column. So, the wider the column, the bigger the image.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #124797 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Maybe I need a module or plugin.

I want 3 modules in total.

1. 3x3 most popular
1. 3x3 same category
1. 3x3 same tags

What would you recomment?

Thanks

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #124821 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Do you want to display the same design for the 3 modules? An intro image with article's title

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #124837 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Yes,

And it would be a great help if the module could take an image from the article without selecting intro image everytime I make an article.

Thanks

:)

Please Log in to join the conversation.

5 years 5 months ago - 5 years 5 months ago #124846 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
The same approach from the template override should work. Still you need to check if the modules for categories and tags would allow displaying images.

Once the first override is solved, it would be helpful to tackle the next customizations.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #124870 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Great.

I need some PHP to create 3x3?

Thanks

Please Log in to join the conversation.

5 years 5 months ago #124889 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Yes, and this is the tricky part.
You need to use php to generate this HTML layout:

First row:
<div class="your-row">
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
</div>
Second row:
<div class="your-row">
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
</div>
Third row:
<div class="your-row">
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
     <div class="rt-grid-4">
          [ YOUR IMAGE LOADS HERE ]
     </div>
</div>

The 3 rows use exactly the same code, however the problem to solve here is how to dynamically open/close a new row after 3 columns.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #124986 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Interesting :)

So the PHP goes below the former code?

What do I need to do with: "YOUR IMAGE LOADS HERE"?

Thanks

Please Log in to join the conversation.

5 years 5 months ago #124997 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,

So the PHP goes below the former code?

That is the concern that needs to be solved. How to generate that structure with PHP (?)

What do I need to do with: "YOUR IMAGE LOADS HERE"?

Is a placeholder to point where the intro image should load. It will be replaced by:
<?php if( $images->image_intro ) : ?>
      <img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?>

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago - 5 years 5 months ago #125052 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

I posted the code below the first code.

The result is not as exspected, please have a look.

artctrldel.net/categories/digital-art/23...l-art-by-tony-futura

Benjamin

CODE:

<div class="your-row">
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
</div>

<div class="your-row">
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
</div>

<div class="your-row">
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
<div class="rt-grid-4">
[ <?php if( $images->image_intro ) : ?>
<img src="<?php echo $images->image_intro; ?>" alt="<?php echo htmlspecialchars($item->title); ?>" />
<?php endif; ?> ]
</div>
</div>

Please Log in to join the conversation.

5 years 5 months ago #125067 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,
Please remove "[" and "]" - those were used to illustrate the location of the intro images.

About displaying 3 rows with 3 columns each, I'm afraid as I stated before it requires other tweaks that are beyond the purpose of the tutorial. As long as you only decide to display 3 articles, the module will work fine.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #125091 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Can you recomment a module or plugin?

I have tried several without luck.

Thanks.

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #125095 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Look in the Joomla Extensions Directory , there are a lot of extensions that may works for you.

The only one I can recommend due experience to display articles in a grid, is this one I coded myself.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #125134 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
What an awesome module, it rocks !!

1. Is there any way I can make the images the same size? I don't want to stretch but a crop would be cool.

2. Can I change it to same tags/ same category/most popular? I choose all categories, descending, by order.

Just awesome (y)

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #125160 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Hi Benjamin,
I'm glad the suggestion is useful for you!

I guess you decided for Last Works module. The images will use the maximum available space on the column. Be sure your images are the same size, and the result will be consistent in this module.

The module can be customized through template overrides in some aspects like adding links to the titles, remove intro text, etc. However displaying articles based on tags, same category, etc. are beyond its purpose.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #125165 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

Can I make a max hight of 230 px?

Thanks

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #125169 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Yes, you can.

Find the selector to target the images and set that custom CSS.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 5 months ago #125174 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Haha...

I want a max hight on all the images from this module so they become more aligned.

Please have a look:

artctrldel.net/categories/photography/11...by-stephen-mcmennamy

Thanks

Please Log in to join the conversation.

5 years 5 months ago #125184 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
The tutorial above has all the guidelines to help you achieve what you need.

I'll place the example below:
.lastworks-container img {
    max-height: 230px;
}

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: artctrldel.info@gmail.com

Please Log in to join the conversation.

5 years 5 months ago #125787 by artctrldel.info@gmail.com
Replied by artctrldel.info@gmail.com on topic Also on " domain name" plugin
Hi Valentin,

Can I move the the title below the images and minimize the font?

Thanks

Benjamin

Please Log in to join the conversation.

5 years 5 months ago #125790 by Valentin
Replied by Valentin on topic Also on " domain name" plugin
Yes, with a template override move the title, and add custom CSS to minimize the font.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!