Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 5:56 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
Posted: Thu Nov 05, 2009 11:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
Hi guys, I'm looking for a module/component/whatever that allows me to set an image for any article I add, and in a page to show these images (for example in a column, in vertical) that if clicked redirect me to the article.

Is this possible? How can I do that?

Thank you in advance, Paolo.


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 2:13 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Anything's possible with software, Pablo.

If I understand correctly, you want to write a module with images where each image links to a particular article.

Easy enough. There are already several posts on these forums and elsewhere telling how to create a static module into which you can put whatever content you like. Merely put in your images and surround each with anchor tags using hrefs linked to your article.

I'll show one linked images as an example -
Code:
<a href="index.php?option=com_content&view=article&id=47"><img src="images/stories/myimage.jpg alt="apple" title="pear"></a>

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Fri Nov 06, 2009 12:09 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
compusolver wrote:
Anything's possible with software, Pablo.

If I understand correctly, you want to write a module with images where each image links to a particular article.

Easy enough. There are already several posts on these forums and elsewhere telling how to create a static module into which you can put whatever content you like. Merely put in your images and surround each with anchor tags using hrefs linked to your article.

I'll show one linked images as an example -
Code:
<a href="index.php?option=com_content&view=article&id=47"><img src="images/stories/myimage.jpg alt="apple" title="pear"></a>

All right thank you.
Just another question: how can I get the Joomla URL?

I mean, when I set the src="website.com/images/etc.png", is there a variable or sth that I can use instead of rewriting "website.com"?


EDIT: I was trying to create an menu item that redirect to a joomla page where there are only some modules that I want to display -so any article, section listening etc.

Is it possible?


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 3:02 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Code:
src="website.com/images/etc.png"

Do not include domain name unless image is off-site. Best to use relative paths:

Code:
src="images/etc.png"


Quote:
I was trying to create an menu item that redirect to a joomla page where there are only some modules that I want to display -so any article, section listening etc.


From the backend administration page, you don't set which modules display from the menu item page - you set which menu items a module will display in within the module parameters settings. (Use Ctrl-click for multiple items).

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Fri Nov 06, 2009 11:53 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
compusolver wrote:
Code:
src="website.com/images/etc.png"

Do not include domain name unless image is off-site. Best to use relative paths:

Code:
src="images/etc.png"


Quote:
I was trying to create an menu item that redirect to a joomla page where there are only some modules that I want to display -so any article, section listening etc.


From the backend administration page, you don't set which modules display from the menu item page - you set which menu items a module will display in within the module parameters settings. (Use Ctrl-click for multiple items).

All right, but how can I create a blank page that I can use when I set the module?


Top
  E-mail  
 
Posted: Sat Nov 07, 2009 12:12 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Quote:
All right, but how can I create a blank page that I can use when I set the module?

Uh, lo ciento, pero no intiendo!
Verstehe nicht.
Huh???

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Sat Nov 07, 2009 9:26 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
compusolver wrote:
Quote:
All right, but how can I create a blank page that I can use when I set the module?

Uh, lo ciento, pero no intiendo!
Verstehe nicht.
Huh???

I'm Italian, but it's all right.

I don't speak English very well, but it was late too :D
You told me that when I set a module (the preferences, etc) I can choose ("use") the pages where it will be displayed on, am I right?

I just want to know how I can create a blank page, with no articles, no section listings, that I can select when I set the module. I mean, a "blank page" because then I want that just the module will be shown. Do you get this?


Top
  E-mail  
 
Posted: Sat Nov 07, 2009 3:37 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Quote:
I mean, a "blank page" because then I want that just the module will be shown. Do you get this?

Your English is perfectly clear. It's the "concept" that has me scratching my head.

I do not get this.

I don't think there's anything wrong with our English here, but maybe with our "Joomla". Let me make sure we're using the same definition for some terms -

"module" - applet that displays content in a position other than the main content area (i.e.: top, left, right, bottom, etc., etc.)

"blank page" - I am interpreting this as meaning having nothing in your main content area which is normally controlled by com_content, but can be whichever component you are displaying if it is not com_content.

Now, since you have not specified a component, I assume you are using com_content for your "blank page". And here is where you want only a single module to display? What about your page heading, logo images, site name, etc., etc.?

Either you haven't given me enough information, or we are using different definitions for our terms or I haven't had enough coffee this morning.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Sun Nov 08, 2009 12:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
compusolver wrote:
Quote:
I mean, a "blank page" because then I want that just the module will be shown. Do you get this?

Your English is perfectly clear. It's the "concept" that has me scratching my head.

I do not get this.

I don't think there's anything wrong with our English here, but maybe with our "Joomla". Let me make sure we're using the same definition for some terms -

"module" - applet that displays content in a position other than the main content area (i.e.: top, left, right, bottom, etc., etc.)

"blank page" - I am interpreting this as meaning having nothing in your main content area which is normally controlled by com_content, but can be whichever component you are displaying if it is not com_content.

Now, since you have not specified a component, I assume you are using com_content for your "blank page". And here is where you want only a single module to display? What about your page heading, logo images, site name, etc., etc.?

Either you haven't given me enough information, or we are using different definitions for our terms or I haven't had enough coffee this morning.

I think that's my fault: I used the term "module" but I'm not sure that is what I want :D

I explain you what I would like to create: I want a normal page, like the homepage, with logo /header, footer, menu on the left or at the top (I know how to do that), but instead of showing in the content space an article or a section listing, I want to show some images that will redirect each one to a different article.
Is there an "extension"? Is it a core feature of Joomla? In both cases, how to do that?

Thank you.


Top
  E-mail  
 
Posted: Sun Nov 08, 2009 1:56 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
You could create a custom component, but I don't see a need to do that. Why not just have your home page content have the images you want, linked to the articles you want? If I am (finally) understanding, anyone can do this with the default Joomla install. Just edit your home page - using layers or tables, to have rows and columns of images and link each image to its target article.

If you use layers, you may want to use a web page editor program like Dreamweaver, then copy paste the code between the body tags. (turn off your Joomla editor first, so your code won't be stripped).

If you use image mapping and Javascript, you would have to go to greater lengths, but those aren't necessary.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Sun Nov 08, 2009 6:52 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 19, 2009 10:22 am
Posts: 10
compusolver wrote:
You could create a custom component, but I don't see a need to do that. Why not just have your home page content have the images you want, linked to the articles you want? If I am (finally) understanding, anyone can do this with the default Joomla install. Just edit your home page - using layers or tables, to have rows and columns of images and link each image to its target article.

If you use layers, you may want to use a web page editor program like Dreamweaver, then copy paste the code between the body tags. (turn off your Joomla editor first, so your code won't be stripped).

If you use image mapping and Javascript, you would have to go to greater lengths, but those aren't necessary.

The homepage was just an example, I don't want to edit the homepage.

If I want do add the images, using the code, where should I go?
Have I to add them in an article? Or is there another way?


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

Quick reply

 



Who is online

Users browsing this forum: gandalf974, hfhdfdfg07, jmuehleisen, KookaDOO, PatPeter, rahul mathankar, ryan tung, thanesh, Yahoo [Bot] and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group