Login / Register






Lost Password?
No account yet? Register

Terms & Conditions

  • free for any usage
  • you can modify templates in any way (including footer links)
  • you cannot redistribute templates in any website
Read more...
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Possible to have mainpic.jpg at all pages? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Possible to have mainpic.jpg at all pages?
#317
olafos (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Possible to have mainpic.jpg at all pages? 4 Months, 1 Week ago Karma: 0  
As far as I can see, mainpic.jpg only appears at front page. Is it possible to have a picture in this position, and also have three columns? When I publish something to right position, I get three columns - but not at front page.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#347
suski (Admin)
Yeah!
Admin
Posts: 74
graph
User Offline Click here to see the profile of this user
Gender: Female Estime Templates Location: Helsinki Birthdate: 1000-01-01
Re:Possible to have mainpic.jpg at all pages? 4 Months ago Karma: 0  
This is the idea of the template. Frontpage will have an image, other pages will have more space for content.

If you want the mainpic for all pages, you need to modify the template code in templates/simplify/index.php.

Uncomment the line
<?php if($front==1){ // first page ?>

and the closing if tag for this, and image will be available for all pages.
 
Report to moderator   Logged Logged  
 
www.estimetemplates.com

Estime templates is produced by Estime.
  The administrator has disabled public write access.
#352
Kluudi (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Possible to have mainpic.jpg at all pages? 4 Months ago Karma: 0  
I would like also different pics in the Main-Content. Its possible the set as the mainpic a Modulplace ? Like this herer? http://www.danaoscinema.gr/ or this here:http://www.ultraknowledge.com/ thats great or this:http://www.euroadventure.net/

with kind regards from germany
Kluudi
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#449
zuze (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Possible to have mainpic.jpg at all pages? 3 Months, 1 Week ago Karma: 0  
I would love for this image to be set up as a module position, so I can apply some of the flash image modules to have image change as user comes back.
Thank you! A great template!!!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#534
mapi (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Possible to have mainpic.jpg at all pages? 2 Months, 1 Week ago Karma: 1  
Kluudi wrote:
QUOTE:
I would like also different pics in the Main-Content. Its possible the set as the mainpic a Modulplace ? Like this herer? http://www.danaoscinema.gr/ or this here:http://www.ultraknowledge.com/ thats great:-) or this:http://www.euroadventure.net/

with kind regards from germany
Kluudi


Change :

Code:

<img src="<?php echo $mosConfig_live_site;?>/templates/simplify_black/images/mainpic.jpg" width="683" height="258" alt="<?php echo $mosConfig_sitename; ?>" />
by this :
Code:

<img src="<?php echo $mosConfig_live_site;?>/templates/simplify_black/images/mainpic<?php echo rand(1,5); ?>.jpg" alt="" />
then change the names of the pictures to mainpic1.jpg to mainpic5.jpg. If you want more or less then 5 pictures change the 5 in the
Code:

echo rand(1,5)
You can see it in action at my page : http://www.spaansekoffie.com
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#560
leej00 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Possible to have mainpic.jpg at all pages? 1 Month, 4 Weeks ago Karma: 0  
suski wrote:
QUOTE:
This is the idea of the template. Frontpage will have an image, other pages will have more space for content.

If you want the mainpic for all pages, you need to modify the template code in templates/simplify/index.php.

Uncomment the line
<?php if($front==1){ // first page ?>

and the closing if tag for this, and image will be available for all pages.


ive tried doing the opposite, not showing the main pic on the other pages, but it seems to give me an error.
Also my default was showing the main pic in all the pages.
Is there a way to show the main pic only on the frontpage?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop